File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -3373,6 +3373,7 @@ for host in "${ALL_HOSTS[@]}"; do
3373
3373
LLVM_LIT_ARGS=" ${LLVM_LIT_ARGS} --filter=[sS]wift"
3374
3374
fi
3375
3375
3376
+ # SWIFT_ENABLE_TENSORFLOW: use python3 to launch llvm-lit below.
3376
3377
# Record the times test took and report the slowest.
3377
3378
LLVM_LIT_ARGS=" ${LLVM_LIT_ARGS} -v --time-tests"
3378
3379
if [[ " $using_xcodebuild " == " FALSE" ]] ; then
@@ -3381,7 +3382,7 @@ for host in "${ALL_HOSTS[@]}"; do
3381
3382
with_pushd ${lldb_build_dir} \
3382
3383
call ${NINJA_BIN} -j ${BUILD_JOBS} lldb-test-deps
3383
3384
with_pushd ${results_dir} \
3384
- call " ${llvm_build_dir} /bin/llvm-lit" \
3385
+ call " /usr/bin/env " " python3 " " ${llvm_build_dir} /bin/llvm-lit" \
3385
3386
" ${lldb_build_dir} /lit" \
3386
3387
${LLVM_LIT_ARGS} \
3387
3388
--xunit-xml-output=${results_dir} /results.xml \
@@ -3390,7 +3391,7 @@ for host in "${ALL_HOSTS[@]}"; do
3390
3391
echo " Running LLDB swift compatibility tests against" \
3391
3392
" ${LLDB_TEST_SWIFT_COMPATIBILITY} "
3392
3393
with_pushd ${results_dir} \
3393
- call " ${llvm_build_dir} /bin/llvm-lit" \
3394
+ call " /usr/bin/env " " python3 " " ${llvm_build_dir} /bin/llvm-lit" \
3394
3395
" ${lldb_build_dir} /lit" \
3395
3396
${LLVM_LIT_ARGS} \
3396
3397
--xunit-xml-output=${results_dir} /results.xml \
You can’t perform that action at this time.
0 commit comments