What is SCons?
SCons is an Open Source software construction tool—that is, a next-generation build tool. Think of SCons as an improved, cross-platform substitute for the classic Make utility with integrated functionality similar to autoconf/automake and compiler caches such as ccache. In short, SCons is an easier, more reliable and faster way to build software.
For more information, see https://scons.org/
Prerequisites
Python 3 Distribution. For this I used the Intel Python Distribution
Get the Source Code
git clone https://github.com/SCons/scons.git
Setup scons directory and run the setup script
cd $HOME/scons /usr/local/intel/2020/intelpython3/bin/python setup.py install
Do note that the scons will write a site package at /usr/local/intel/2020/intelpython3/lib/python3.7/site-packages/SCons-3.9.9a993-py3.7.egg . You need to allow the necessary permission
Testing the package
cd /usr/local/scons
python runtest.py SCons/BuilderTests.py
1/1 (100.00%) /usr/local/intel/2020/intelpython3//bin/python SCons/BuilderTests.py ...................................... ---------------------------------------------------------------------- Ran 38 tests in 0.096s OK
References: