Skip to content

Commit

Permalink
adapted for mongo 6
Browse files Browse the repository at this point in the history
  • Loading branch information
Grubba27 committed Jan 26, 2023
1 parent 111e75a commit c724cc4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ pip3 install -r etc/pip/compile-requirements.txt
install-core \
--ssl=off \
--enable-free-mon=off \
-j 36 \
-j 16 \
LINKFLAGS='-static-libstdc++' \
CC=/opt/rh/devtoolset-8/root/usr/bin/gcc \
CXX=/opt/rh/devtoolset-8/root/usr/bin/g++

cd build/install/bin
strip mongo mongod
strip mongos mongod
2 changes: 1 addition & 1 deletion run-builder.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ BIN="$TARGET/bin"
[ ! -d $SRC ] && curl "https://fastdl.mongodb.org/src/$SRC.tar.gz" | tar -xz
docker run --memory=58g --rm -it -v $(pwd)/$SRC:/mongodb mongodb-builder
mkdir -p $BIN
sudo mv "$SRC/build/install/bin/mongo" "$SRC/build/install/bin/mongod" $BIN
sudo mv "$SRC/build/install/bin/mongos" "$SRC/build/install/bin/mongod" $BIN
sudo tar -czf "$TARGET.tgz" $TARGET

0 comments on commit c724cc4

Please sign in to comment.