Skip to content

Instantly share code, notes, and snippets.

@JakubOboza
Created August 25, 2011 21:27
Show Gist options
  • Save JakubOboza/1172028 to your computer and use it in GitHub Desktop.
Save JakubOboza/1172028 to your computer and use it in GitHub Desktop.
MongoDB build from source
#!/bin/zsh
# my personal everyday mongodb build script
# clean
scons --clean
# pull new changes
git pull
# build into prefixed directory
scons --prefix ~/Workspace/Mongo/mongo-build --full install
#!/bin/bash
# this will do default build into mongodb source directory
# makes mongo, mongod, mongos and other executables
scons .
#!/bin/bash
# full mongodb build with all includes prepared and all executables etc
scons --full install
#!/bin/bash
# this will build just mongod in mongodb source directory
scons
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment