[LLVMdev] Sporadic build failure doing 'make -j' from CMake-generated Unix Makefiles in AArch64 backend

Joe Groff arcata at gmail.com
Wed Feb 6 08:29:05 PST 2013


Hi everyone. I'm seeing a sporadic failure in building the AArch64 backend
when doing a parallel make from CMake-generated Unix makefiles:

+ (cd "$WORKSPACE/llvm/build" &&
    cmake -G "Unix Makefiles" \
      -DCMAKE_C_COMPILER="$TOOLCHAIN/usr/bin/clang" \
      -DCMAKE_CXX_COMPILER="$TOOLCHAIN/usr/bin/clang++" \
      -DCMAKE_CXX_FLAGS="-stdlib=libc++" \
      -DCMAKE_EXE_LINKER_FLAGS="-stdlib=libc++" \
      -DCMAKE_SHARED_LINKER_FLAGS="-stdlib=libc++" \
      -DCMAKE_INSTALL_PREFIX="$WORKSPACE/llvm/install" \
      .. &&
    make -j &&
    make install)
# ...normal build output...
make[2]: *** No rule to make target
`lib/Target/AArch64/AArch64GenDAGISel.inc', needed by
`lib/Target/AArch64/Utils/CMakeFiles/LLVMAArch64Utils.dir/AArch64BaseInfo.cpp.o'.
 Stop.
make[1]: *** [lib/Target/AArch64/Utils/CMakeFiles/LLVMAArch64Utils.dir/all]
Error 2
make[1]: *** Waiting for unfinished jobs....

It doesn't happen consistently, so maybe there's a missing dependency there
that causes it to try to build things out of order with -j.

-Joe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130206/5fb7a098/attachment.html>


More information about the llvm-dev mailing list