Skip to content

Commit 7784652

Browse files
committed
only build for macOS
1 parent 0c70e4b commit 7784652

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

scripts/build.sh

+7-7
Original file line numberDiff line numberDiff line change
@@ -73,13 +73,13 @@ configure() {
7373

7474

7575
if [ "$OS" == "MacOSX" ]; then
76-
${SRC_DIR}/Configure macos-$ARCH no-asm no-shared --prefix="${PREFIX}" &> "${PREFIX}.config.log"
76+
${SRC_DIR}/Configure macos-$ARCH no-async no-shared no-tests --prefix="${PREFIX}" &> "${PREFIX}.config.log"
7777
elif [ "$OS" == "MacOSX_Catalyst" ]; then
78-
${SRC_DIR}/Configure mac-catalyst-$ARCH no-asm no-shared --prefix="${PREFIX}" &> "${PREFIX}.config.log"
78+
${SRC_DIR}/Configure mac-catalyst-$ARCH no-async no-shared no-tests --prefix="${PREFIX}" &> "${PREFIX}.config.log"
7979
elif [ "$OS" == "iPhoneSimulator" ]; then
80-
${SRC_DIR}/Configure ios-sim-cross-$ARCH no-asm no-shared --prefix="${PREFIX}" &> "${PREFIX}.config.log"
80+
${SRC_DIR}/Configure ios-sim-cross-$ARCH no-async no-shared no-tests --prefix="${PREFIX}" &> "${PREFIX}.config.log"
8181
elif [ "$OS" == "iPhoneOS" ]; then
82-
${SRC_DIR}/Configure ios-cross-$ARCH no-asm no-shared --prefix="${PREFIX}" &> "${PREFIX}.config.log"
82+
${SRC_DIR}/Configure ios-cross-$ARCH no-async no-shared no-tests --prefix="${PREFIX}" &> "${PREFIX}.config.log"
8383
fi
8484
}
8585

@@ -115,7 +115,7 @@ build()
115115

116116
LOG_PATH="${PREFIX}.build.log"
117117
echo "Building ${LOG_PATH}"
118-
make &> ${LOG_PATH}
118+
make -j8 &> ${LOG_PATH}
119119
make install &> ${LOG_PATH}
120120
cd ${BASE_PWD}
121121

@@ -263,6 +263,6 @@ if [ ! -f "${SCRIPT_DIR}/../openssl-${OPENSSL_VERSION}.tar.gz" ]; then
263263
rm -f "${SCRIPT_DIR}/../openssl-${OPENSSL_VERSION}.tar.gz.sha256"
264264
fi
265265

266-
build_ios
266+
#build_ios
267267
build_macos
268-
build_catalyst
268+
#build_catalyst

0 commit comments

Comments
 (0)