diff options
author | William Blevins <wblevins001@gmail.com> | 2016-08-10 12:42:01 +0100 |
---|---|---|
committer | William Blevins <wblevins001@gmail.com> | 2016-08-10 12:42:01 +0100 |
commit | 5927fefae2da5075b148bcf8b14ef403d8db35ce (patch) | |
tree | 855dd777d15f45bb6fbeb93dc4160af09c10d8b7 /QMTest | |
parent | 575f44db9cbe5389e6d32b40c9c2f6bb371fa31b (diff) | |
download | scons-5927fefae2da5075b148bcf8b14ef403d8db35ce.tar.gz |
Removed deprecate fortran lib handling.
Diffstat (limited to 'QMTest')
-rw-r--r-- | QMTest/TestSCons.py | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/QMTest/TestSCons.py b/QMTest/TestSCons.py index 2d4df3a1..98b2f00c 100644 --- a/QMTest/TestSCons.py +++ b/QMTest/TestSCons.py @@ -958,34 +958,6 @@ SConscript( sconscript ) # to use cygwin compilers on cmd.exe -> uncomment following line #Configure_lib = 'm' - def gccFortranLibs(self): - """Test which gcc Fortran startup libraries are required. - This should probably move into SCons itself, but is kind of hacky. - """ - if sys.platform.find('irix') != -1: - return ['ftn'] - - libs = ['g2c'] - cmd = ['gcc','-v'] - - try: - p = Popen(cmd, stdout=PIPE, stderr=PIPE) - stdout, stderr = p.communicate() - except: - return libs - - m = re.search('(gcc\s+version|gcc-Version)\s+(\d\.\d)', stderr) - if m: - gcc_version = m.group(2) - if re.match('[5-9].\d', gcc_version): - libs = ['gfortran'] - elif re.match('4.[^0]', gcc_version): - libs = ['gfortranbegin'] - elif gcc_version in ('3.1', '4.0'): - libs = ['frtbegin'] + libs - - return libs - def skip_if_not_msvc(self, check_platform=True): """ Check whether we are on a Windows platform and skip the test if not. This check can be omitted by setting |