From: Nabil Ghodbane Date: Thu, 26 Sep 2024 18:40:29 +0000 (+0200) Subject: Handle tuxedo os X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ddfe4d1b41cd1f1c93a7e4aea31611381a251831;p=tools%2Fsat_salome.git Handle tuxedo os --- diff --git a/products/env_scripts/nlopt.py b/products/env_scripts/nlopt.py index 4e98f17..ed90637 100644 --- a/products/env_scripts/nlopt.py +++ b/products/env_scripts/nlopt.py @@ -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: diff --git a/products/env_scripts/openmpi.py b/products/env_scripts/openmpi.py index 7a8de3c..e103adf 100644 --- a/products/env_scripts/openmpi.py +++ b/products/env_scripts/openmpi.py @@ -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: diff --git a/products/env_scripts/ptscotch.py b/products/env_scripts/ptscotch.py index c07aa4e..a7e35ac 100644 --- a/products/env_scripts/ptscotch.py +++ b/products/env_scripts/ptscotch.py @@ -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' diff --git a/products/env_scripts/qt.py b/products/env_scripts/qt.py index f355476..e77ceec 100644 --- a/products/env_scripts/qt.py +++ b/products/env_scripts/qt.py @@ -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 diff --git a/products/env_scripts/scotch.py b/products/env_scripts/scotch.py index eac32ed..8dfd02e 100755 --- a/products/env_scripts/scotch.py +++ b/products/env_scripts/scotch.py @@ -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'