mirror of
https://github.com/FerretDB/documentdb.git
synced 2026-11-25 11:49:53 -05:00
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
This commit is contained in:
1 parent
1123f4f2a2
commit
d6b42eaf88
1 file changed
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user