Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: sconsUtils
-
Labels:
-
Story Points:1
-
Sprint:Science Pipelines DM-W15-3
-
Team:Data Release Production
Description
On Ubuntu 12.04, gcc --version says:
gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
|
Copyright (C) 2011 Free Software Foundation, Inc.
|
This is free software; see the source for copying conditions. There is NO
|
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
This apparently isn't quite what sconsUtils expected, because it says:
scons: Reading SConscript files ...
|
Checking who built the CC compiler...(cached) error: no result
|
CC is unknown version unknown
|
Happily, everything seems to work anyway, as the fall-back options for the unknown compiler work fine with this one.
Trivial change, ready for review.
I just tweaked the regexp to also match the version string reported by Ubuntu-built gcc. I've checked that this still works with the gcc on lsst-dev. If you can verify that with any other flavors of gcc you have available, please do.
All changes on tickets/
DM-1515of sconsUtils.$ git --no-pager log --stat --reverse LSST/master..tickets/DM-1515
commit 10c36b4069a09988da83c8c0e320447948784a05
Author: Jim Bosch <jbosch@astro.princeton.edu>
Date: Wed Dec 10 19:55:38 2014 -0500
Update compiler check to work with Ubuntu-built gcc
python/lsst/sconsUtils/state.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)