Skip to content

Commit a5f3b4b

Browse files
committed
fix
1 parent 249120b commit a5f3b4b

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

etc/install-libmongocrypt.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,12 @@ if [ "Windows_NT" = "${OS:-}" ]; then
2424
else
2525
rm -rf libmongocrypt
2626
git clone https://github.com/mongodb/libmongocrypt --depth=1 --branch $LIBMONGOCRYPT_TAG 2> /dev/null
27-
if ! ( ./libmongocrypt/.evergreen/compile.sh >| output.txt 2>&1 ); then
27+
declare -a crypt_cmake_flags=(
28+
"-DBUILD_TESTING=OFF"
29+
"-DENABLE_ONLINE_TESTS=OFF"
30+
"-DENABLE_MONGOC=OFF"
31+
)
32+
if ! ( DEBUG="0" DEFAULT_BUILD_ONLY=true LIBMONGOCRYPT_EXTRA_CMAKE_FLAGS="${crypt_cmake_flags[*]}" ./libmongocrypt/.evergreen/compile.sh >| output.txt 2>&1 ); then
2833
cat output.txt 1>&2
2934
exit 1
3035
fi

0 commit comments

Comments
 (0)