SALOME_trace : "local" # local/file:.../with_logger
SALOME_MODULES : "SHAPER,SHAPERSTUDY,GEOM,SMESH,PARAVIS,YACS,JOBMANAGER" # specify the first modules to display in gui
SALOME_ACTOR_DELEGATE_TO_VTK : '1'
+ SALOME_GMSH_HEADERS_STD : '1'
}
products :
{
SALOME_trace : "local" # local/file:.../with_logger
SALOME_MODULES : "SHAPER,SHAPERSTUDY,GEOM,SMESH,PARAVIS,YACS,JOBMANAGER" # specify the first modules to display in gui
SALOME_ACTOR_DELEGATE_TO_VTK : '1'
+ SALOME_GMSH_HEADERS_STD : '1'
}
products :
{
'APPLICATION.products.Sphinx' : {tag: '1.7.6', base: 'no', section: 'version_1_7_6_no_pip' }
}
{
- # FD 34 qt5 package is qt5-qtbase-devel.
__condition__ : "VARS.dist in ['FD34']"
'APPLICATION.products.opencv' : '3.2.0'
'APPLICATION.products.omniORB' : '4.2.4'
'APPLICATION.products.omniORBpy': '4.2.4'
- 'APPLICATION.products.PyFMI' : {tag: '2.5', base: 'no', section: 'version_2_5_no_pip' }
- 'APPLICATION.products.root' : {tag:'6.22.02', base: 'no', section: 'version_6_22_02_FD34'}
+ 'APPLICATION.products.PyFMI' : {tag: '2.5', base: 'no', section: 'version_2_5_no_pip' }
+ 'APPLICATION.products.root' : {tag:'6.22.02', base: 'no', section: 'version_6_22_02_FD34' }
+ 'APPLICATION.products.gdal' : {tag:'2.4.0', base: 'no', section: 'version_2_4_0_FD34' } # spns #29324
}
]
RESTRICTED_ROOT_DIR : $workdir + $VARS.sep + "SOURCES" + $VARS.sep + "RESTRICTED"
SALOME_USE_64BIT_IDS : '1'
VTK_SMP_IMPLEMENTATION_TYPE : OpenMP # OpenMP # choose among: sequential / OpenMP / TBB switches
+ SALOME_GMSH_HEADERS_STD : '1'
}
launch : {PYTHONIOENCODING:"UTF_8", SALOME_MODULES_ORDER:"SHAPER:SHAPERSTUDY:GEOM:SMESH"}
SALOME_trace : "local" # local/file:.../with_logger
### common compiler and install settings
CMAKE_OPTIONS+=" -DCMAKE_INSTALL_PREFIX:STRING=${PRODUCT_INSTALL}"
CMAKE_OPTIONS+=" -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON"
-if [ -n "$SAT_DEBUG" ]
-then
+if [ -n "$SAT_DEBUG" ]; then
CMAKE_OPTIONS+=" -DCMAKE_BUILD_TYPE:STRING=Debug"
else
CMAKE_OPTIONS+=" -DCMAKE_BUILD_TYPE:STRING=Release"
### OpenGL settings
CMAKE_OPTIONS+=" -DOpenGL_GL_PREFERENCE:STRING=LEGACY"
CMAKE_OPTIONS+=" -DCATALYST_BUILD_STUB_IMPLEMENTATION:BOOL=ON"
-if [ $VERSION == "V9_7_0" ] || [ $VERSION == "V9_8_0" ]; then
- echo "INFO: skipping CATALYST..."
-else
- echo "INFO: setting CATALYST"
- CMAKE_OPTIONS+=" -DPARAVIEW_BUILD_PLUGIN_CatalystScriptGeneratorPlugin=ON"
- CMAKE_OPTIONS+=" -DPARAVIEW_AUTOLOAD_PLUGIN_CatalystScriptGeneratorPlugin=ON"
- CMAKE_OPTIONS+=" -DPARAVIEW_BUILD_CATALYST_ADAPTORS=ON"
- CMAKE_OPTIONS+=" -DUSE_CATALYST:BOOL=ON"
- CMAKE_OPTIONS+=" -DPARAVIEW_ENABLE_CATALYST=ON"
-fi
+
+echo "INFO: setting CATALYST"
+CMAKE_OPTIONS+=" -DPARAVIEW_BUILD_PLUGIN_CatalystScriptGeneratorPlugin=ON"
+CMAKE_OPTIONS+=" -DPARAVIEW_AUTOLOAD_PLUGIN_CatalystScriptGeneratorPlugin=ON"
+CMAKE_OPTIONS+=" -DPARAVIEW_BUILD_CATALYST_ADAPTORS=ON"
+CMAKE_OPTIONS+=" -DUSE_CATALYST:BOOL=ON"
+CMAKE_OPTIONS+=" -DPARAVIEW_ENABLE_CATALYST=ON"
+
### spns #20550 - Headless mode
-if [ -n "$PARAVIEW_HEADLESS_MODE" ]
-then
+if [ -n "$PARAVIEW_HEADLESS_MODE" ]; then
EGL_FOUND=false
LINUX_DISTRIBUTION="$DIST_NAME$DIST_VERSION"
case $LINUX_DISTRIBUTION in
fi
### Ray-tracing settings
-if [ -n "$OSPRAY_ROOT_DIR" ]
-then
+if [ -n "$OSPRAY_ROOT_DIR" ]; then
CMAKE_OPTIONS+=" -DPARAVIEW_ENABLE_RAYTRACING:BOOL=ON"
CMAKE_OPTIONS+=" -DVTK_ENABLE_OSPRAY:BOOL=ON"
CMAKE_OPTIONS+=" -Dospray_DIR:PATH=${OSPRAY_ROOT_DIR}/lib/cmake/ospray-${OSPRAY_VERSION}"
# GDAL see bos #26944
if [ -n "$GDAL_ROOT_DIR" ]; then
echo "INFO: switching ON GDAL"
- CMAKE_OPTIONS+=" -DPARAVIEW_ENABLE_GDAL=ON"
+ CMAKE_OPTIONS+=" -DPARAVIEW_ENABLE_GDAL:BOOL=ON"
if [ "$GDAL_ROOT_DIR" != "/usr" ]; then
CMAKE_OPTIONS+=" -DGDAL_ROOT_DIR=$GDAL_ROOT_DIR"
CMAKE_OPTIONS+=" -DGDAL_LIBRARY=$GDAL_ROOT_DIR/lib/libgdal.so"
CMAKE_OPTIONS+=" -DGDAL_INCLUDE_DIR=$GDAL_ROOT_DIR/include"
fi
+ CMAKE_OPTIONS+=" -DPARAVIEW_GENERATE_PROXY_DOCUMENTATION:BOOL=ON"
+ CMAKE_OPTIONS+=" -DPARAVIEW_PLUGIN_ENABLE_GeographicalMap:BOOL=ON"
+fi
+
+# NETCDF see bos #26944
+if [ -n "$NETCDF_ROOT_DIR" ]; then
+ echo "INFO: switching ON NETCDF"
+ CMAKE_OPTIONS+=" -DVTK_MODULE_USE_EXTERNAL_VTK_netcdf:BOOL=ON"
+ if [ "NETCDF_ROOT_DIR" != "/usr" ]; then
+ CMAKE_OPTIONS+=" -DNETCDF_ROOT_DIR=$NETCDF_ROOT_DIR"
+ fi
+ CMAKE_OPTIONS+=" -DVTK_MODULE_ENABLE_VTK_FiltersParallelGeometry=YES"
fi
echo
fi
echo
-if [ $VERSION == "V9_8_0" ]; then
+if [ -n "$SALOME_GMSH_HEADERS_STD" ]; then
+ echo "Using standard directory structure"
+else
echo "*** copy all .h in sources to install"
cp -f --backup=numbered `find $SOURCE_DIR -name "*.h"` $PRODUCT_INSTALL/include/ && \
mv $PRODUCT_INSTALL/include/gmsh/* $PRODUCT_INSTALL/include/ && \
fi
fi
-
echo
echo "########## END"
build_source : "script"
compil_script : $name + $VARS.scriptExtension
get_source : "archive"
- archive_info :
- {
- archive_name : "gdal-" + $APPLICATION.products.gdal + ".tar.gz"
- }
environ :
{
env_script : $name + ".py"
{
compil_script : 'gdal-2.4.0' + $VARS.scriptExtension
}
+
+version_2_4_0_FD34:
+{
+ compil_script : 'gdal-2.4.0.sh'
+ patches : ["gdal.0001-r2000.patch"]
+}
--- /dev/null
+diff -Naur gdal_ref/gdal/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp gdal_new/gdal/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp
+--- gdal_ref/gdal/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp 2022-01-10 21:48:58.000000000 +0100
++++ gdal_new/gdal/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp 2022-03-15 12:09:23.888534108 +0100
+@@ -38,7 +38,7 @@
+ #include <iostream>
+ #include <memory>
+ #include <string>
+-
++#include <limits>
+ #if ((defined(__sun__) || defined(__FreeBSD__)) && __GNUC__ == 4 && __GNUC_MINOR__ == 8) || defined(__ANDROID__)
+ // gcc 4.8 on Solaris 11.3 or FreeBSD 11 doesn't have std::string
+ #include <sstream>