Am Sonntag, den 12.08.2018, 22:05 -0500 schrieb DJ Lucas: > > On 08/12/2018 02:28 AM, Thomas Trepl wrote: > > Am Sonntag, den 12.08.2018, 03:36 +0100 schrieb Ken Moffat: > > > 6.0.1 builds. > > > > Did you also run the tests? This is where i struggle atm. Tests > > seem > > to fail in a good amount and finally hang. > > Which tests fail? Are you building with make or ninja? I'm of the > mind > to use ninja for all cmake based packages (at least where possible, > there was a limitation, a corner case, but I don't recall what it > was). > I do not build the docs, but if they are desired, then I think they > probably have to be included in the first cmake command line with > ninja > adding -DLLVM_BUILD_DOCS=ON and the two sphinx defines already in the > book. > > I'm using the following: > {{{ > CC=gcc CXX=g++ \ > cmake -DCMAKE_INSTALL_PREFIX=/usr \ > -DLLVM_ENABLE_FFI=ON \ > -DCMAKE_BUILD_TYPE=Release \ > -DLLVM_BUILD_LLVM_DYLIB=ON \ > -DLLVM_LINK_LLVM_DYLIB=ON \ > -DLLVM_TARGETS_TO_BUILD="host;AMDGPU" \ > -DLLVM_BUILD_TESTS=ON \ > -Wno -G Ninja .. && > ninja -j12 > > ninja check{,-clang{,-tooling}} 2>&1 | tee clang-check-log.txt > > ninja install > }}} > > Results: > {{{ > [0/3] Running the LLVM regression tests > -- Testing: 23298 tests, 16 threads -- > Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. > Testing Time: 50.99s > Expected Passes : 15110 > Expected Failures : 56 > Unsupported Tests : 8132 > [1/3] Running lit suite /sources/llvm- > 6.0.1.src/tools/clang/test/Tooling > llvm-lit: /sources/llvm-6.0.1.src/utils/lit/lit/llvm/config.py:334: > note: using clang: /sources/llvm-6.0.1.src/build/bin/clang > -- Testing: 26 tests, 16 threads -- > Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. > Testing Time: 0.21s > Expected Passes : 26 > [2/3] Running the Clang regression tests > llvm-lit: /sources/llvm-6.0.1.src/utils/lit/lit/llvm/config.py:334: > note: using clang: /sources/llvm-6.0.1.src/build/bin/clang > -- Testing: 11832 tests, 16 threads -- > Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. > Testing Time: 59.26s > Expected Passes : 11572 > Expected Failures : 18 > Unsupported Tests : 242 > }}} > > > I limit all ninja builds, as a matter of course, to 12 threads as I > get > OOMs with only 16GB of RAM on Chromium (but seems it was OK for > tests, > as I forgot about it above). Also of note is that I am on multi-lib > from > lfs-systemd-20180803, so 'host' builds both x86_64 and i386. Finally, > I > build in chroot until Xorg (so building as root for the moment). > > HTH > > --DJ > You are kidding ;-) "limiting to 12 threads", "only 16GB of RAM" Sounds like you're on a very tiny and slow machine...
I used "make" - will redo checks with ninja and keep you updated. Btw, new multilib-patch to come, building m32, mx32 and m64 ... -- Thomas -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page