<div dir="ltr">Hi everyone. I'm seeing a sporadic failure in building the AArch64 backend when doing a parallel make from CMake-generated Unix makefiles:<div><br></div><div>+ (cd "$WORKSPACE/llvm/build" &&</div>
<div>    cmake -G "Unix Makefiles" \</div><div>      -DCMAKE_C_COMPILER="$TOOLCHAIN/usr/bin/clang" \</div><div>      -DCMAKE_CXX_COMPILER="$TOOLCHAIN/usr/bin/clang++" \</div><div>      -DCMAKE_CXX_FLAGS="-stdlib=libc++" \</div>
<div>      -DCMAKE_EXE_LINKER_FLAGS="-stdlib=libc++" \</div><div>      -DCMAKE_SHARED_LINKER_FLAGS="-stdlib=libc++" \</div><div>      -DCMAKE_INSTALL_PREFIX="$WORKSPACE/llvm/install" \</div><div>
      .. &&</div><div>    make -j &&</div><div style>    make install)</div><div style># ...normal build output...</div><div style><div>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.</div>
<div>make[1]: *** [lib/Target/AArch64/Utils/CMakeFiles/LLVMAArch64Utils.dir/all] Error 2</div><div>make[1]: *** Waiting for unfinished jobs....</div><div><br></div><div style>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.</div>
<div style><br></div><div style>-Joe</div></div></div>