Skip to content
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

Merged
merged 12 commits into from Sep 23, 2018
Merged

llvm7 #46888

merged 12 commits into from Sep 23, 2018

Conversation

dtzWill
Copy link
Member

@dtzWill dtzWill commented Sep 19, 2018

Patches for darwin and musl need fixing,
and of course general testing :).

Fixes #46805.

  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Fits CONTRIBUTING.md.

@dtzWill
Copy link
Member Author

dtzWill commented Sep 19, 2018

This can all be squashed :).

@dtzWill
Copy link
Member Author

dtzWill commented Sep 19, 2018

Also fixes #46854 .

@dtzWill
Copy link
Member Author

dtzWill commented Sep 19, 2018

Fixing hashes shortly...

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: llvm-manpages

Partial log (click to expand)

these paths will be fetched (0.05 MiB download, 0.06 MiB unpacked):
  /nix/store/r76j5psmbiaxazlzbrqbcp8lfdk3qmzz-llvm-manpages-5.0.2
copying path '/nix/store/r76j5psmbiaxazlzbrqbcp8lfdk3qmzz-llvm-manpages-5.0.2' from 'https://cache.nixos.org'...
/nix/store/r76j5psmbiaxazlzbrqbcp8lfdk3qmzz-llvm-manpages-5.0.2

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Attempted: llvm-manpages

Partial log (click to expand)

-- Installing: /nix/store/gcnjmmkwj87m4ga484lg1rkm70g8gb9v-llvm-manpages-5.0.2/share/man/man1/llvm-stress.1
-- Installing: /nix/store/gcnjmmkwj87m4ga484lg1rkm70g8gb9v-llvm-manpages-5.0.2/share/man/man1/llvm-symbolizer.1
-- Installing: /nix/store/gcnjmmkwj87m4ga484lg1rkm70g8gb9v-llvm-manpages-5.0.2/share/man/man1/opt.1
-- Installing: /nix/store/gcnjmmkwj87m4ga484lg1rkm70g8gb9v-llvm-manpages-5.0.2/share/man/man1/tblgen.1
make: Leaving directory '/private/tmp/nix-build-llvm-manpages-5.0.2.drv-0/llvm/build/docs'
post-installation fixup
gzipping man pages under /nix/store/gcnjmmkwj87m4ga484lg1rkm70g8gb9v-llvm-manpages-5.0.2/share/man/
strip is /nix/store/2ws9cmamvr7xyvdg4d2nnd1bmr1zjrrq-bootstrap-tools/bin/strip
patching script interpreter paths in /nix/store/gcnjmmkwj87m4ga484lg1rkm70g8gb9v-llvm-manpages-5.0.2
/nix/store/gcnjmmkwj87m4ga484lg1rkm70g8gb9v-llvm-manpages-5.0.2

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: llvm-manpages

Partial log (click to expand)

-- Installing: /nix/store/d1b4ifpvvql8xcmgbafw1wdcz0mkhnid-llvm-manpages-5.0.2/share/man/man1/llvm-build.1
-- Installing: /nix/store/d1b4ifpvvql8xcmgbafw1wdcz0mkhnid-llvm-manpages-5.0.2/share/man/man1/lit.1
make: Leaving directory '/build/llvm/build/docs'
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/d1b4ifpvvql8xcmgbafw1wdcz0mkhnid-llvm-manpages-5.0.2
gzipping man pages under /nix/store/d1b4ifpvvql8xcmgbafw1wdcz0mkhnid-llvm-manpages-5.0.2/share/man/
strip is /nix/store/y4ymnvgxygpq05h03kyzbj572zmh6zla-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/d1b4ifpvvql8xcmgbafw1wdcz0mkhnid-llvm-manpages-5.0.2
checking for references to /build in /nix/store/d1b4ifpvvql8xcmgbafw1wdcz0mkhnid-llvm-manpages-5.0.2...
/nix/store/d1b4ifpvvql8xcmgbafw1wdcz0mkhnid-llvm-manpages-5.0.2

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: llvm-manpages

Partial log (click to expand)

/nix/store/d1b4ifpvvql8xcmgbafw1wdcz0mkhnid-llvm-manpages-5.0.2

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: llvm-manpages

Partial log (click to expand)

these paths will be fetched (0.05 MiB download, 0.06 MiB unpacked):
  /nix/store/r76j5psmbiaxazlzbrqbcp8lfdk3qmzz-llvm-manpages-5.0.2
copying path '/nix/store/r76j5psmbiaxazlzbrqbcp8lfdk3qmzz-llvm-manpages-5.0.2' from 'https://cache.nixos.org'...
/nix/store/r76j5psmbiaxazlzbrqbcp8lfdk3qmzz-llvm-manpages-5.0.2

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Attempted: llvm-manpages

Partial log (click to expand)

-- Installing: /nix/store/gcnjmmkwj87m4ga484lg1rkm70g8gb9v-llvm-manpages-5.0.2/share/man/man1/llvm-dwarfdump.1
-- Installing: /nix/store/gcnjmmkwj87m4ga484lg1rkm70g8gb9v-llvm-manpages-5.0.2/share/man/man1/llvm-config.1
-- Installing: /nix/store/gcnjmmkwj87m4ga484lg1rkm70g8gb9v-llvm-manpages-5.0.2/share/man/man1/llvm-link.1
-- Installing: /nix/store/gcnjmmkwj87m4ga484lg1rkm70g8gb9v-llvm-manpages-5.0.2/share/man/man1/llvm-dis.1
make: Leaving directory '/private/tmp/nix-build-llvm-manpages-5.0.2.drv-0/llvm/build/docs'
post-installation fixup
gzipping man pages under /nix/store/gcnjmmkwj87m4ga484lg1rkm70g8gb9v-llvm-manpages-5.0.2/share/man/
strip is /nix/store/2ws9cmamvr7xyvdg4d2nnd1bmr1zjrrq-bootstrap-tools/bin/strip
patching script interpreter paths in /nix/store/gcnjmmkwj87m4ga484lg1rkm70g8gb9v-llvm-manpages-5.0.2
/nix/store/gcnjmmkwj87m4ga484lg1rkm70g8gb9v-llvm-manpages-5.0.2

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Attempted: llvm-manpages

Partial log (click to expand)

/nix/store/gcnjmmkwj87m4ga484lg1rkm70g8gb9v-llvm-manpages-5.0.2

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: llvm-manpages

Partial log (click to expand)

/nix/store/d1b4ifpvvql8xcmgbafw1wdcz0mkhnid-llvm-manpages-5.0.2

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: llvm-manpages

Partial log (click to expand)

/nix/store/r76j5psmbiaxazlzbrqbcp8lfdk3qmzz-llvm-manpages-5.0.2

@dtzWill
Copy link
Member Author

dtzWill commented Sep 19, 2018

That's the least important part of this, borg! Haha.

@GrahamcOfBorg build llvm_7 clang_7

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Attempted: llvm-manpages

Partial log (click to expand)

/nix/store/gcnjmmkwj87m4ga484lg1rkm70g8gb9v-llvm-manpages-5.0.2

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: llvm-manpages

Partial log (click to expand)

/nix/store/r76j5psmbiaxazlzbrqbcp8lfdk3qmzz-llvm-manpages-5.0.2

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: llvm-manpages

Partial log (click to expand)

/nix/store/d1b4ifpvvql8xcmgbafw1wdcz0mkhnid-llvm-manpages-5.0.2

@GrahamcOfBorg
Copy link

Timed out, unknown build status on x86_64-linux (full log)

Attempted: llvm_7, clang_7

Partial log (click to expand)

Scanning dependencies of target llvm-lto2
[ 81%] Building CXX object tools/llvm-lto2/CMakeFiles/llvm-lto2.dir/llvm-lto2.cpp.o
[ 81%] Building CXX object tools/llvm-cov/CMakeFiles/llvm-cov.dir/SourceCoverageViewHTML.cpp.o
[ 81%] Building CXX object tools/llvm-cov/CMakeFiles/llvm-cov.dir/SourceCoverageViewText.cpp.o
[ 81%] Linking CXX executable ../../bin/llvm-link
building of '/nix/store/6ycncinl0ha1n8wh38sa7c2bcpryq0jd-llvm-7.0.0.drv' timed out after 1800 seconds
cannot build derivation '/nix/store/v0cirpskacgl9h4sw1xmj89c2w5akg3n-clang-7.0.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/ndr27a6hfyi8z450v9px8byn5w3ghahf-compiler-rt-7.0.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/kf3d03ys46gmj67yicmmjyyc6jkbfjji-clang-wrapper-7.0.0.drv': 2 dependencies couldn't be built
error: build of '/nix/store/6ycncinl0ha1n8wh38sa7c2bcpryq0jd-llvm-7.0.0.drv', '/nix/store/kf3d03ys46gmj67yicmmjyyc6jkbfjji-clang-wrapper-7.0.0.drv' failed

@GrahamcOfBorg
Copy link

Timed out, unknown build status on x86_64-darwin (full log)

Attempted: llvm_7, clang_7

Partial log (click to expand)

[ 26%] Building CXX object lib/Analysis/CMakeFiles/LLVMAnalysis.dir/AliasAnalysisEvaluator.cpp.o
[ 27%] Building CXX object lib/Analysis/CMakeFiles/LLVMAnalysis.dir/AliasAnalysisSummary.cpp.o
[ 27%] Building CXX object lib/Analysis/CMakeFiles/LLVMAnalysis.dir/AliasSetTracker.cpp.o
[ 27%] Building CXX object lib/Analysis/CMakeFiles/LLVMAnalysis.dir/Analysis.cpp.o
[ 27%] Building CXX object lib/Analysis/CMakeFiles/LLVMAnalysis.dir/AssumptionCache.cpp.o
building of '/nix/store/k8nh0xgag0ss4959qqaq9p4x70015vav-llvm-7.0.0.drv' timed out after 1800 seconds
cannot build derivation '/nix/store/i9jggy1llh1r8k2g809zxpjsg8j86r28-clang-7.0.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/yjsf3wj5x7n621js4wixnspgvql11m5n-compiler-rt-7.0.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/bf2lf6lrbnnlmh5wq875asm13pkclbjd-clang-wrapper-7.0.0.drv': 2 dependencies couldn't be built
error: build of '/nix/store/bf2lf6lrbnnlmh5wq875asm13pkclbjd-clang-wrapper-7.0.0.drv', '/nix/store/k8nh0xgag0ss4959qqaq9p4x70015vav-llvm-7.0.0.drv' failed

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: llvm_7, clang_7

Partial log (click to expand)

updateAutotoolsGnuConfigScriptsPhase
configuring
no configure script, doing nothing
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/i14816c5h5h6z4j8zxmxcjdcyxkkqjh4-clang-wrapper-7.0.0
patching script interpreter paths in /nix/store/i14816c5h5h6z4j8zxmxcjdcyxkkqjh4-clang-wrapper-7.0.0
checking for references to /build in /nix/store/i14816c5h5h6z4j8zxmxcjdcyxkkqjh4-clang-wrapper-7.0.0...
/nix/store/p2vfy0mp7l2nsmazhmm9rfq78wbqj8nr-llvm-7.0.0
/nix/store/i14816c5h5h6z4j8zxmxcjdcyxkkqjh4-clang-wrapper-7.0.0

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Attempted: llvm-manpages

Partial log (click to expand)

/nix/store/gcnjmmkwj87m4ga484lg1rkm70g8gb9v-llvm-manpages-5.0.2

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: llvm-manpages

Partial log (click to expand)

/nix/store/d1b4ifpvvql8xcmgbafw1wdcz0mkhnid-llvm-manpages-5.0.2

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: llvm-manpages

Partial log (click to expand)

/nix/store/r76j5psmbiaxazlzbrqbcp8lfdk3qmzz-llvm-manpages-5.0.2

@andrewrk
Copy link
Member

andrewrk commented Sep 19, 2018

Thanks for being on top of this, @dtzWill!

Let's see which project can land this first, NixOS or Homebrew: Homebrew/homebrew-core#32233

🐎 🏁

@dtzWill
Copy link
Member Author

dtzWill commented Sep 19, 2018

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 :).

Copy link
Member

@LnL7 LnL7 left a 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

@dtzWill
Copy link
Member Author

dtzWill commented Sep 20, 2018

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.

  • Maybe disable clangd? :/
  • Determine why libatomic isnt available (or why searched for if atomics are provided under a different lib name)?

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!

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Attempted: llvm-manpages

Partial log (click to expand)

/nix/store/gcnjmmkwj87m4ga484lg1rkm70g8gb9v-llvm-manpages-5.0.2

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: llvm-manpages

Partial log (click to expand)

/nix/store/r76j5psmbiaxazlzbrqbcp8lfdk3qmzz-llvm-manpages-5.0.2

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: llvm-manpages

Partial log (click to expand)

-- Installing: /nix/store/d1b4ifpvvql8xcmgbafw1wdcz0mkhnid-llvm-manpages-5.0.2/share/man/man1/llvm-build.1
-- Installing: /nix/store/d1b4ifpvvql8xcmgbafw1wdcz0mkhnid-llvm-manpages-5.0.2/share/man/man1/lit.1
make: Leaving directory '/build/llvm/build/docs'
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/d1b4ifpvvql8xcmgbafw1wdcz0mkhnid-llvm-manpages-5.0.2
gzipping man pages under /nix/store/d1b4ifpvvql8xcmgbafw1wdcz0mkhnid-llvm-manpages-5.0.2/share/man/
strip is /nix/store/y4ymnvgxygpq05h03kyzbj572zmh6zla-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/d1b4ifpvvql8xcmgbafw1wdcz0mkhnid-llvm-manpages-5.0.2
checking for references to /build in /nix/store/d1b4ifpvvql8xcmgbafw1wdcz0mkhnid-llvm-manpages-5.0.2...
/nix/store/d1b4ifpvvql8xcmgbafw1wdcz0mkhnid-llvm-manpages-5.0.2

@dtzWill
Copy link
Member Author

dtzWill commented Sep 21, 2018

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.

@andrewrk
Copy link
Member

Might end up merging without Darwin support

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.

@dtzWill
Copy link
Member Author

dtzWill commented Sep 23, 2018

@GrahamcOfBorg build llvm_7

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Attempted: llvm-manpages

Partial log (click to expand)

copying path '/nix/store/4awyl6g81dxidwqp2vg33n7bkrdgwyjd-python2.7-typing-3.6.6' from 'https://cache.nixos.org'...
copying path '/nix/store/4zwav0zzanc49arj8q2bsl2zm3k2lnid-python2.7-Sphinx-1.7.8' from 'https://cache.nixos.org'...
building '/nix/store/m4bhlf4w0qn5lw8pckxigskqfkhh6h3a-llvm-manpages-5.0.2.drv'...
/nix/store/mldmlv1q0bg0a7brxz8mdck2mqfasz5f-bootstrap-stage3-binutils-wrapper/nix-support/setup-hook: fork: retry: Resource temporarily unavailable
/nix/store/mldmlv1q0bg0a7brxz8mdck2mqfasz5f-bootstrap-stage3-binutils-wrapper/nix-support/setup-hook: fork: retry: Resource temporarily unavailable
/nix/store/mldmlv1q0bg0a7brxz8mdck2mqfasz5f-bootstrap-stage3-binutils-wrapper/nix-support/setup-hook: fork: retry: Resource temporarily unavailable
/nix/store/mldmlv1q0bg0a7brxz8mdck2mqfasz5f-bootstrap-stage3-binutils-wrapper/nix-support/setup-hook: fork: retry: Resource temporarily unavailable
/nix/store/mldmlv1q0bg0a7brxz8mdck2mqfasz5f-bootstrap-stage3-binutils-wrapper/nix-support/setup-hook: fork: Resource temporarily unavailable
builder for '/nix/store/m4bhlf4w0qn5lw8pckxigskqfkhh6h3a-llvm-manpages-5.0.2.drv' failed with exit code 254
error: build of '/nix/store/m4bhlf4w0qn5lw8pckxigskqfkhh6h3a-llvm-manpages-5.0.2.drv' failed

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: llvm-manpages

Partial log (click to expand)

these paths will be fetched (0.05 MiB download, 0.06 MiB unpacked):
  /nix/store/7gdcrsmhag178mgxzflaipcgajqcdy5l-llvm-manpages-5.0.2
copying path '/nix/store/7gdcrsmhag178mgxzflaipcgajqcdy5l-llvm-manpages-5.0.2' from 'https://nix-cache.s3.amazonaws.com'...
/nix/store/7gdcrsmhag178mgxzflaipcgajqcdy5l-llvm-manpages-5.0.2

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: llvm-manpages

Partial log (click to expand)

-- Installing: /nix/store/zpxw1cw9aq20aq2pvzcn0p47vh33wlyc-llvm-manpages-5.0.2/share/man/man1/llvm-build.1
-- Installing: /nix/store/zpxw1cw9aq20aq2pvzcn0p47vh33wlyc-llvm-manpages-5.0.2/share/man/man1/lit.1
make: Leaving directory '/build/llvm/build/docs'
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/zpxw1cw9aq20aq2pvzcn0p47vh33wlyc-llvm-manpages-5.0.2
gzipping man pages under /nix/store/zpxw1cw9aq20aq2pvzcn0p47vh33wlyc-llvm-manpages-5.0.2/share/man/
strip is /nix/store/y4ymnvgxygpq05h03kyzbj572zmh6zla-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/zpxw1cw9aq20aq2pvzcn0p47vh33wlyc-llvm-manpages-5.0.2
checking for references to /build in /nix/store/zpxw1cw9aq20aq2pvzcn0p47vh33wlyc-llvm-manpages-5.0.2...
/nix/store/zpxw1cw9aq20aq2pvzcn0p47vh33wlyc-llvm-manpages-5.0.2

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: llvm_7

Partial log (click to expand)

/nix/store/hk51r8kfyqrs7fvgxqlpvw2kbl2z2bzi-llvm-7.0.0-python/share/opt-viewer/opt-stats.py: interpreter directive changed from "/usr/bin/env python2.7" to "/nix/store/bp1c65zbbw6jfjws77pbgw48mjfmk9x3-python-2.7.15/bin/python2.7"
/nix/store/hk51r8kfyqrs7fvgxqlpvw2kbl2z2bzi-llvm-7.0.0-python/share/opt-viewer/opt-diff.py: interpreter directive changed from "/usr/bin/env python2.7" to "/nix/store/bp1c65zbbw6jfjws77pbgw48mjfmk9x3-python-2.7.15/bin/python2.7"
checking for references to /build in /nix/store/hk51r8kfyqrs7fvgxqlpvw2kbl2z2bzi-llvm-7.0.0-python...
shrinking RPATHs of ELF executables and libraries in /nix/store/pvs33rn13x2jjn9bb9fldhaj9n4xjwha-llvm-7.0.0-lib
shrinking /nix/store/pvs33rn13x2jjn9bb9fldhaj9n4xjwha-llvm-7.0.0-lib/lib/libLLVM-7.so
strip is /nix/store/y4ymnvgxygpq05h03kyzbj572zmh6zla-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/pvs33rn13x2jjn9bb9fldhaj9n4xjwha-llvm-7.0.0-lib/lib
patching script interpreter paths in /nix/store/pvs33rn13x2jjn9bb9fldhaj9n4xjwha-llvm-7.0.0-lib
checking for references to /build in /nix/store/pvs33rn13x2jjn9bb9fldhaj9n4xjwha-llvm-7.0.0-lib...
/nix/store/7hnwpgmcka2f65x44ccvhr561nla92bn-llvm-7.0.0

@GrahamcOfBorg
Copy link

Timed out, unknown build status on x86_64-darwin (full log)

Attempted: llvm_7

Partial log (click to expand)

[ 26%] Building CXX object lib/Linker/CMakeFiles/LLVMLinker.dir/LinkModules.cpp.o
[ 26%] Linking CXX static library ../libLLVMLinker.a
[ 26%] Built target LLVMLinker
Scanning dependencies of target LLVMAnalysis
[ 26%] Building CXX object lib/Analysis/CMakeFiles/LLVMAnalysis.dir/AliasAnalysis.cpp.o
[ 26%] Building CXX object lib/Analysis/CMakeFiles/LLVMAnalysis.dir/AliasAnalysisEvaluator.cpp.o
[ 27%] Building CXX object lib/Analysis/CMakeFiles/LLVMAnalysis.dir/AliasAnalysisSummary.cpp.o
[ 27%] Building CXX object lib/Analysis/CMakeFiles/LLVMAnalysis.dir/AliasSetTracker.cpp.o
building of '/nix/store/hx5hnigvmq1skcj3bzkwvpg3wmwp2nid-llvm-7.0.0.drv' timed out after 1800 seconds
error: build of '/nix/store/hx5hnigvmq1skcj3bzkwvpg3wmwp2nid-llvm-7.0.0.drv' failed

@dtzWill
Copy link
Member Author

dtzWill commented Sep 23, 2018

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!

@dtzWill dtzWill merged commit 3abab98 into NixOS:master Sep 23, 2018
@dtzWill dtzWill deleted the feature/llvm-7 branch September 23, 2018 19:09
@dtzWill dtzWill mentioned this pull request Sep 23, 2018
@GrahamcOfBorg
Copy link

Timed out, unknown build status on x86_64-linux (full log)

Attempted: llvm_7

Partial log (click to expand)

[ 16%] Building CXX object lib/CodeGen/SelectionDAG/CMakeFiles/LLVMSelectionDAG.dir/SelectionDAGPrinter.cpp.o
[ 16%] Building CXX object lib/CodeGen/SelectionDAG/CMakeFiles/LLVMSelectionDAG.dir/SelectionDAGTargetInfo.cpp.o
[ 16%] Building CXX object lib/CodeGen/SelectionDAG/CMakeFiles/LLVMSelectionDAG.dir/StatepointLowering.cpp.o
[ 16%] Building CXX object lib/CodeGen/SelectionDAG/CMakeFiles/LLVMSelectionDAG.dir/TargetLowering.cpp.o
[ 16%] Linking CXX static library ../../libLLVMSelectionDAG.a
[ 16%] Built target LLVMSelectionDAG
Scanning dependencies of target LLVMAsmPrinter
[ 16%] Building CXX object lib/CodeGen/AsmPrinter/CMakeFiles/LLVMAsmPrinter.dir/AccelTable.cpp.o
building of '/nix/store/dvpaznlza7i1y1rj31qjlinsdhmywamm-llvm-7.0.0.drv' timed out after 3600 seconds
error: build of '/nix/store/dvpaznlza7i1y1rj31qjlinsdhmywamm-llvm-7.0.0.drv' failed

@amirshavit amirshavit mentioned this pull request Dec 27, 2018
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Package LLVM 7
5 participants