Skip to content

Commit ffcc0a2

Browse files
Build Foundation and XCTest in release mode for Wasm
1 parent 656a56c commit ffcc0a2

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

utils/webassembly/build-foundation.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ mkdir -p $FOUNDATION_BUILD
1212
cd $FOUNDATION_BUILD
1313

1414
cmake -G Ninja \
15+
-DCMAKE_BUILD_TYPE="Release" \
1516
-DCMAKE_SYSROOT="$WASI_SYSROOT_PATH" \
1617
-DCMAKE_Swift_COMPILER="$DESTINATION_TOOLCHAIN/usr/bin/swiftc" \
1718
-DCMAKE_STAGING_PREFIX="$DESTINATION_TOOLCHAIN/usr" \

utils/webassembly/build-xctest.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ mkdir -p $BUILD_DIR
1010
cd $BUILD_DIR
1111

1212
cmake -G Ninja \
13+
-DCMAKE_BUILD_TYPE="Release" \
1314
-DCMAKE_SYSROOT="$WASI_SYSROOT_PATH" \
1415
-DCMAKE_Swift_COMPILER="$DESTINATION_TOOLCHAIN/usr/bin/swiftc" \
1516
-DCMAKE_STAGING_PREFIX="$DESTINATION_TOOLCHAIN/usr" \

0 commit comments

Comments
 (0)