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
llvm7 #46888
llvm7 #46888
Conversation
This can all be squashed :). |
Also fixes #46854 . |
Fixing hashes shortly... |
Success on x86_64-linux (full log) Attempted: llvm-manpages Partial log (click to expand)
|
Success on x86_64-darwin (full log) Attempted: llvm-manpages Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: llvm-manpages Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: llvm-manpages Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: llvm-manpages Partial log (click to expand)
|
Success on x86_64-darwin (full log) Attempted: llvm-manpages Partial log (click to expand)
|
Success on x86_64-darwin (full log) Attempted: llvm-manpages Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: llvm-manpages Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: llvm-manpages Partial log (click to expand)
|
That's the least important part of this, borg! Haha. @GrahamcOfBorg build llvm_7 clang_7 |
Success on x86_64-darwin (full log) Attempted: llvm-manpages Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: llvm-manpages Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: llvm-manpages Partial log (click to expand)
|
Timed out, unknown build status on x86_64-linux (full log) Attempted: llvm_7, clang_7 Partial log (click to expand)
|
Timed out, unknown build status on x86_64-darwin (full log) Attempted: llvm_7, clang_7 Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: llvm_7, clang_7 Partial log (click to expand)
|
1e47914
to
386d82e
Compare
Success on x86_64-darwin (full log) Attempted: llvm-manpages Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: llvm-manpages Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: llvm-manpages Partial log (click to expand)
|
Thanks for being on top of this, @dtzWill! Let's see which project can land this first, NixOS or Homebrew: Homebrew/homebrew-core#32233 🐎 🏁 |
FWIW, I think mostly this needs a Darwin tester, possibly someone to fixup the codesign patch but that might be something "anyone" can do. That said, having any actual in-tree users might help determine if things work or not :). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The darwin clang build fails with
Scanning dependencies of target clangd
[ 98%] Building CXX object tools/extra/clangd/tool/CMakeFiles/clangd.dir/ClangdMain.cpp.o
[100%] Linking CXX executable ../../../../bin/clangd
ld: library not found for -latomic
clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [tools/extra/clangd/tool/CMakeFiles/clangd.dir/build.make:109: bin/clangd] Error 1
make[1]: *** [CMakeFiles/Makefile2:8044: tools/extra/clangd/tool/CMakeFiles/clangd.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
Err :/. No idea why that'd be happening, don't suppose that's a "add darwin.libatomic as buildInput" sort of thing? Wishful thinking :). Rough that it happened at 98% hehe. Don't mean to be useless but not sure what to suggest for that.
I think compiler-rt has atomics, so maybe that's not being found or plumbed in properly...? Thanks for giving it a go, sorry about the result! |
Success on x86_64-darwin (full log) Attempted: llvm-manpages Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: llvm-manpages Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: llvm-manpages Partial log (click to expand)
|
Fwiw using mess built with this currently, nothing exploded yet ;). Might end up merging without Darwin support, let that get handled when someone with ability and interest finds it worth investigating. I expect it to be relatively simple TBH, but I'm excited for llvm7 goodness on master in the meantime :D. |
no complaints here; I have no use case for darwin support of llvm7 and I'm sure someone who does can pick up the work from here. |
Copy of 6 + updated hashes
Quite possibly this is not right.
Pretty sure they did last time too :).
See llvm 2a6cf85828509e89e18739e5f4b9a958820d66d4
f6c9c62
to
9fe245d
Compare
@GrahamcOfBorg build llvm_7 |
Failure on x86_64-darwin (full log) Attempted: llvm-manpages Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: llvm-manpages Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: llvm-manpages Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: llvm_7 Partial log (click to expand)
|
Timed out, unknown build status on x86_64-darwin (full log) Attempted: llvm_7 Partial log (click to expand)
|
I've been using mesa built with this-- so other than Darwin touchups I think this is good-to-go. Nothing depends on this yet, so merging so folks can test and projects can give it a try :). Apologies for any issues, can't promise I can fix them but please cc me if you encounter anything looking like a packaging problem. Thanks! |
Timed out, unknown build status on x86_64-linux (full log) Attempted: llvm_7 Partial log (click to expand)
|
Patches for darwin and musl need fixing,
and of course general testing :).
Fixes #46805.
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)