Created
August 25, 2011 21:27
-
-
Save JakubOboza/1172028 to your computer and use it in GitHub Desktop.
MongoDB build from source
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# this will do default build into mongodb source directory | |
# makes mongo, mongod, mongos and other executables | |
scons . |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# full mongodb build with all includes prepared and all executables etc | |
scons --full install | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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