]> SALOME platform Git repositories - tools/sat_salome.git/commitdiff
Salome HOME
tbb system package is libtbb12 on UB22.04 \n Fix post_script script in case no direct...
authorNabil Ghodbane <nabil.ghodbane@cea.fr>
Mon, 12 Dec 2022 15:22:30 +0000 (16:22 +0100)
committerNabil Ghodbane <nabil.ghodbane@cea.fr>
Mon, 12 Dec 2022 15:22:30 +0000 (16:22 +0100)
products/SALOME.pyconf
products/gmsh.pyconf
products/omniORB.pyconf
products/petsc.pyconf
products/post_scripts/fix_permissions.sh
products/salome_system.pyconf
products/tbb.pyconf

index e3c4098548907b45b005e58cf9229cbbe6cff426..e911b50e9ecebfb74968a6a65a8d061dc4a53912 100644 (file)
@@ -21,6 +21,7 @@ default :
         is_salome_application : "yes"
         incremental : "yes"
     }
+    post_script: "fix_permissions.sh"
 }
 
 default_win :
index 903dc7d51a7597890a19e3834f7171e3a0bc0217..29a1712d25fbcc5e1dd0157b76328961dd04b824 100644 (file)
@@ -18,6 +18,7 @@ default :
     {
       incremental : "yes"
     }
+    post_script: "fix_permissions.sh"
 } 
 
 default_win:
index 363becbf85c293b5c7a7b71794c5d90e1f963be8..10cc1b38cbb708bc448012e70c14121375946bc5 100644 (file)
@@ -17,6 +17,7 @@ default :
       incremental : "yes"
     }
     patches : []
+    post_script: "fix_permissions.sh"
 }
 
 version_4_2_3_win_dbg:
index bb9ebf4296a1f557862764189c57bc20dcadebcd..d7da29165a618c31a088ca52f86c93f6a2ce82dd 100644 (file)
@@ -18,6 +18,7 @@ default :
     {
       incremental : "yes"
     }
+    post_script: "fix_permissions.sh"
 }
 
 version_3_17_0 :
index 2bad9d5f7a4569eca49302b230034228248eb7ba..be019438287aa2bfafd4f0e0b4317c47e84dfa4f 100755 (executable)
@@ -2,9 +2,9 @@
 
 echo "changing permissions..."
 cd $PRODUCT_INSTALL
-find . -type d | xargs chmod ugo+rx
-find . -name \*.py | xargs chmod ugo+r
-find . -type f -perm 640 | xargs chmod ugo+r
-find . -type d -perm 700 | xargs chmod ugo+rx
-find . -type f -perm 700 | xargs chmod ugo+r
-find . -type f -perm 750 | xargs chmod uo+rx
+find . -type d | xargs -r chmod go+rx
+find . -name \*.py | xargs -r chmod go+r
+find . -type f -perm 640 | xargs -r chmod go+r
+find . -type d -perm 700 | xargs -r chmod go+rx
+find . -type f -perm 700 | xargs -r chmod go+r
+find . -type f -perm 750 | xargs -r chmod go+rx
index a2f4331f1acc1b4dad87f9ff71b0f576768d49bb..1406a45bf5b64c4ca89e377b23584506305023a6 100644 (file)
@@ -15,11 +15,11 @@ default :
                "libXi", "libXinerama", "libXmu", "libXpm", "libXrandr", "libXrender", "libXt", "libXtst", "lua",
                "mesa-libGLU", "ncurses-libs", "nspr", "nss", "nss-softokn-freebl", "nss-util", "openldap", "pango", "pcre",
                "pixman", "pulseaudio-libs", "pulseaudio-libs-glib2", "readline", "sqlite", "systemd-libs", "tbb", "xz-libs",
-               "zlib"]
+               "zlib", "tbb"]
         rpm_dev : ["openssl-devel", "tbb-devel", "gcc", "make", "sed", "gcc-c++", "expat-devel", "fontconfig-devel", "flex",
                    "bison", "mesa-libGLU-devel", "libxcb-devel", "xcb-util-devel", "libxkbcommon-devel", "libxkbcommon-x11-devel",
                    "bzip2-devel", "libXi-devel", "libXmu-devel", "automake", "libtool", "libjpeg-turbo-devel", "cmake",
-                   "libXpm-devel", "libXft-devel", "sqlite-devel", "libcurl-devel", "libXt-devel", "libXcursor-devel"]
+                   "libXpm-devel", "libXft-devel", "sqlite-devel", "libcurl-devel", "libXt-devel", "libXcursor-devel", "tbb-devel"]
         apt : ["libbsd0", "libbz2-1.0", "libc6", "libdrm2", "libegl1", "libexif12", "libexpat1",
                "libfftw3-double3", "libfontconfig1", "libgl1", "libglu1-mesa", "libgomp1", "libgphoto2-6", "libice6",
                "libjbig0", "libltdl7", "liblzma5", "libncurses5", "libnuma1", "libpcre3", "libquadmath0",
@@ -31,7 +31,7 @@ default :
                    "libglu1-mesa-dev", "perl", "libxcb-dri2-0-dev", "libxkbcommon-dev", "libxkbcommon-x11-dev", "bzip2",
                    "libxi-dev", "libxt-dev", "libxmu-dev", "libxpm-dev", "libxft-dev", "automake", "libtool", "libjpeg-dev",
                    "cmake", "libicu-dev", "libopenmpi-dev", "libreadline-dev", "libhwloc-dev", "libsqlite3-dev", "libcurl4-openssl-dev",
-                   "libxt-dev", "libxcursor-dev"]
+                   "libxt-dev", "libxcursor-dev", "libtbb-dev"]
 
         # specific to some platform(s)
         "CO7" :
@@ -72,14 +72,14 @@ default :
         "DB09" :
         {
             apt : ["libdc1394-22", "libopenexr22", "libwebp6", "libgfortran3", "libilmbase12", "libevent-2.0-5", "libpng16-16", "libgcc-6-dev",
-                   "libffi6", "libtinfo5", "libgphoto2-port12", "libglx0", "libopengl0", "libjsoncpp1"]
+                   "libffi6", "libtinfo5", "libgphoto2-port12", "libglx0", "libopengl0", "libjsoncpp1", "libtbb2"]
             apt_dev : ["libtbb-dev", "libpng-dev", "libtiff5-dev", "libgeotiff-dev", "libjpeg-dev", "libgif-dev", "libgeos-dev", "libsqlite3-dev", "texlive-latex-base", "texlive-latex-extra", "dvipng"]
         }
         "DB10" :
         {
             apt : ["libdc1394-22", "libopenexr23", "libwebp6", "libgfortran5", "libilmbase23", "libevent-2.1-6", "libpng16-16", "libgcc-8-dev",
                    "libffi6", "libtinfo6", "libgphoto2-port12", "libglx0", "libopengl0", "libzstd1", "libglvnd0", "libjsoncpp1", "libopenblas-base", "libscotch-6.0", "openmpi-bin",
-                   "libnetcdf13", "libgdal20"]
+                   "libnetcdf13", "libgdal20", "libtbb2"]
             apt_dev : ["libtbb-dev", "cython3", "libfftw3-dev", "libopenblas-dev",
                        "qttools5-dev", "libqt5svg5-dev", "libqt5x11extras5-dev", "qtxmlpatterns5-dev-tools", "libopenmpi-dev",
                       "libpng-dev", "libtiff5-dev", "libgeotiff-dev", "libjpeg-dev", "libgif-dev", "libgeos-dev", "libsqlite3-dev", "libnetcdf-dev", "libgdal-dev", "texlive-latex-base", "texlive-latex-extra", "dvipng"]
@@ -88,7 +88,7 @@ default :
         {
             apt : ["libdc1394-25", "libopenexr25", "libwebp6", "libgfortran5", "libilmbase25", "libevent-2.1-7", "libpng16-16", "libgcc-10-dev",
                    "libffi7", "libtinfo6", "libgphoto2-port12", "libglx0", "libopengl0", "libzstd1", "libglvnd0", "libjsoncpp24",
-                  "openmpi-bin", "libnetcdf18", "libgdal28"]
+                  "openmpi-bin", "libnetcdf18", "libgdal28", "libtbb2"]
             apt_dev : ["libtbb-dev", "cython3", "libfftw3-dev", "libopenblas-dev",
                        "qttools5-dev", "libqt5svg5-dev", "libqt5x11extras5-dev", "qtxmlpatterns5-dev-tools", "libopenmpi-dev",
                       "libpng-dev", "libtiff5-dev", "libgeotiff-dev", "libjpeg-dev", "libgif-dev", "libgeos-dev", "libsqlite3-dev", "libnetcdf-dev", "libgdal-dev", "texlive-latex-base", "texlive-latex-extra", "dvipng"]
@@ -102,14 +102,14 @@ default :
         "UB18.04" :
         {
             apt : ["libdc1394-22", "libopenexr22", "libwebp6", "libgfortran4", "libilmbase12", "libevent-2.1-6", "libpng16-16", "libgcc-7-dev",
-                   "libffi6", "libtinfo5", "libgphoto2-port12", "libglx0", "libopengl0", "libzstd1", "libglvnd0", "libopenblas-base", "libgeos-c1v5"]
+                   "libffi6", "libtinfo5", "libgphoto2-port12", "libglx0", "libopengl0", "libzstd1", "libglvnd0", "libopenblas-base", "libgeos-c1v5", "libtbb2"]
             apt_dev : ["libtbb-dev", "cython3", "libfftw3-dev", "libopenblas-dev",
                       "libpng-dev", "libtiff5-dev", "libgeotiff-dev", "libjpeg-dev", "libgif-dev", "libgeos-dev", "libsqlite3-dev", "dvipng"]
         }
         "UB20.04" :
         {
             apt : ["libdc1394-22", "libopenexr24", "libwebp6", "libgfortran5", "libilmbase24", "libevent-2.1-7", "libpng16-16", "libgcc-9-dev",
-                   "libffi7", "libtinfo6", "libgphoto2-port12", "libglx0", "libopengl0", "libzstd1", "libglvnd0", "openmpi-bin", "libgdal26", "libopenblas0-serial"]
+                   "libffi7", "libtinfo6", "libgphoto2-port12", "libglx0", "libopengl0", "libzstd1", "libglvnd0", "openmpi-bin", "libgdal26", "libopenblas0-serial", "libtbb2"]
             apt_dev : ["libtbb-dev", "cython3", "libfftw3-dev", "libopenblas-dev",
                        "qttools5-dev", "libqt5svg5-dev", "libqt5x11extras5-dev", "qtxmlpatterns5-dev-tools", "libopenmpi-dev",
                       "libpng-dev", "libtiff5-dev", "libgeotiff-dev", "libjpeg-dev", "libgif-dev", "libgeos-dev", "libsqlite3-dev", "libgdal-dev", "dvipng"]
@@ -117,7 +117,7 @@ default :
         "UB22.04" :
         {
             apt : ["libdc1394-25", "libopenexr25", "libwebp7", "gfortran-11", "libilmbase25", "libevent-2.1-7", "libpng16-16", "libgcc-11-dev",
-                   "libffi7", "libtinfo6", "libgphoto2-port12", "libglx0", "libopengl0", "libzstd1", "libglvnd0", "openmpi-bin", "libgdal30", "libopenblas0-serial"]
+                   "libffi7", "libtinfo6", "libgphoto2-port12", "libglx0", "libopengl0", "libzstd1", "libglvnd0", "openmpi-bin", "libgdal30", "libopenblas0-serial", "libtbb12"]
             apt_dev : ["libtbb-dev", "cython3", "libfftw3-dev", "libopenblas-dev",
                        "qttools5-dev", "libqt5svg5-dev", "libqt5x11extras5-dev", "qtxmlpatterns5-dev-tools", "libopenmpi-dev",
                       "libpng-dev", "libtiff5-dev", "libgeotiff-dev", "libjpeg-dev", "libgif-dev", "libgeos-dev", "libsqlite3-dev", "libgdal-dev", "dvipng"]
index e7f3506e65c60289c96aaff5ec8f04acb94e6eee..c78cd93b7c0ac2f6b586ce0809574d02fd03f03b 100644 (file)
@@ -4,13 +4,6 @@ default :
     build_source : "script"
     compil_script :  $name + $VARS.scriptExtension
     get_source : "archive"
-    system_info : 
-    {
-        rpm : ["tbb"]
-        rpm_dev : ["tbb-devel"]
-        apt : ["libtbb2"]
-        apt_dev : ["libtbb-dev"]
-    }
     environ :
     {
        env_script : $name + ".py"