-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
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
treewide: drop LLVM11 #283591
treewide: drop LLVM11 #283591
Conversation
as per @reckenrode
so that will need to be changed from llvmPackages_16. |
To elaborate on that a bit, I want to avoid assumptions about the bootstrap compiler lest it cause trouble for future LLVM version updates for Darwin. In theory, it only matters if the bootstrap tools are ever updated, and the breakage would have to happen between now and when the switch is made to LLVM 18., so the risk is low. It may not be worth changing the version if it creates more work. (Assuming the SDK issue with libc++ can be addressed.) |
Please be aware that if you remove LLVM 11, you will need to disable Terra on Linux ARM due to this outstanding issue: terralang/terra#597 On every system other than Linux ARM, Terra can go up to LLVM 17 if needed, but the Linux ARM bug keeps that platform on LLVM 11. |
the build fails when trying to compile with an llvm above 13. eg, with llvm16CMake Error at src/CMakeLists.txt:229 (target_link_libraries): Target "TerraLibraryShared" links to: |
@a-n-n-a-l-e-e let me know if I should move this discussion to a different thread; until then I'll just reply here. That looks like a missing dependency. In general, Terra only relies on a minimal LLVM build. (For our builds, I usually turn off all the optional build flags.) It's fine if you built LLVM with optional dependencies but then that means you'll have to add those dependencies to Terra. I'm not an expert on what this I see I forgot to release the current support for LLVM 17 in Terra, which I'll probably do shortly. Until then, version 1.1.1 supports up to LLVM 16. |
thanks @elliottslaughter. PR updated with llvm16. just needed to add libffi and update a path. |
Description of changes
unpin llvm11 from freshbootstraptools and drop LLVM11. i have a PR in review to update the bootstrap-tools for darwin which should be merged soonish #295557
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.