]> SALOME platform Git repositories - tools/pvdeliv.git/commitdiff
Salome HOME
Correcting gcc version check for ubuntu
authorMathieu Westphal <mathieu.westphal@kitware.com>
Thu, 10 Jan 2019 10:41:28 +0000 (11:41 +0100)
committerMathieu Westphal <mathieu.westphal@kitware.com>
Thu, 10 Jan 2019 10:41:28 +0000 (11:41 +0100)
scripts/salome_check_version.py

index c7c0b68255cb4e785cd5fbf7a97fdb916ff66913..9a1c188c8cdec0732081a6836807ed441c163b90 100644 (file)
@@ -32,11 +32,6 @@ def check_gcc_version(gcc_version_ref, envAcc):
     sys.exit(1)
     pass
   xyz = list(set(xyz))
-  if len(xyz) > 1:
-    print "Ambiguous gcc version in 'gcc --version' output:"
-    print out
-    sys.exit(1)
-    pass
   c = __compare_versions(xyz[0], gcc_version_ref)
   if c == -1:
     print "Error: too old gcc version: %s"%xyz[0]