-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
make compiler check fire only when needed
The compiler check in lsst.sconsUtils.state._configureCommon fires whenever you import lsst.sconsUtils, even if you don't have any C++ code and all you want out of lsst.sconsUtils is some utility completely unrelated to C++. Besides just wasting time, this makes it difficult to run ci_hsc on a cluster nodes that don't have the latest gcc installed. Instead, have the compiler check only fire when we need it, as defined by instantiating BasicSConstruct. The compiler check can also be disabled when using BasicSConstruct by instantiating it with disableCc=True.
- Loading branch information
Showing
2 changed files
with
15 additions
and
5 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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