From d6b42eaf88ce3ce7bcbfca705e703d8dc870d421 Mon Sep 17 00:00:00 2001 From: John Pao Date: Tue, 21 May 2024 02:00:43 +0000 Subject: [PATCH] Merged PR 1355152: Enable installation of Mongo C driver for containers ### Does this PR have any customer impact? No ### Type (Feature, Refactoring, Bugfix, DevOps, Testing, Perf, etc) DevOps ### Does it involve schema level changes? (Table, Column, Index, UDF, etc level changes) No ### Are you introducing any new config? If yes, do you have tests with and without them being set? No ### Release Note (Refer [Template](../docs/release_notes/pgmongo_template.md)) N/A ### Description Enable installation of Mongo C driver for containers Related work items: #3141377 --- scripts/install_setup_libbson.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install_setup_libbson.sh b/scripts/install_setup_libbson.sh index 5fe95e1c..04296f75 100755 --- a/scripts/install_setup_libbson.sh +++ b/scripts/install_setup_libbson.sh @@ -18,7 +18,7 @@ fi pushd $INSTALL_DEPENDENCIES_ROOT curl -s -L https://github.com/mongodb/mongo-c-driver/releases/download/$MONGO_DRIVER_VERSION/mongo-c-driver-$MONGO_DRIVER_VERSION.tar.gz | tar -C $INSTALL_DEPENDENCIES_ROOT -zx --transform="s|mongo-c-driver-$MONGO_DRIVER_VERSION|mongo-c-driver|" cd $INSTALL_DEPENDENCIES_ROOT/mongo-c-driver/build -$MAKE_PROGRAM -DENABLE_MONGOC=OFF -DCMAKE_C_FLAGS=-fPIC -DCMAKE_INSTALL_PREFIX=$INSTALLDESTDIR .. +$MAKE_PROGRAM -DENABLE_MONGOC=ON -DCMAKE_C_FLAGS=-fPIC -DCMAKE_INSTALL_PREFIX=$INSTALLDESTDIR .. make clean && make -sj$(cat /proc/cpuinfo | grep "processor" | wc -l) install popd