Skip to content

Commit 2127545

Browse files
authored
CDRIVER-4394 Fix libmongocrypt branch in compile-test-gcpkms.sh (#1175)
* CDRIVER-4394 Fix libmongocrypt branch in compile-test-gcpkms.sh * Make libmongocrypt clone command consistent
1 parent 8409087 commit 2127545

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

.evergreen/compile-test-azurekms.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ INSTALL_DIR=$ROOT/install
99
. .evergreen/find-cmake.sh
1010
echo "Installing libmongocrypt ... begin"
1111
# TODO(CDRIVER-4394) update to use libmongocrypt 1.7.0 once there is a stable 1.7.0 release.
12-
git clone https://github.com/mongodb/libmongocrypt --branch 1.7.0-alpha1
12+
git clone --depth=1 https://github.com/mongodb/libmongocrypt --branch 1.7.0-alpha1
1313
$CMAKE -DCMAKE_INSTALL_PREFIX="$INSTALL_DIR" \
1414
-DBUILD_TESTING=OFF \
1515
"-H$ROOT/libmongocrypt" \

.evergreen/compile-test-gcpkms.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ ROOT=$(pwd)
88
INSTALL_DIR=$ROOT/install
99
. .evergreen/find-cmake.sh
1010
echo "Installing libmongocrypt ... begin"
11-
git clone --depth=1 https://github.com/mongodb/libmongocrypt --branch 1.6.0
11+
# TODO(CDRIVER-4394) update to use libmongocrypt 1.7.0 once there is a stable 1.7.0 release.
12+
git clone --depth=1 https://github.com/mongodb/libmongocrypt --branch 1.7.0-alpha1
1213
$CMAKE -DCMAKE_INSTALL_PREFIX="$INSTALL_DIR" \
1314
-DBUILD_TESTING=OFF \
1415
"-H$ROOT/libmongocrypt" \
@@ -29,4 +30,4 @@ $CMAKE \
2930
-DCMAKE_PREFIX_PATH=$INSTALL_DIR \
3031
.
3132
$CMAKE --build . --target test-gcpkms
32-
echo "Compile test-gcpkms ... end"
33+
echo "Compile test-gcpkms ... end"

.evergreen/compile-unix.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ pkg-config --modversion libssl || true
230230
if [ "$COMPILE_LIBMONGOCRYPT" = "ON" ]; then
231231
# Build libmongocrypt, using the previously fetched installed source.
232232
# TODO(CDRIVER-4394) update to use libmongocrypt 1.7.0 once there is a stable 1.7.0 release.
233-
git clone https://github.com/mongodb/libmongocrypt --branch 1.7.0-alpha1
233+
git clone --depth=1 https://github.com/mongodb/libmongocrypt --branch 1.7.0-alpha1
234234

235235
mkdir libmongocrypt/cmake-build
236236
cd libmongocrypt/cmake-build

.evergreen/compile-windows.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ fi
121121
if [ "$COMPILE_LIBMONGOCRYPT" = "ON" ]; then
122122
# Build libmongocrypt, using the previously fetched installed source.
123123
# TODO(CDRIVER-4394) update to use libmongocrypt 1.7.0 once there is a stable 1.7.0 release.
124-
git clone https://github.com/mongodb/libmongocrypt --branch 1.7.0-alpha1
124+
git clone --depth=1 https://github.com/mongodb/libmongocrypt --branch 1.7.0-alpha1
125125
mkdir libmongocrypt/cmake-build
126126
cd libmongocrypt/cmake-build
127127
"$CMAKE" -G "$CC" "-DCMAKE_PREFIX_PATH=${INSTALL_DIR}/lib/cmake" -DENABLE_SHARED_BSON=ON -DCMAKE_INSTALL_PREFIX="$INSTALL_DIR" ../

0 commit comments

Comments
 (0)