Skip to content

Commit a7049bd

Browse files
author
Zachary Turner
committed
Fix 2 stage build on some apple bots.
The recent lit refactor changed the location of the lit script run by check targets from <source>/utils/lit/lit.py to <bin>/llvm-lit.py. In some 2-stage build scenarios, the location of <bin> was not properly passed through to the second stage, and it was looking for /llvm-lit.py instead, causing failures. Fix suggested by Mike Edwards and Chris Bieneman @apple llvm-svn: 313300
1 parent 6b396c2 commit a7049bd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clang/runtime/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ if(LLVM_BUILD_EXTERNAL_COMPILER_RT AND EXISTS ${COMPILER_RT_SRC_ROOT}/)
7777
-DCOMPILER_RT_INCLUDE_TESTS=${LLVM_INCLUDE_TESTS}
7878
-DCMAKE_INSTALL_PREFIX=${CMAKE_INSTALL_PREFIX}
7979
-DLLVM_LIBDIR_SUFFIX=${LLVM_LIBDIR_SUFFIX}
80+
-DLLVM_RUNTIME_OUTPUT_INTDIR=${LLVM_RUNTIME_OUTPUT_INTDIR}
8081
-DCMAKE_OSX_DEPLOYMENT_TARGET=${CMAKE_OSX_DEPLOYMENT_TARGET}
8182
-DCMAKE_OSX_SYSROOT:PATH=${CMAKE_OSX_SYSROOT}
8283
${COMPILER_RT_PASSTHROUGH_VARIABLES}

0 commit comments

Comments
 (0)