Bug #77: SCons build system bug fixes
SCons builds EVIO when asked to clean
Added by Ole Hansen about 6 years ago.
Updated over 5 years ago.
If there is no system-wide EVIO installed, the local evio directory is clean, and one asks SCons to clean up:
scons -c .
then SCons downloads EVIO and builds it. The expected behavior is to clean the local evio directory, not to fill it.
- Subject changed from Scons build system builds EVIO when asked to clean to SCons builds EVIO when asked to clean
- Start date deleted (
- Parent task set to #77
- Status changed from New to Closed
- Start date set to 09/28/2017
- % Done changed from 0 to 100
This is simple: when cleaning, we remove the EVIO shared libraries and the entire EVIO source/build tree. Only the EVIO tarball is kept, if it exists. The source/build tree can be quickly regenerated from the tarball, which downloading the tarball might be not always be possible.
The basic idea is that cleaning should remove all "generated" files. Arguably, the EVIO source/build tree is generated. At least this behavior makes more sense than downloading/unpacking the tarball when cleaning, only to be able to invoke
scons -c on the EVIO SCons scripts, which does only a little less than completely remove the source tree.
The change is in commit 204251a.
Also available in: Atom