]> SALOME platform Git repositories - tools/sat_salome.git/commitdiff
Salome HOME
Handle tuxedo os
authorNabil Ghodbane <nabil.ghodbane@cea.fr>
Thu, 26 Sep 2024 18:40:29 +0000 (20:40 +0200)
committerNabil Ghodbane <nabil.ghodbane@cea.fr>
Thu, 26 Sep 2024 18:40:29 +0000 (20:40 +0200)
products/env_scripts/nlopt.py
products/env_scripts/openmpi.py
products/env_scripts/ptscotch.py
products/env_scripts/qt.py
products/env_scripts/scotch.py

index 4e98f173e7c1622ba1737814ff3eca10382a3ae3..ed90637a08c3aef258cfdbc2d119ff522fccdf38 100644 (file)
@@ -22,7 +22,7 @@ def set_nativ_env(env):
             prereq_dir='/usr/'
             prereq_bin='/usr/bin'
             prereq_inc='/usr/include'
-        elif any(distribution in distro.name().lower() for distribution in ["debian", "ubuntu"]) :
+        elif any(distribution in distro.name().lower() for distribution in ["debian", "ubuntu", "tuxedo os"]) :
             prereq_dir='/usr'
             prereq_inc='/usr/include'
     except:
index 7a8de3ca301baad0bf19007e0941450eaaab6a95..e103adff0f643efdc7957355b705429e26dc6aff 100644 (file)
@@ -31,7 +31,7 @@ def set_nativ_env(env):
             prereq_dir='/usr/lib64/openmpi'
             prereq_bin='/usr/lib64/openmpi/bin'
             prereq_inc='/usr/include/openmpi-x86_64'
-        elif any(distribution in distro.name().lower() for distribution in ["debian", "ubuntu"]) :
+        elif any(distribution in distro.name().lower() for distribution in ["debian", "ubuntu", "tuxedo os"]) :
             prereq_dir='/usr/lib/x86_64-linux-gnu/openmpi'
             prereq_inc= '/usr/lib/x86_64-linux-gnu/openmpi/include'
     except:
index c07aa4e9dc168da01b7a3c2a26e4ca2a24d159b3..a7e35aca4e7faca50da0377720ea7dc249f391a3 100644 (file)
@@ -29,7 +29,7 @@ def set_nativ_env(env):
         prereq_dir='/usr'
         prereq_inc= '/usr/include/openmpi-x86_64'
         prereq_lib='/usr/lib64/openmpi/lib'
-      elif any(distribution in distro.name().lower() for distribution in ["debian", "ubuntu"]) :
+      elif any(distribution in distro.name().lower() for distribution in ["debian", "ubuntu", "tuxedo os"]) :
         prereq_dir='/usr'
         prereq_inc='/usr/include/scotch-long'
         prereq_lib='/usr/lib/x86_64-linux-gnu/scotch-long'
index f355476fda070e636b44df3254b426ca5f6a687c..e77ceec3b48651ecc3b723ed28ec28ee5971ffc0 100644 (file)
@@ -27,7 +27,7 @@ def set_nativ_env(env):
     qt_lib_dir='/usr/lib64'
     try:
         import distro
-        if any(distribution in distro.name().lower() for distribution in ["debian", "ubuntu"]) :
+        if any(distribution in distro.name().lower() for distribution in ["debian", "ubuntu", "tuxedo os"]) :
             qt_lib_dir='/usr/lib/x86_64-linux-gnu'
     except:
         pass
index eac32edbcc5ee25324f8a13b791af0d9bece0718..8dfd02ecf7a877475457b5d5cd1d53ccdaf96899 100755 (executable)
@@ -29,7 +29,7 @@ def set_nativ_env(env):
         prereq_dir='/usr'
         prereq_inc= '/usr/include/openmpi-x86_64'
         prereq_lib='/usr/lib64/openmpi/lib'
-      elif any(distribution in distro.name().lower() for distribution in ["debian", "ubuntu"]) :
+      elif any(distribution in distro.name().lower() for distribution in ["debian", "ubuntu", "tuxedo os"]) :
         prereq_dir='/usr'
         prereq_inc='/usr/include/scotch-long'
         prereq_lib='/usr/lib/x86_64-linux-gnu/scotch-long'