'APPLICATION.products.statsmodels' : {tag: '0.6.1', base: 'no', section: 'version_0_6_1_no_pip' }
'APPLICATION.products.gdal' : {tag:'2.4.0', base: 'no', section: 'version_2_4_0_CO8' } # spns #29324
'APPLICATION.products.swig' : '4.0.2'
+ 'APPLICATION.products.openturns' : {tag: '1.21', base: 'no', section: 'version_1_21_RO8' }
}
{
__condition__ : "VARS.dist in ['FD32']"
cd ${BUILD_DIR}/$k
cp -R $SOURCE_DIR/$k-${OTP[$k]}/* .
#
- $PYTHONBIN setup.py build
- if [ $? -ne 0 ]
- then
- echo "ERROR on ${PYTHONBIN} setup.py build"
- exit 4
- fi
- #
- $PYTHONBIN setup.py install --prefix=$PRODUCT_INSTALL
- if [ $? -ne 0 ]
- then
- echo "ERROR on ${PYTHONBIN} setup.py install --prefix=$PRODUCT_INSTALL"
- exit 5
+ if [ $k == "otpod" ]; then
+ ${PYTHONBIN} -m pip install --cache-dir=$BUILD_DIR/cache/pip . --no-deps --prefix=$PRODUCT_INSTALL
+ if [ $? -ne 0 ]; then
+ echo "ERROR on ${PYTHONBIN} -m pip install --cache-dir=$BUILD_DIR/cache/pip . --no-deps --prefix=$PRODUCT_INSTALL"
+ exit 4
+ fi
+ else
+ $PYTHONBIN setup.py build
+ if [ $? -ne 0 ]
+ then
+ echo "ERROR on ${PYTHONBIN} setup.py build"
+ exit 4
+ fi
+ #
+ $PYTHONBIN setup.py install --prefix=$PRODUCT_INSTALL
+ if [ $? -ne 0 ]
+ then
+ echo "ERROR on ${PYTHONBIN} setup.py install --prefix=$PRODUCT_INSTALL"
+ exit 5
+ fi
fi
done
version_1_21 :
{
compil_script : "openturns-1.21.sh"
- patches : ['openturns-1.21.0001.patch']
+ patches : ['openturns-1.21.0001.patch', 'openturns-1.21.0005.patch']
depend : ['Python', 'lapack', 'hdf5', 'tbb', 'nlopt', 'libxml2', 'eigen', 'matplotlib', 'cminpack', 'FMILibrary', 'PyFMI', 'boost']
opt_depend : ['pandas', 'statsmodels', 'patsy']
}
}
}
+version_1_21_RO8 :
+{
+ compil_script : "openturns-1.21.sh"
+ patches : ['openturns-1.21.0001.patch','openturns-1.21.0005.patch', openturns-1.21.0006.patch']
+ depend : ['Python', 'lapack', 'hdf5', 'tbb', 'nlopt', 'libxml2', 'eigen', 'matplotlib', 'cminpack', 'FMILibrary', 'PyFMI', 'boost']
+ opt_depend : ['pandas', 'statsmodels', 'patsy']
+}
+
version_1_21_CO8 :
{
compil_script : "openturns-1.21.sh"
- patches : ['openturns-1.21.0002.patch']
+ patches : ['openturns-1.21.0002.patch', 'openturns-1.21.0005.patch']
depend : ['Python', 'lapack', 'hdf5', 'tbb', 'nlopt', 'libxml2', 'eigen', 'matplotlib', 'cminpack', 'FMILibrary', 'PyFMI', 'boost']
opt_depend : ['pandas', 'statsmodels', 'patsy']
}
--- /dev/null
+--- openturns-1.21_ref/openturns-1.21/lib/src/CMakeLists.txt 2023-09-13 14:59:41.000000000 +0200
++++ openturns-1.21_dev/openturns-1.21/lib/src/CMakeLists.txt 2023-09-28 09:07:58.286148187 +0200
+@@ -93,7 +93,7 @@
+ add_dependencies (OT generate_csv_parser)
+ endif ()
+
+-target_link_libraries (OT PUBLIC ${OPENTURNS_LIBRARIES})
++target_link_libraries (OT PUBLIC ${OPENTURNS_LIBRARIES} ${BLAS_LIBRARIES} ${CBLAS_LIBRARIES})
+ target_link_libraries (OT PRIVATE ${OPENTURNS_PRIVATE_LIBRARIES})
+
+ target_include_directories (OT INTERFACE $<INSTALL_INTERFACE:include>)