From: Guytri KASTANE Date: Mon, 4 Nov 2024 14:36:08 +0000 (+0100) Subject: spns #43007: added fftw for embedded salome X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d1b962d5df1666ca8b91024e34c0538cec2357bb;p=tools%2Fsat_salome.git spns #43007: added fftw for embedded salome --- diff --git a/applications/SALOME-master.pyconf b/applications/SALOME-master.pyconf index 20c6407..e4f3ed7 100644 --- a/applications/SALOME-master.pyconf +++ b/applications/SALOME-master.pyconf @@ -62,6 +62,7 @@ APPLICATION : eigen : '3.3.4' embree : '3.12.2' FMILibrary : '2.0.3' + fftw : '3.3.10' fonttools : '4.48.1' freeimage : '3.16.0' freetype : '2.9.1' diff --git a/products/compil_scripts/fftw.sh b/products/compil_scripts/fftw.sh new file mode 100755 index 0000000..ba0fa55 --- /dev/null +++ b/products/compil_scripts/fftw.sh @@ -0,0 +1,48 @@ +#!/bin/bash + +echo "##########################################################################" +echo "FFTW" $VERSION +echo "##########################################################################" + +CONFIGURE_OPTIONS= +if [ -n "${SAT_HPC}" ]; then + CONFIGURE_OPTIONS+=" --enable-mpi" +fi + +if [ -n "${SAT_DEBUG}" ]; then + CONFIGURE_OPTIONS+=" --enable-debug" +fi + +CFLAGS_OPTIONS= +#CFLAGS_OPTIONS+=" -fPIC" + + +echo +echo "*** configure --prefix=${PRODUCT_INSTALL} --enable-shared ${CONFIGURE_OPTIONS} CFLAGS=${CFLAGS_OPTIONS}" +${SOURCE_DIR}/configure --prefix=${PRODUCT_INSTALL} --enable-shared \ + ${CONFIGURE_OPTIONS} \ + CFLAGS=${CFLAGS_OPTIONS} + +if [ $? -ne 0 ]; then + echo "ERROR on configure" + exit 1 +fi + +echo +echo "*** make" +make +if [ $? -ne 0 ]; then + echo "ERROR on make" + exit 2 +fi + +echo +echo "*** make install" +make install +if [ $? -ne 0 ]; then + echo "ERROR on make install" + exit 3 +fi + +echo +echo "########## END" diff --git a/products/fftw.pyconf b/products/fftw.pyconf index 6915808..e1a1f25 100644 --- a/products/fftw.pyconf +++ b/products/fftw.pyconf @@ -7,9 +7,9 @@ default : system_info : { rpm : ["fftw"] - rpm_dev : ["fftw-devel", "fftw-openmpi-devel"] + rpm_dev : ["fftw-devel"] #, "fftw-openmpi-devel" apt : ["fftw"] - apt_dev : ["fftw-dev", "libfftw3-mpi-dev"] + apt_dev : ["fftw-dev"] #, "libfftw3-mpi-dev" } archive_info: {