-
-
Notifications
You must be signed in to change notification settings - Fork 15.4k
llvmPackages: change default to 3.9 #20461
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
Conversation
Can you actually make this conditional on darwin and leave it alone (i.e., still at 3.7) on that platform? I'm trying to upgrade to 3.8 right now but there are issues we've been encountering with c++ compatibility and so on. |
246649d
to
61819e0
Compare
@copumpkin done |
Thanks! I assume you've built whatever depends on it on Linux? I vaguely remember The issues with LLVM have mostly been around certain changes in libc++ that happened in 3.8, and made several packages stop compiling with it. Those issues are obviously exacerbated by Darwin using LLVM to build everything, but I imagine you might find similar issues on whichever packages build with it on Linux too. |
|
Hmm, I must be misremembering. Either way, |
Running it now. btw, it always takes long on |
|
Yay for |
@copumpkin what are the issues with 3.8 on darwin? |
@shlevy http://hydra.nixos.org/eval/1304050?compare=staging is somewhat informative for figuring that out, although I wish we could only look for red crosses |
@shlevy there were some bdb incompatibilities that @LnL7 fixed here (and in similar patches for other versions): https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/libraries/db/clang-5.3.patch |
I also discovered yesterday that removing the |
@LnL7 don't we want dbm-like stuff though? |
It's some sort of legacy interface apparently, so hopefully not. If something needs it I would assume that the current patch also breaks it. |
Could someone help me find |
Mesa certainly depends on LLVM, but we have already been using 3.9 in mesa for a long time: nixpkgs/pkgs/top-level/all-packages.nix Line 8499 in 2326c8d
|
|
It seems not to be any mass rebuild at all.
I switched |
obsolete |
Motivation for this change
See #19195.
Things done
(nix.useSandbox on NixOS,
or option
build-use-sandbox
innix.conf
on non-NixOS)
nix-shell -p nox --run "nox-review wip"
./result/bin/
)Note that
llvmPackages
andllvmPackagesSelf
were out of sync—I'm not sure if that was intended. (If that was, we should add a comment explaining this.)That's probably a mass rebuild (at least for darwin), so opening against staging.