Skip to content

Commit a9a178c

Browse files
committed
build: correct the build type for XCTest
Use the correct variable for the build type for XCTest. We would previously use the build type specified for dispatch to build XCTest.
1 parent d5adbe2 commit a9a178c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/build-script-impl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2658,7 +2658,7 @@ for host in "${ALL_HOSTS[@]}"; do
26582658

26592659
cmake_options=(
26602660
${cmake_options[@]}
2661-
-DCMAKE_BUILD_TYPE:STRING="${LIBDISPATCH_BUILD_TYPE}"
2661+
-DCMAKE_BUILD_TYPE:STRING="${XCTEST_BUILD_TYPE}"
26622662
-DCMAKE_C_COMPILER:PATH="${LLVM_BIN}/clang"
26632663
-DCMAKE_CXX_COMPILER:PATH="${LLVM_BIN}/clang++"
26642664
-DCMAKE_SWIFT_COMPILER:PATH="$(build_directory_bin ${LOCAL_HOST} swift)/swiftc"

0 commit comments

Comments
 (0)