From 80882d521462636b1897841929dad831f071625f Mon Sep 17 00:00:00 2001 From: Nabil Ghodbane Date: Fri, 11 Mar 2022 13:18:20 +0100 Subject: [PATCH] bos #26398: cgns 4.2.0 --- applications/SALOME-master-MPI.pyconf | 2 +- applications/SALOME-master-native.pyconf | 2 +- applications/SALOME-master-windows.pyconf | 2 +- applications/SALOME-master.pyconf | 2 +- products/compil_scripts/cgns.bat | 5 +++++ products/compil_scripts/cgns.sh | 5 +++++ 6 files changed, 14 insertions(+), 4 deletions(-) diff --git a/applications/SALOME-master-MPI.pyconf b/applications/SALOME-master-MPI.pyconf index a19af3b..b068b5d 100644 --- a/applications/SALOME-master-MPI.pyconf +++ b/applications/SALOME-master-MPI.pyconf @@ -34,7 +34,7 @@ APPLICATION : CAS : 'V7_5_3p1' C3PO: 'v2.0' certifi : '2018.8.24' - cgns : {tag : '4.1.1', hpc : 'yes'} + cgns : {tag : '4.2.0', hpc : 'yes'} chardet : '3.0.4' click : '6.7' cmake : '3.12.1' diff --git a/applications/SALOME-master-native.pyconf b/applications/SALOME-master-native.pyconf index dd07385..082c3f8 100644 --- a/applications/SALOME-master-native.pyconf +++ b/applications/SALOME-master-native.pyconf @@ -36,7 +36,7 @@ APPLICATION : certifi : 'native' # Standalone native cgns works well. Unfortunately, it's directly linked to native hdf which uses a higher version than us. # Rollback to embedded version to avoid versions mismatch between both of them (see imp_1538_cgns_export_import.py) - cgns : '4.1.1' + cgns : '4.2.0' chardet : 'native' click : 'native' cmake : 'native' diff --git a/applications/SALOME-master-windows.pyconf b/applications/SALOME-master-windows.pyconf index a1ee13d..5af5c55 100644 --- a/applications/SALOME-master-windows.pyconf +++ b/applications/SALOME-master-windows.pyconf @@ -38,7 +38,7 @@ APPLICATION : boost : '1.67.0' CAS : {tag: 'V7_5_3p1', section: 'version_V7_5_3p1_win'} certifi : '2019.6.16' - cgns : '4.1.1' + cgns : '4.2.0' chardet : '3.0.4' click : '7.0' cmake : '3.12.1' diff --git a/applications/SALOME-master.pyconf b/applications/SALOME-master.pyconf index 92db8fa..e717621 100644 --- a/applications/SALOME-master.pyconf +++ b/applications/SALOME-master.pyconf @@ -34,7 +34,7 @@ APPLICATION : CAS : 'V7_5_3p1' C3PO: 'v2.0' certifi : '2018.8.24' - cgns : '4.1.1' + cgns : '4.2.0' chardet : '3.0.4' click : '6.7' cmake : '3.12.1' diff --git a/products/compil_scripts/cgns.bat b/products/compil_scripts/cgns.bat index 0cdb99c..d7994cb 100755 --- a/products/compil_scripts/cgns.bat +++ b/products/compil_scripts/cgns.bat @@ -32,6 +32,11 @@ if DEFINED SAT_HPC ( ) else ( SET CMAKE_OPTIONS=%CMAKE_OPTIONS% -DMEDFILE_USE_MPI:BOOL=OFF ) +REM bos #26398 +if "%VERSION%" == "4.2.0" ( + SET CMAKE_OPTIONS=%CMAKE_OPTIONS% -DCGNS_ENABLE_64BIT:BOOL=OFF +) + set CMAKE_OPTIONS=%CMAKE_OPTIONS% -DCMAKE_GENERATOR="Visual Studio 15 2017 Win64" diff --git a/products/compil_scripts/cgns.sh b/products/compil_scripts/cgns.sh index 4dd814f..262b9f6 100755 --- a/products/compil_scripts/cgns.sh +++ b/products/compil_scripts/cgns.sh @@ -34,6 +34,11 @@ then fi fi +# bos #26398 +if [ $VERSION == "4.2.0" ]; then + echo "WARNING: switching OFF 64 bits support!" + CMAKE_OPTIONS+=" -DCGNS_ENABLE_64BIT:BOOL=OFF" +fi echo echo "*** cmake" $CMAKE_OPTIONS cmake $CMAKE_OPTIONS $SOURCE_DIR -- 2.39.2