Skip to content

Commit ab56873

Browse files
committed
build-script: always rebuild XCTest on non-Darwin
This should resolve SR-8826! Ideally, we would be using CMake to tie together all the dependent packages and get proper dependency tracking. Currently, change to the swift runtime do not get tracked properly, and can result in undefined references to symbols.
1 parent 9a04225 commit ab56873

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

utils/build-script-impl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2487,6 +2487,11 @@ for host in "${ALL_HOSTS[@]}"; do
24872487
continue
24882488
;;
24892489
*)
2490+
# FIXME: Always re-build XCTest on non-darwin platforms.
2491+
# Remove this when products build in the CMake system.
2492+
echo "Cleaning the XCTest build directory"
2493+
call rm -rf "${XCTEST_BUILD_DIR}"
2494+
24902495
cmake_options=(
24912496
${cmake_options[@]}
24922497
-DCMAKE_BUILD_TYPE:STRING="${LIBDISPATCH_BUILD_TYPE}"

0 commit comments

Comments
 (0)