summaryrefslogtreecommitdiffstats
path: root/QMTest
diff options
context:
space:
mode:
authorWilliam Blevins <wblevins001@gmail.com>2016-08-10 11:42:01 (GMT)
committerWilliam Blevins <wblevins001@gmail.com>2016-08-10 11:42:01 (GMT)
commit5f7882c1ff04fdd3ef3cc44654a2a69911cb73f0 (patch)
tree855dd777d15f45bb6fbeb93dc4160af09c10d8b7 /QMTest
parent2f3daaaff1ad6d5252e1583fd65b2a5fd4a95ca7 (diff)
downloadSCons-5f7882c1ff04fdd3ef3cc44654a2a69911cb73f0.zip
SCons-5f7882c1ff04fdd3ef3cc44654a2a69911cb73f0.tar.gz
SCons-5f7882c1ff04fdd3ef3cc44654a2a69911cb73f0.tar.bz2
Removed deprecate fortran lib handling.
Diffstat (limited to 'QMTest')
-rw-r--r--QMTest/TestSCons.py28
1 files changed, 0 insertions, 28 deletions
diff --git a/QMTest/TestSCons.py b/QMTest/TestSCons.py
index 2d4df3a..98b2f00 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