]> SALOME platform Git repositories - tools/sat_salome.git/commitdiff
Salome HOME
spns #29880 : UB22.04 support: opencv - omniORB
authorNabil Ghodbane <nabil.ghodbane@cea.fr>
Wed, 17 Aug 2022 12:50:00 +0000 (14:50 +0200)
committerNabil Ghodbane <nabil.ghodbane@cea.fr>
Wed, 17 Aug 2022 12:50:00 +0000 (14:50 +0200)
applications/SALOME-master-native.pyconf
products/compil_scripts/opencv.sh

index df8fc04c710fdd878a08c22b3234bd2f2dfddf4d..cd63f816acd520d1f7f4baca4059595f4ac0a972 100644 (file)
@@ -213,6 +213,17 @@ __overwrite__ :
         'APPLICATION.products.PyFMI'   : {tag: '2.5',   base: 'no', section: 'version_2_5_no_pip'           }
         'APPLICATION.products.netcdf'  : '4.6.2'
     }
+    {
+        #
+        __condition__ : "VARS.dist in ['UB22.04']"
+        'APPLICATION.products.opencv'  : '3.2.0'
+        'APPLICATION.products.cminpack': 'native'
+        'APPLICATION.products.PyFMI'   : {tag: '2.5',   base: 'no', section: 'version_2_5_no_pip'           }
+        'APPLICATION.products.netcdf'  : '4.6.2'
+        'APPLICATION.rm_products'      : ['mesa']
+        'APPLICATION.products.omniORB'   : '4.2.5'
+        'APPLICATION.products.omniORBpy' : '4.2.5'
+    }
     {
         # DB10:
         #   - Qt minimal version 5.12
index c4198f1c35e76960edc4e1f5b3c6b2aeaa368ad8..2663e1962e9a025ef469bb3d2d8be962bc078c54 100755 (executable)
@@ -28,10 +28,14 @@ if version_ge $VERSION "3."; then
     CMAKE_OPTIONS+=" -DENABLE_PRECOMPILED_HEADERS:BOOL=OFF"
     CMAKE_OPTIONS+=" -DCMAKE_CXX_FLAGS=-fPIC"
     CMAKE_OPTIONS+=" -DCMAKE_C_FLAGS=-fPIC"
-    if [[ $DIST_NAME == "FD" && $DIST_VERSION == "34" ]]
-        then
+
+    LINUX_DIST="$DIST_NAME$DIST_VERSION"
+    LINUX_DISTRIBUTION="$DIST_NAME$DIST_VERSION"
+    case $LINUX_DISTRIBUTION in
+       FD34|FD35|FD36|UB22*)
             CMAKE_OPTIONS+=" -DCMAKE_CXX_FLAGS=${CPPSTD}"
-        fi
+           ;;
+    esac
     CMAKE_OPTIONS+=" -DCMAKE_C_FLAGS=-fPIC"
     # 
 else