-
-
Notifications
You must be signed in to change notification settings - Fork 14.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
llvmPackages_latest: 14 -> 15 #213202
llvmPackages_latest: 14 -> 15 #213202
Conversation
@vcunat Can we have a separate Hyrda jobset for this PR? |
I don't think there should be as many rebuilds, since mesa now points to llvmPackages_15 in staging. Could you push the commit again? |
701b3ad
to
31db9e9
Compare
Oh, I didn't notice my subscription here was because of a mention. This doesn't cause that many rebuilds, but it's based on some staging commit for which we don't have binaries, so the jobset would be rebuilding everything (most likely). What about basing this on current EDIT: I forgot to write that mesa is switched at that point already. |
Now |
31db9e9
to
8b0b2b1
Compare
OfBorg still showed around 4.7k rebuilds (total summed over all platforms). Anyway, for fixing regressions I rebased on an OK EDIT: marked as "draft" to make it clear that this shouldn't be merged yet (and probably not to |
It looks like a lot of the failures are coming from @vcunat is it okay if I hack on stuff on this branch for now? Not sure if the Hydra jobset was a one-off thing or if it'll trigger on updates to this PR. |
Yes, I meant for this branch to keep getting fixes on top, and Hydra picking them up. |
Current status: 35 new failures. Pretty much all of these (excluding timeouts) look like they're coming from EDIT: the variable in question and it's usage is here, Clang 15's EDIT: I misunderstood; the lint is firing on the first assignment of |
@vcunat I'm waiting on Hydra to confirm but I think all the new failures caused by this PR have been resolved. How should we proceed from here? Should we have Hydra test |
I could test Intel (Tiger Lake) if it doesn't need restart of X and someone tells me what to test. |
Basically anything involving OpenCL compute. Raytracing would also be nice but you don't have that. |
See here for context: #213202 (comment)
this was backported to `llvmPackages_15` in 81ef82a
this should let us avoid version mismatch between libclc and the LLVM version it uses; i.e. trying to build libclc 15.0.6 with LLVM 14.x note the TODO within; `llvmPackages_git.libclc` does not currently eval
hopefully this will catch issues like the macOS rpath problem
See here for context: NixOS#213202 (comment)
8c626db
to
fc726d5
Compare
Some swiftPackages cannot be built with LLVM15 on aarch64-darwin for now: > Latest run: https://hydra.nixos.org/eval/1792520?compare=1792488#tabs-now-fail > It looks like all of the remaining (38) failures can be traced back to: > swiftPackages.XCTest on aarch64-darwin (seems to have timed out but there's no log output..) > edit: when building locally this (or swift anyways) does fail to build > swiftPackages.swift-unwrapped on x86_64-darwin: log here, missing intrinsics for __builtin_elementwise_add_sat/__builtin_elementwise_sub_sat
Swift pinned to LLVM14, testing the OpenCL stuff and merging into staging if it's okay with everyone? |
We decided to wait probably past 23.05 for this PR, it could be eventually backported if we justify security benefits or important fixes. |
Assuming #229852 goes through I'll update this PR to bump the now pinned LLVM version in all the packages that successfully built with There are also a few extant changes to the LLVM package sets on this branch that we do actually want (and that should be applied to LLVM 16). |
After this is merged, is it planned to bump llvmPackages from 11 to 15 on Linux? Or to put it another way, what should Darwin be doing to track this? The stdenv currently hardcodes a version (11.1.0). #229786 decouples the version used in the stdenv from the one in the bootstrap LLVM, so it should be able to track the latest more easily. I’m implementing the bump by updating llvmPackages on Darwin, but I’d like to follow whatever the recommended pattern is for tracking the latest LLVM if that is intended to stay at the minimally supported version. |
By the way, the title is no longer accurate: |
Thanks. Is this issue still applicable? Is the scope changing to something else now that llvmPackages_latest is updated? I talked with @alyssais and @toonn on Matrix about what to do for Darwin. The approach I’d like to take is to use the value of llvmPackages_lateset at the time of the bump. I understand now that tracking llvmPackages_latest directly would be a bad idea. I assume it would be prudent to wait on LLVM to finish releasing the scheduled patch releases to keep churn down and avoid imposing a requirement the updates go through staging because of Darwin (though it may not matter by the time the requisite PRs for #234710 are merged). |
The jobsets is still present and not disabled in Hydra |
OK, thanks. I cleaned that up now. (disabled + hidden; hydra doesn't really do deletions) |
Description of changes
Follow up to #194634 that targets
staging
and bumpsllvmPackages_latest
.Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)nixos/doc/manual/md-to-db.sh
to update generated release notes