summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMark Benvenuto <mark.benvenuto@mongodb.com>2018-07-24 16:00:02 -0400
committerMark Benvenuto <mark.benvenuto@mongodb.com>2018-07-24 16:00:02 -0400
commit7bc1e78f6c9f66dbd065d37f57d4efcbff54124a (patch)
tree5c547408a917bf01f7d3e4e3504fcf2bda81554a /docs
parente6b804398d100cc131750f215d1c1beae1a13f87 (diff)
downloadmongo-7bc1e78f6c9f66dbd065d37f57d4efcbff54124a.tar.gz
SERVER-36206 Add note about --disable-warnings-as-errors to building.md
Diffstat (limited to 'docs')
-rw-r--r--docs/building.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/building.md b/docs/building.md
index 37bc0b5cf59..8fdc2f8a766 100644
--- a/docs/building.md
+++ b/docs/building.md
@@ -13,6 +13,7 @@ To build MongoDB, you will need:
* Python 2.7.x and Pip modules:
* pyyaml
* typing
+ * cheetah
MongoDB supports the following architectures: arm64, ppc64le, s390x, and x86-64.
More detailed platform instructions can be found below.
@@ -50,6 +51,10 @@ If you only want to build the database:
$ python2 buildscripts/scons.py mongod
+***Note***: For C++ compilers that are newer than the supported version, the compiler may issue new warnings that cause MongoDB to fail to build since the build system treats compiler warnings as errors. To ignore the warnings, pass the switch --disable-warnings-as-errors to scons.
+
+ $ python2 buildscripts/scons.py mongod --disable-warnings-as-errors
+
To install
$ python2 buildscripts/scons.py --prefix=/opt/mongo install