diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2021-02-23 18:51:40 +0000 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2021-02-23 18:51:40 +0000 |
commit | 5a0fcc41724995da83f34f0589b44b87596fba28 (patch) | |
tree | c99b68bd4de829a4c94ad2a57f8039eab5e58824 /science | |
parent | a31472aeb9977ced0a7108628f99f2cc655f507a (diff) | |
download | ports-5a0fcc41724995da83f34f0589b44b87596fba28.tar.gz ports-5a0fcc41724995da83f34f0589b44b87596fba28.zip |
science/dakota: Add port options GUI, HDF5, enable some more optional features
Notes
Notes:
svn path=/head/; revision=566422
Diffstat (limited to 'science')
-rw-r--r-- | science/dakota/Makefile | 29 | ||||
-rw-r--r-- | science/dakota/pkg-plist | 6 |
2 files changed, 30 insertions, 5 deletions
diff --git a/science/dakota/Makefile b/science/dakota/Makefile index 5d671b24adc1..cd3e92187864 100644 --- a/science/dakota/Makefile +++ b/science/dakota/Makefile @@ -2,7 +2,7 @@ PORTNAME= dakota DISTVERSION= 6.13.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= science MASTER_SITES= https://dakota.sandia.gov/sites/default/files/distributions/public/ @@ -29,6 +29,13 @@ SHEBANG_FILES= interfaces/Python/mpitile \ CMAKE_ON= Boost_NO_BOOST_CMAKE \ DAKOTA_GIT_checkout +#CMAKE_ON+= HAVE_C3 # causes "duplicate include" error +#CMAKE_ON+= DAKOTA_DL_SOLVER # fails to compile: error: declaration of anonymous class must be a definition +#CMAKE_ON+= HAVE_NOWPAC # installs files into $PORTSDIR +CMAKE_ON+= HAVE_DREAM HAVE_ADAPTIVE_SAMPLING HAVE_OPTPP DAKOTA_HOPS HAVE_ACRO \ + HAVE_JEGA HAVE_NOMAD HAVE_NPSOL HAVE_NL2SOL HAVE_DOT HAVE_SURFPACK \ + HAVE_CONMIN HAVE_DDACE HAVE_FSUDACE HAVE_PSUADE HAVE_ROL HAVE_DEMO_TPL # enable some methods that aren't enabled by default, see the list @ src/DakotaIterator.cpp + CMAKE_OFF= DAKOTA_ENABLE_TESTS CMAKE_ARGS= -DDakota_VERSION_SRC:STRING=${DISTVERSION} -DDakota_GIT_REVL:STRING=${GIT_HASH} -DDakota_RELEASE_DATE:${STRING}=20201116 @@ -65,13 +72,23 @@ do-fetch: DISTNAME= ${PORTNAME}-${DISTVERSION}-release-public.src-UI .endif -OPTIONS_DEFINE= GSL -OPTIONS_DEFAULT= GSL +OPTIONS_DEFINE= GSL GUI HDF5 +OPTIONS_DEFAULT= GSL HDF5 +OPTIONS_SUB= yes GSL_DESC= GSL support -GSL_CMAKE_BOOL= DAKOTA_HAVE_GSL HAVE_QUESO # QUESO requires GSL +GSL_CMAKE_BOOL= DAKOTA_HAVE_GSL HAVE_QUESO HAVE_QUESO_GPMSA # QUESO requires GSL GSL_LIB_DEPENDS= libgsl.so:math/gsl +HDF5_CMAKE_BOOL= DAKOTA_HAVE_HDF5 \ + HAVE_MUQ # MUQ module requires HDF5 +HDF5_LIB_DEPENDS= libhdf5.so:science/hdf5 \ + libsz.so:science/szip + +GUI_DESC= Build the Dakota/Motif Graphics package +GUI_CMAKE_BOOL= HAVE_X_GRAPHICS +GUI_BROKEN= error: non-void function 'SciPlotListReturnPtr' should return a value + post-extract: @${FIND} ${WRKSRC} -name "*.orig" -delete @${ECHO} ${DISTVERSION} > ${WRKSRC}/VERSION # expected by the 'install' target @@ -79,6 +96,10 @@ post-extract: post-install: # remove eigen3 that Dakota installs cd ${STAGEDIR}${PREFIX} && ${RM} -r include/eigen3 share/eigen3 + # install libraries that it fails to install +.for l in libmuqUtilities.so libmuqModeling.so libmuqSamplingAlgorithms.so + ${INSTALL_LIB} ${BUILD_WRKSRC}/packages/external/muq2/lib/${l} ${STAGEDIR}${PREFIX}/lib +.endfor do-test: # from Additional Test Suites @ https://dakota.sandia.gov/content/additional-test-suites (many tests are known to fail) # minimal set of fast-running tests that should NOT FAIL (may DIFF, depending on platform / compiler) diff --git a/science/dakota/pkg-plist b/science/dakota/pkg-plist index 2e381fcd1e1c..fb3eee8fa829 100644 --- a/science/dakota/pkg-plist +++ b/science/dakota/pkg-plist @@ -2498,6 +2498,7 @@ lib/libdakota_src_fortran.so lib/libdakota_surrogates.so lib/libdakota_util.so lib/libddace.so +lib/libdemo_tpl.so lib/libdfftpack.so lib/libdream.so lib/libeutils.so @@ -2510,6 +2511,9 @@ lib/liblhs.so lib/liblhs_mod.so lib/liblhs_mods.so lib/libmoga.so +lib/libmuqUtilities.so +lib/libmuqModeling.so +lib/libmuqSamplingAlgorithms.so lib/libncsuopt.so lib/libnidr.so lib/libnomad.so @@ -2518,7 +2522,7 @@ lib/libpebbl.so lib/libpecos_src.so lib/libpecos_util.so lib/libpsuade.so -lib/libqueso.so +%%GSL%%lib/libqueso.so lib/librol.so lib/librol.so.13 lib/librol.so.13.0 |