Created
January 23, 2021 14:50
-
-
Save acmorrow/f729ee772b6e1446e0887de984452512 to your computer and use it in GitHub Desktop.
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
/usr/bin/time /opt/mongodbtoolchain/v3/bin/python3 buildscripts/scons.py --dbg=on --opt=on --link-model=dynamic --implicit-cache --cache --experimental-visibility-support=on --install-action=hardlink --build-tools=next --disable-warnings-as-errors --modules= --build-dir=$(pwd)/build/toolpy37 --cache-dir=$(pwd)/cache -j300 install-unittests --debug=time 2>&1 | tee toolpy37.cleanbuild.log | |
/usr/bin/time python3.8 buildscripts/scons.py --dbg=on --opt=on --link-model=dynamic --implicit-cache --cache --experimental-visibility-support=on --install-action=hardlink --build-tools=next --disable-warnings-as-errors --modules= --build-dir=$(pwd)/build/syspy38 --cache-dir=$(pwd)/cache -j300 install-unittests --debug=time 2>&1 | tee syspy38.cleanbuild.log | |
\rm -rf build/toolpy37/cached build/toolpy37/install | |
/usr/bin/time /opt/mongodbtoolchain/v3/bin/python3 buildscripts/scons.py --dbg=on --opt=on --link-model=dynamic --implicit-cache --cache --experimental-visibility-support=on --install-action=hardlink --build-tools=next --disable-warnings-as-errors --modules= --build-dir=$(pwd)/build/toolpy37 --cache-dir=$(pwd)/cache -j12 install-unittests --debug=time 2>&1 | tee toolpy37.cacheextractbuild.log | |
\rm -rf build/syspy38/cached build/syspy38/install | |
/usr/bin/time python3.8 buildscripts/scons.py --dbg=on --opt=on --link-model=dynamic --implicit-cache --cache --experimental-visibility-support=on --install-action=hardlink --build-tools=next --disable-warnings-as-errors --modules= --build-dir=$(pwd)/build/syspy38 --cache-dir=$(pwd)/cache -j12 install-unittests --debug=time 2>&1 | tee syspy38.cacheextractbuild.log | |
/usr/bin/time /opt/mongodbtoolchain/v3/bin/python3 buildscripts/scons.py --dbg=on --opt=on --link-model=dynamic --implicit-cache --cache --experimental-visibility-support=on --install-action=hardlink --build-tools=next --disable-warnings-as-errors --modules= --build-dir=$(pwd)/build/toolpy37 --cache-dir=$(pwd)/cache -j12 install-unittests --debug=time 2>&1 | tee toolpy37.noopbuild.log | |
/usr/bin/time python3.8 buildscripts/scons.py --dbg=on --opt=on --link-model=dynamic --implicit-cache --cache --experimental-visibility-support=on --install-action=hardlink --build-tools=next --disable-warnings-as-errors --modules= --build-dir=$(pwd)/build/syspy38 --cache-dir=$(pwd)/cache -j12 install-unittests --debug=time 2>&1 | tee syspy38.noopbuild.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
75f5e2bb5240a7061b3d40c59a5238590221813c
.cleanbuild
runs say-j300
because I have access to an icecream cluster. You will need to turn that down to something your local system can support.cacheextract
andnoop
builds say-j12
because that is how many local cores I have. It is interesting to think about what running a pure cache extraction with-j300
does when you only have 12 local cores. Perhaps the cache extraction should be protectable with a semaphore to constrain local concurrency.etc/pip/compile-requirements.txt
from the mongodb tree loaded up withpip install --user -r
.install-unittests
build is a pretty big target. You could go with something smaller with something likeinstall-visibility-test
, orinstall-all
to get as big as possible.buildscripts/scons.py
to something else if you want to try invoking different SConses.