diff --git a/math/deal.ii/Makefile b/math/deal.ii/Makefile index 194ec73aae12..5636da7206d5 100644 --- a/math/deal.ii/Makefile +++ b/math/deal.ii/Makefile @@ -1,116 +1,117 @@ PORTNAME= deal.II DISTVERSION= 9.6.1 +PORTREVISION= 1 CATEGORIES= math MASTER_SITES= https://github.com/dealii/dealii/releases/download/v${DISTVERSION}/ DISTNAME= dealii-${DISTVERSION} MAINTAINER= yuri@FreeBSD.org COMMENT= Finite element Differential Equations Analysis Library (DEAL) WWW= https://www.dealii.org/ \ https://github.com/dealii/dealii LICENSE= APACHE20 LGPL21 LICENSE_COMB= dual LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE.md LICENSE_FILE_LGPL21= ${WRKSRC}/LICENSE.md BROKEN_aarch64= error: use of undeclared identifier '__TBB_machine_fetchadd4' BROKEN_armv7= clang runs out of memory BUILD_DEPENDS= ${LOCALBASE}/include/boost/config.hpp:devel/boost-libs LIB_DEPENDS= libblis.so:math/blis \ libboost_serialization.so:devel/boost-libs \ libhdf5.so:science/hdf5 \ libmetis.so:math/metis \ libvtkCommonCore-${VTK_VER}.so:math/vtk${VTK_VER:R} # libkokkoscore.so:devel/kokkos TMP commented out for bundled kokkos, tests fail for non-bundled kokkos, see https://github.com/dealii/dealii/issues/15692 USES= blaslapack cmake:testing compiler:c++17-lang localbase:ldflags xorg USE_LDCONFIG= yes CMAKE_OFF= DEAL_II_ALLOW_BUNDLED DEAL_II_COMPONENT_EXAMPLES \ DEAL_II_WITH_P4EST DEAL_II_WITH_TRILINOS DEAL_II_WITH_UMFPACK \ DEAL_II_WITH_NANOFLANN DEAL_II_WITH_MUPARSER DEAL_II_WITH_ASSIMP \ DEAL_II_WITH_HDF5 CMAKE_ON= DEAL_II_FORCE_BUNDLED_TBB # instead of LIB_DEPENDS+=libtbb.so:devel/onetbb, pending https://github.com/dealii/dealii/issues/11561 CMAKE_ON+= FORCE_BUNDLED_KOKKOS # TMP turn on bundled kokkos CMAKE_TESTING_ON= FREEBSD_ENABLE_TESTS LDFLAGS+= -lomp LDFLAGS+= -lexecinfo # TMP for bundled kokkos XARCH!= uname -p OPTIONS_DEFINE= ADOLC ARPACK GSL LAPACK MPI OPENCASCADE PETSC SCALAPACK SLEPC SUNDIALS # for all options see contrib/docker/Dockerfile, TODO some of them need to be enabled here OPTIONS_DEFAULT= GSL LAPACK MPI OPENCASCADE PETSC SCALAPACK SLEPC SUNDIALS ADOLC_DESC= Compile with ADOL-C ADOLC_CMAKE_BOOL= DEAL_II_WITH_ADOLC ADOLC_LIB_DEPENDS= libadolc.so:math/adol-c ADOLC_BROKEN= requires the development version: see https://github.com/dealii/dealii/issues/7293 ARPACK_DESC= Compile with Arpack and PArpack (only with MPI, LAPACK) ARPACK_CMAKE_BOOL= DEAL_II_WITH_ARPACK ARPACK_CMAKE_ON= -DARPACK_LINKER_FLAGS:STRING="${LDFLAGS}" ARPACK_BUILD_DEPENDS= arpack-ng>0:math/arpack-ng ARPACK_RUN_DEPENDS= arpack-ng>0:math/arpack-ng # itself doesn't link to arpack, but makes depending project link to it ARPACK_IMPLIES= LAPACK GSL_DESC= Compile with gsl GSL_CMAKE_BOOL= DEAL_II_WITH_GSL GSL_LIB_DEPENDS= libgsl.so:math/gsl LAPACK_DESC= Compile with LAPACK for matrix operations LAPACK_USES= fortran LAPACK_CMAKE_BOOL= DEAL_II_WITH_LAPACK LAPACK_CMAKE_ON= -DLAPACK_LINKER_FLAGS:STRING="${LDFLAGS}" LAPACK_LIB_DEPENDS= libopenblas.so:math/openblas MPI_DESC= MPI support (math/sundials must be compiled with MPI) MPI_USES= fortran MPI_CMAKE_BOOL= DEAL_II_WITH_MPI MPI_CMAKE_ON= -DMPI_LINKER_FLAGS:STRING="${LDFLAGS}" MPI_LIB_DEPENDS= libboost_iostreams.so:devel/boost-libs \ libmpich.so:net/mpich OPENCASCADE_DESC= Compile with OpenCascade OPENCASCADE_CMAKE_BOOL= DEAL_II_WITH_OPENCASCADE OPENCASCADE_CMAKE_ON= -DOPENCASCADE_INCLUDE_DIR:STRING=${LOCALBASE}/include/OpenCASCADE OPENCASCADE_LIB_DEPENDS= libTKernel.so:cad/opencascade PETSC_DESC= Compile with Petsc (only with MPI) PETSC_USES= xorg PETSC_USE= XORG=x11 # PETSc adds x11 through interface libraries PETSC_CMAKE_BOOL= DEAL_II_WITH_PETSC PETSC_LIB_DEPENDS= libpetsc.so:science/PETSc PETSC_IMPLIES= MPI # has to use the same MPI as PETSc uses .if ${XARCH:M*64*} # match index size width being set to 64 in science/PETSc and math/metis PETSC_CMAKE_BOOL+= DEAL_II_WITH_64BIT_INDICES # as opposed to 32-bit indices that are default in deal.II .endif SCALAPACK_DESC= Compile with ScaLAPACK (only with MPI) SCALAPACK_CMAKE_BOOL= DEAL_II_WITH_SCALAPACK SCALAPACK_IMPLIES= MPI LAPACK SCALAPACK_LIB_DEPENDS= libscalapack.so:math/scalapack SLEPC_DESC= Compile with Slepc (only with MPI) SLEPC_USES= xorg SLEPC_USE= XORG=x11 # SLEPc adds x11 through interface libraries SLEPC_CMAKE_BOOL= DEAL_II_WITH_SLEPC SLEPC_LIB_DEPENDS= libslepc.so:math/slepc SLEPC_IMPLIES= MPI # has to use the same MPI as PETSc uses SUNDIALS_DESC= Compile with SUNDIALS SUNDIALS_CMAKE_BOOL= DEAL_II_WITH_SUNDIALS SUNDIALS_LIB_DEPENDS= libsundials_arkode.so:math/sundials post-patch: # unbundle boost @${RM} -r ${WRKSRC}/dealii/bundled/boost-* post-stage: @${RM} ${STAGEDIR}${PREFIX}/*.log # the testsuite is excluded from the tarball: https://github.com/dealii/dealii/issues/17951 .include <../../math/vtk9/Makefile.version> .include diff --git a/math/octave/Makefile b/math/octave/Makefile index f46f59df1d23..5ea0eff69b88 100644 --- a/math/octave/Makefile +++ b/math/octave/Makefile @@ -1,129 +1,130 @@ PORTNAME= octave PORTVERSION= ${OCTAVE_VERSION} +PORTREVISION= 1 CATEGORIES= math MASTER_SITES= GNU MAINTAINER= stephen@FreeBSD.org COMMENT= High-level interactive language for numerical computations WWW= https://www.octave.org/ LICENSE= GPLv3 BUILD_DEPENDS= ${LOCALBASE}/bin/gperf:devel/gperf \ ${LOCALBASE}/bin/makeinfo:print/texinfo \ gnuplot:math/gnuplot \ gsed:textproc/gsed \ ${LOCALBASE}/include/rapidjson/rapidjson.h:devel/rapidjson RUN_DEPENDS= ${LOCALBASE}/bin/makeinfo:print/texinfo \ gnuplot:math/gnuplot \ gsed:textproc/gsed LIB_DEPENDS= libamd.so:math/suitesparse-amd \ libarpack.so:math/arpack-ng \ libcamd.so:math/suitesparse-camd \ libccolamd.so:math/suitesparse-ccolamd \ libcholmod.so:math/suitesparse-cholmod \ libcolamd.so:math/suitesparse-colamd \ libcurl.so:ftp/curl \ libcxsparse.so:math/suitesparse-cxsparse \ libdrm.so:graphics/libdrm \ libfftw3.so:math/fftw3 \ libfftw3f.so:math/fftw3-float \ libfltk.so:x11-toolkits/fltk \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libftgl.so:graphics/ftgl \ libgl2ps.so:print/gl2ps \ libglpk.so:math/glpk \ libGraphicsMagick.so:graphics/GraphicsMagick \ libhdf5.so:science/hdf5 \ libklu.so:math/suitesparse-klu \ libOSMesa.so:graphics/libosmesa \ libpcre.so:devel/pcre \ libportaudio.so:audio/portaudio \ libqhull_r.so:math/qhull \ libqrupdate.so:math/qrupdate \ libspqr.so:math/suitesparse-spqr \ libsuitesparseconfig.so:math/suitesparse-config \ libsundials_arkode.so:math/sundials \ libumfpack.so:math/suitesparse-umfpack USES= charsetfix compiler:c++14-lang desktop-file-utils fortran gl \ gmake iconv libtool localbase:ldflags ncurses octave:env perl5 \ pkgconfig readline tar:xz xorg USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME}/${PORTVERSION} USE_PERL5= build GNU_CONFIGURE= yes USE_QT= base 5compat tools sqldriver-sqlite USE_XORG= x11 xcursor xext xfixes xft xinerama xrender USE_GL= gl glu GNU_HOST= ${ARCH}-portbld-freebsd${OSREL} PLIST_SUB= GNU_HOST=${GNU_HOST} \ OCTAVE_VERSION=${OCTAVE_VERSION} LDFLAGS+= -L${LOCALBASE}/lib/qt6 CONFIGURE_ENV= ac_cv_path_SED=${LOCALBASE}/bin/gsed \ ac_cv_type_max_align_t=yes \ GPERF="${LOCALBASE}/bin/gperf" \ JAVA_HOME=${JAVA_HOME} \ LRELEASE_QTVER=${LRELEASE} \ MAKEINFO=${LOCALBASE}/bin/makeinfo \ MKINFO=${LOCALBASE}/bin/makeinfo \ MOC_QTVER=${MOC} \ QCOLLECTIONGENERATOR_QTVER=${QCOLLECTIONGENERATOR} \ QHELPGENERATOR_QTVER=${QHELPGENERATOR} \ RCC_QTVER=${RCC} \ UIC_QTVER=${UIC} \ man1dir=${PREFIX}/share/man/man1 CONFIGURE_ARGS= --disable-jit \ --disable-openmp \ --enable-shared \ --host=${GNU_HOST} \ --with-blas="-L${LOCALBASE}/lib ${BLASLIB}" \ --with-lapack="${LAPACKLIB}" \ --with-osmesa INFO= octave liboctave INSTALL_TARGET= install-strip TEST_TARGET= check OPTIONS_DEFINE= DOCS JAVA QT6 OPTIONS_RADIO= BLAS OPTIONS_RADIO_BLAS= ATLAS NETLIB OPENBLAS OPTIONS_DEFAULT= JAVA OPENBLAS QT6 OPTIONS_SUB= yes DOCS_CONFIGURE_ENABLE= docs JAVA_CONFIGURE_ENABLE= java QT6_CONFIGURE_WITH= qscintilla qt=6 QT6_LIB_DEPENDS= libqscintilla2_qt6.so:devel/qscintilla2@qt6 DOCS_USES= tex DOCS_USE= TEX=dvipsk:build,formats:build JAVA_USE= JAVA=yes JAVA_CFLAGS= -I${JAVA_HOME}/include/${OPSYS:tl} QT6_USES= qt:6 OPENBLAS_USES= blaslapack:openblas NETLIB_USES= blaslapack:netlib ATLAS_USES= blaslapack:atlas BINARY_ALIAS= sed=gsed post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for file in liboctave/liboctave.ps refcard/refcard-a4.ps \ refcard/refcard-legal.ps refcard/refcard-letter.ps interpreter/octave.ps ${INSTALL_DATA} ${WRKSRC}/doc/${file} ${STAGEDIR}${DOCSDIR} .endfor @${MKDIR} ${STAGEDIR}${PREFIX}/${INFO_PATH} .for file in interpreter/octave.info liboctave/liboctave.info ${INSTALL_DATA} ${WRKSRC}/doc/${file} ${STAGEDIR}${PREFIX}/${INFO_PATH} .endfor check regression-test: build @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} check) .include diff --git a/math/sundials/Makefile b/math/sundials/Makefile index 2844ca90e308..b2a410ac41af 100644 --- a/math/sundials/Makefile +++ b/math/sundials/Makefile @@ -1,81 +1,81 @@ PORTNAME= sundials -DISTVERSION= 6.6.0 -PORTREVISION= 9 +DISTVERSION= 7.2.1 CATEGORIES= math MASTER_SITES= https://github.com/LLNL/sundials/releases/download/v${DISTVERSION}/ MAINTAINER= yuri@FreeBSD.org COMMENT= SUite of Nonlinear and DIfferential/ALgebraic Equation Solvers -WWW= https://computing.llnl.gov/projects/sundials +WWW= https://computing.llnl.gov/projects/sundials \ + https://github.com/LLNL/sundials LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE USES= cmake:testing fortran localbase:ldflags python:build # 4 tests fail, see https://github.com/LLNL/sundials/issues/220 USE_LDCONFIG= yes CMAKE_ARGS= -DCMAKE_C_STANDARD=99 CMAKE_ON= ENABLE_PTHREAD CMAKE_OFF= BUILD_STATIC_LIBS \ EXAMPLES_ENABLE_C EXAMPLES_ENABLE_CXX EXAMPLES_ENABLE_F77 EXAMPLES_ENABLE_F90 CMAKE_TESTING_ON= SUNDIALS_TEST_UNITTESTS \ EXAMPLES_ENABLE_C EXAMPLES_ENABLE_CXX EXAMPLES_ENABLE_F77 EXAMPLES_ENABLE_F90 FCFLAGS:= ${FFLAGS} # project checks that these flags are equal OPTIONS_DEFINE= BLAS EXAMPLES KLU LAPACK MPI OPENMP OPTIONS_DEFAULT= KLU LAPACK MPI OPENMP OPTIONS_GROUP= VECTORS OPTIONS_GROUP_VECTORS= HYPRE PETSC VECTORS_DESC= Alternative vector libraries OPTIONS_SUB= yes BLAS_DESC= Enable BLAS support BLAS_CMAKE_BOOL= ENABLE_BLAS BLAS_USES= blaslapack:openblas #EXAMPLES_CMAKE_BOOL= EXAMPLES_ENABLE_C EXAMPLES_ENABLE_CXX EXAMPLES_ENABLE_F77 EXAMPLES_ENABLE_F90 #EXAMPLES_CMAKE_ON= -DEXAMPLES_INSTALL_PATH=${EXAMPLESDIR} #PORTEXAMPLES= * HYPRE_DESC= HYPRE vectors support (also enables MPI) HYPRE_CMAKE_BOOL= ENABLE_HYPRE HYPRE_CMAKE_ON= -DHYPRE_INCLUDE_DIR=${LOCALBASE}/include \ -DHYPRE_LIBRARY_DIR=${LOCALBASE}/lib HYPRE_LIB_DEPENDS= libHYPRE.so:science/hypre # maybe is broken due to https://github.com/hypre-space/hypre/issues/464 HYPRE_IMPLIES= MPI HYPRE_PREVENTS= LAPACK # error: Incompatible sunindextype for LAPACK; disable LAPACK and rebuild HYPRE_BROKEN= ERROR: SUNDIALS interface to HYPRE is not functional. KLU_DESC= Use KLU package that is part of suitesparse KLU_CMAKE_BOOL= ENABLE_KLU KLU_CMAKE_ON= -DKLU_INCLUDE_DIR=${LOCALBASE}/include/suitesparse -DKLU_LIBRARY_DIR=${LOCALBASE}/lib KLU_LIB_DEPENDS= libamd.so:math/suitesparse-amd \ libbtf.so:math/suitesparse-btf \ libcolamd.so:math/suitesparse-colamd \ libklu.so:math/suitesparse-klu \ libsuitesparseconfig.so:math/suitesparse-config LAPACK_DESC= Use Lapack linear algebra (sets SUNDIALS_INDEX_TYPE=int32) LAPACK_USES= blaslapack:openblas LAPACK_CMAKE_BOOL= ENABLE_LAPACK MPI_CMAKE_BOOL= ENABLE_MPI MPI_LIB_DEPENDS= libmpich.so:net/mpich OPENMP_CMAKE_BOOL= ENABLE_OPENMP PETSC_DESC= PETSc vectors support (also enables MPI) PETSC_CMAKE_BOOL= ENABLE_PETSC PETSC_CMAKE_ON= -DPETSC_DIR=${LOCALBASE} \ -DPETSC_INCLUDE_DIR=${LOCALBASE}/include \ -DPETSC_LIBRARY_DIR=${LOCALBASE}/lib PETSC_LIB_DEPENDS= libpetsc.so:science/PETSc PETSC_IMPLIES= MPI PETSC_PREVENTS= LAPACK # error: Incompatible sunindextype for LAPACK; disable LAPACK and rebuild PETSC_BROKEN= ERROR: PETSc not functional due to index size mismatch: SUNDIALS_INDEX_SIZE=64, but PETSc was built with 32-bit indices post-install: @${RM} ${STAGEDIR}${PREFIX}/include/sundials/LICENSE .include diff --git a/math/sundials/distinfo b/math/sundials/distinfo index d3b57c0b4157..75157f94d5f2 100644 --- a/math/sundials/distinfo +++ b/math/sundials/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1692767874 -SHA256 (sundials-6.6.0.tar.gz) = f90029b8da846c8faff5530fd1fa4847079188d040554f55c1d5d1e04743d29d -SIZE (sundials-6.6.0.tar.gz) = 91658584 +TIMESTAMP = 1734866493 +SHA256 (sundials-7.2.1.tar.gz) = 3781e3f7cdf372ca12f7fbe64f561a8b9a507b8a8b2c4d6ce28d8e4df4befbea +SIZE (sundials-7.2.1.tar.gz) = 94198358 diff --git a/math/sundials/pkg-plist b/math/sundials/pkg-plist index d745bd6a7499..c93d79a472e9 100644 --- a/math/sundials/pkg-plist +++ b/math/sundials/pkg-plist @@ -1,180 +1,200 @@ include/arkode/arkode.h include/arkode/arkode_arkstep.h include/arkode/arkode_bandpre.h include/arkode/arkode_bbdpre.h include/arkode/arkode_butcher.h include/arkode/arkode_butcher_dirk.h include/arkode/arkode_butcher_erk.h include/arkode/arkode_erkstep.h +include/arkode/arkode_forcingstep.h include/arkode/arkode_ls.h +include/arkode/arkode_lsrkstep.h include/arkode/arkode_mristep.h +include/arkode/arkode_splittingstep.h include/arkode/arkode_sprk.h include/arkode/arkode_sprkstep.h include/cvode/cvode.h include/cvode/cvode_bandpre.h include/cvode/cvode_bbdpre.h include/cvode/cvode_diag.h -include/cvode/cvode_direct.h include/cvode/cvode_ls.h include/cvode/cvode_proj.h -include/cvode/cvode_spils.h include/cvodes/cvodes.h include/cvodes/cvodes_bandpre.h include/cvodes/cvodes_bbdpre.h include/cvodes/cvodes_diag.h -include/cvodes/cvodes_direct.h include/cvodes/cvodes_ls.h include/cvodes/cvodes_proj.h -include/cvodes/cvodes_spils.h include/ida/ida.h include/ida/ida_bbdpre.h -include/ida/ida_direct.h include/ida/ida_ls.h -include/ida/ida_spils.h include/idas/idas.h include/idas/idas_bbdpre.h -include/idas/idas_direct.h include/idas/idas_ls.h -include/idas/idas_spils.h include/kinsol/kinsol.h include/kinsol/kinsol_bbdpre.h -include/kinsol/kinsol_direct.h include/kinsol/kinsol_ls.h -include/kinsol/kinsol_spils.h include/nvector/nvector_manyvector.h %%MPI%%include/nvector/nvector_mpimanyvector.h %%MPI%%include/nvector/nvector_mpiplusx.h %%OPENMP%%include/nvector/nvector_openmp.h %%MPI%%include/nvector/nvector_parallel.h %%HYPRE%%include/nvector/nvector_parhyp.h %%PETSC%%include/nvector/nvector_petsc.h include/nvector/nvector_pthreads.h include/nvector/nvector_serial.h +include/sunadaptcontroller/sunadaptcontroller_imexgus.h +include/sunadaptcontroller/sunadaptcontroller_mrihtol.h +include/sunadaptcontroller/sunadaptcontroller_soderlind.h include/sundials/NOTICE +include/sundials/priv/sundials_context_impl.h +include/sundials/priv/sundials_errors_impl.h +%%MPI%%include/sundials/priv/sundials_mpi_errors_impl.h +include/sundials/sundials_adaptcontroller.h include/sundials/sundials_band.h include/sundials/sundials_base.hpp include/sundials/sundials_config.h include/sundials/sundials_context.h include/sundials/sundials_context.hpp include/sundials/sundials_convertibleto.hpp +include/sundials/sundials_core.h +include/sundials/sundials_core.hpp include/sundials/sundials_dense.h include/sundials/sundials_direct.h +include/sundials/sundials_errors.h include/sundials/sundials_export.h +include/sundials/sundials_futils.h include/sundials/sundials_iterative.h -%%LAPACK%%include/sundials/sundials_lapack.h include/sundials/sundials_linearsolver.h include/sundials/sundials_linearsolver.hpp include/sundials/sundials_logger.h include/sundials/sundials_math.h include/sundials/sundials_matrix.h include/sundials/sundials_matrix.hpp include/sundials/sundials_memory.h +include/sundials/sundials_memory.hpp +%%MPI%%include/sundials/sundials_mpi_errors.h %%MPI%%include/sundials/sundials_mpi_types.h include/sundials/sundials_nonlinearsolver.h include/sundials/sundials_nonlinearsolver.hpp include/sundials/sundials_nvector.h include/sundials/sundials_nvector.hpp include/sundials/sundials_profiler.h +include/sundials/sundials_profiler.hpp +include/sundials/sundials_stepper.h include/sundials/sundials_types.h +include/sundials/sundials_types_deprecated.h include/sundials/sundials_version.h include/sunlinsol/sunlinsol_band.h include/sunlinsol/sunlinsol_dense.h %%KLU%%include/sunlinsol/sunlinsol_klu.h %%LAPACK%%include/sunlinsol/sunlinsol_lapackband.h %%LAPACK%%include/sunlinsol/sunlinsol_lapackdense.h include/sunlinsol/sunlinsol_pcg.h include/sunlinsol/sunlinsol_spbcgs.h include/sunlinsol/sunlinsol_spfgmr.h include/sunlinsol/sunlinsol_spgmr.h include/sunlinsol/sunlinsol_sptfqmr.h include/sunmatrix/sunmatrix_band.h include/sunmatrix/sunmatrix_dense.h include/sunmatrix/sunmatrix_sparse.h include/sunmemory/sunmemory_system.h include/sunnonlinsol/sunnonlinsol_fixedpoint.h include/sunnonlinsol/sunnonlinsol_newton.h lib/cmake/sundials/SUNDIALSConfig.cmake lib/cmake/sundials/SUNDIALSConfigVersion.cmake lib/cmake/sundials/SUNDIALSTargets-%%CMAKE_BUILD_TYPE%%.cmake lib/cmake/sundials/SUNDIALSTargets.cmake lib/libsundials_arkode.so -lib/libsundials_arkode.so.5 -lib/libsundials_arkode.so.5.6.0 +lib/libsundials_arkode.so.6 +lib/libsundials_arkode.so.6.2.1 +lib/libsundials_core.so +lib/libsundials_core.so.7 +lib/libsundials_core.so.7.2.1 lib/libsundials_cvode.so -lib/libsundials_cvode.so.6 -lib/libsundials_cvode.so.6.6.0 +lib/libsundials_cvode.so.7 +lib/libsundials_cvode.so.7.2.1 lib/libsundials_cvodes.so -lib/libsundials_cvodes.so.6 -lib/libsundials_cvodes.so.6.6.0 -lib/libsundials_generic.so -lib/libsundials_generic.so.6 -lib/libsundials_generic.so.6.6.0 +lib/libsundials_cvodes.so.7 +lib/libsundials_cvodes.so.7.2.1 lib/libsundials_ida.so -lib/libsundials_ida.so.6 -lib/libsundials_ida.so.6.6.0 +lib/libsundials_ida.so.7 +lib/libsundials_ida.so.7.2.1 lib/libsundials_idas.so -lib/libsundials_idas.so.5 -lib/libsundials_idas.so.5.6.0 +lib/libsundials_idas.so.6 +lib/libsundials_idas.so.6.2.1 lib/libsundials_kinsol.so -lib/libsundials_kinsol.so.6 -lib/libsundials_kinsol.so.6.6.0 +lib/libsundials_kinsol.so.7 +lib/libsundials_kinsol.so.7.2.1 lib/libsundials_nvecmanyvector.so -lib/libsundials_nvecmanyvector.so.6 -lib/libsundials_nvecmanyvector.so.6.6.0 +lib/libsundials_nvecmanyvector.so.7 +lib/libsundials_nvecmanyvector.so.7.2.1 %%MPI%%lib/libsundials_nvecmpimanyvector.so -%%MPI%%lib/libsundials_nvecmpimanyvector.so.6 -%%MPI%%lib/libsundials_nvecmpimanyvector.so.6.6.0 +%%MPI%%lib/libsundials_nvecmpimanyvector.so.7 +%%MPI%%lib/libsundials_nvecmpimanyvector.so.7.2.1 %%MPI%%lib/libsundials_nvecmpiplusx.so -%%MPI%%lib/libsundials_nvecmpiplusx.so.6 -%%MPI%%lib/libsundials_nvecmpiplusx.so.6.6.0 +%%MPI%%lib/libsundials_nvecmpiplusx.so.7 +%%MPI%%lib/libsundials_nvecmpiplusx.so.7.2.1 %%OPENMP%%lib/libsundials_nvecopenmp.so -%%OPENMP%%lib/libsundials_nvecopenmp.so.6 -%%OPENMP%%lib/libsundials_nvecopenmp.so.6.6.0 +%%OPENMP%%lib/libsundials_nvecopenmp.so.7 +%%OPENMP%%lib/libsundials_nvecopenmp.so.7.2.1 %%MPI%%lib/libsundials_nvecparallel.so -%%MPI%%lib/libsundials_nvecparallel.so.6 -%%MPI%%lib/libsundials_nvecparallel.so.6.6.0 +%%MPI%%lib/libsundials_nvecparallel.so.7 +%%MPI%%lib/libsundials_nvecparallel.so.7.2.1 %%HYPRE%%lib/libsundials_nvecparhyp.so -%%HYPRE%%lib/libsundials_nvecparhyp.so.6 -%%HYPRE%%lib/libsundials_nvecparhyp.so.6.6.0 +%%HYPRE%%lib/libsundials_nvecparhyp.so.7 +%%HYPRE%%lib/libsundials_nvecparhyp.so.7.2.1 %%PETSC%%lib/libsundials_nvecpetsc.so -%%PETSC%%lib/libsundials_nvecpetsc.so.6 -%%PETSC%%lib/libsundials_nvecpetsc.so.6.6.0 +%%PETSC%%lib/libsundials_nvecpetsc.so.7 +%%PETSC%%lib/libsundials_nvecpetsc.so.7.2.1 lib/libsundials_nvecpthreads.so -lib/libsundials_nvecpthreads.so.6 -lib/libsundials_nvecpthreads.so.6.6.0 +lib/libsundials_nvecpthreads.so.7 +lib/libsundials_nvecpthreads.so.7.2.1 lib/libsundials_nvecserial.so -lib/libsundials_nvecserial.so.6 -lib/libsundials_nvecserial.so.6.6.0 +lib/libsundials_nvecserial.so.7 +lib/libsundials_nvecserial.so.7.2.1 lib/libsundials_sunlinsolband.so -lib/libsundials_sunlinsolband.so.4.6.0 +lib/libsundials_sunlinsolband.so.5 +lib/libsundials_sunlinsolband.so.5.2.1 lib/libsundials_sunlinsoldense.so -lib/libsundials_sunlinsoldense.so.4.6.0 +lib/libsundials_sunlinsoldense.so.5 +lib/libsundials_sunlinsoldense.so.5.2.1 %%KLU%%lib/libsundials_sunlinsolklu.so -%%KLU%%lib/libsundials_sunlinsolklu.so.4.6.0 +%%KLU%%lib/libsundials_sunlinsolklu.so.5 +%%KLU%%lib/libsundials_sunlinsolklu.so.5.2.1 %%LAPACK%%lib/libsundials_sunlinsollapackband.so -%%LAPACK%%lib/libsundials_sunlinsollapackband.so.4.6.0 +%%LAPACK%%lib/libsundials_sunlinsollapackband.so.5 +%%LAPACK%%lib/libsundials_sunlinsollapackband.so.5.2.1 %%LAPACK%%lib/libsundials_sunlinsollapackdense.so -%%LAPACK%%lib/libsundials_sunlinsollapackdense.so.4.6.0 +%%LAPACK%%lib/libsundials_sunlinsollapackdense.so.5 +%%LAPACK%%lib/libsundials_sunlinsollapackdense.so.5.2.1 lib/libsundials_sunlinsolpcg.so -lib/libsundials_sunlinsolpcg.so.4.6.0 +lib/libsundials_sunlinsolpcg.so.5 +lib/libsundials_sunlinsolpcg.so.5.2.1 lib/libsundials_sunlinsolspbcgs.so -lib/libsundials_sunlinsolspbcgs.so.4.6.0 +lib/libsundials_sunlinsolspbcgs.so.5 +lib/libsundials_sunlinsolspbcgs.so.5.2.1 lib/libsundials_sunlinsolspfgmr.so -lib/libsundials_sunlinsolspfgmr.so.4.6.0 +lib/libsundials_sunlinsolspfgmr.so.5 +lib/libsundials_sunlinsolspfgmr.so.5.2.1 lib/libsundials_sunlinsolspgmr.so -lib/libsundials_sunlinsolspgmr.so.4.6.0 +lib/libsundials_sunlinsolspgmr.so.5 +lib/libsundials_sunlinsolspgmr.so.5.2.1 lib/libsundials_sunlinsolsptfqmr.so -lib/libsundials_sunlinsolsptfqmr.so.4.6.0 +lib/libsundials_sunlinsolsptfqmr.so.5 +lib/libsundials_sunlinsolsptfqmr.so.5.2.1 lib/libsundials_sunmatrixband.so -lib/libsundials_sunmatrixband.so.4 -lib/libsundials_sunmatrixband.so.4.6.0 +lib/libsundials_sunmatrixband.so.5 +lib/libsundials_sunmatrixband.so.5.2.1 lib/libsundials_sunmatrixdense.so -lib/libsundials_sunmatrixdense.so.4 -lib/libsundials_sunmatrixdense.so.4.6.0 +lib/libsundials_sunmatrixdense.so.5 +lib/libsundials_sunmatrixdense.so.5.2.1 lib/libsundials_sunmatrixsparse.so -lib/libsundials_sunmatrixsparse.so.4 -lib/libsundials_sunmatrixsparse.so.4.6.0 +lib/libsundials_sunmatrixsparse.so.5 +lib/libsundials_sunmatrixsparse.so.5.2.1 lib/libsundials_sunnonlinsolfixedpoint.so -lib/libsundials_sunnonlinsolfixedpoint.so.3.6.0 +lib/libsundials_sunnonlinsolfixedpoint.so.4 +lib/libsundials_sunnonlinsolfixedpoint.so.4.2.1 lib/libsundials_sunnonlinsolnewton.so -lib/libsundials_sunnonlinsolnewton.so.3.6.0 +lib/libsundials_sunnonlinsolnewton.so.4 +lib/libsundials_sunnonlinsolnewton.so.4.2.1 diff --git a/science/openmodelica/Makefile b/science/openmodelica/Makefile index e22cc9b6f70c..acc848e1a221 100644 --- a/science/openmodelica/Makefile +++ b/science/openmodelica/Makefile @@ -1,117 +1,118 @@ PORTNAME= openmodelica DISTVERSIONPREFIX= v DISTVERSION= 1.24.3 +PORTREVISION= 1 CATEGORIES= science cad java DIST_SUBDIR= ${PORTNAME}-${PORTVERSION} PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ PATCHFILES= 0d83043bf3815a75549353acf15d333c3b675675.patch:-p1 # https://github.com/OpenModelica/OpenModelica/pull/12515 MAINTAINER= yuri@FreeBSD.org COMMENT= Modelica-based modeling and simulation environment WWW= https://openmodelica.org/ \ https://github.com/OpenModelica/OpenModelica LICENSE= OSMC-PL LICENSE_NAME= Public license for OpenModelica LICENSE_TEXT= See https://github.com/OpenModelica/OpenModelica/blob/master/OSMC-License.txt LICENSE_PERMS= auto-accept dist-mirror dist-sell pkg-mirror pkg-sell BROKEN_aarch64= link fails: ld: cannot find -lquadmath: No such file or directory BROKEN_armv7= link fails: ld: cannot find -lquadmath: No such file or directory BROKEN_i386= compilation fails: /wrkdirs/usr/ports/science/openmodelica/work/OpenModelica-1.20.0/OMCompiler/3rdParty/libffi/src/x86/sysv.S:841:1: error: changed section flags for .eh_frame, expected: 0x2 BUILD_DEPENDS= asciidoc:textproc/asciidoc \ autoconf>0:devel/autoconf \ automake:devel/automake \ gmake:devel/gmake \ libtool>0:devel/libtool \ ${LOCALBASE}/include/readline/readline.h:devel/readline \ sundials>0:math/sundials LIB_DEPENDS= libboost_filesystem.so:devel/boost-libs \ libcurl.so:ftp/curl \ libicuuc.so:devel/icu \ libosg.so:graphics/osg \ libuuid.so:misc/e2fsprogs-libuuid RUN_DEPENDS= bash:shells/bash \ gmake:devel/gmake USES= cmake compiler:c++14-lang iconv fortran gettext-runtime gl \ gnome blaslapack localbase:ldflags qt:5 readline pkgconfig \ python:build shebangfix USE_QT= concurrent core declarative gui location network opengl \ printsupport svg webchannel webengine widgets xml xmlpatterns \ buildtools:build qmake:build USE_GL= gl opengl USE_GNOME= libxml2 USE_JAVA= yes USE_LDCONFIG= ${PREFIX}/lib/omc ${PREFIX}/lib/omc/OMSimulator ${PREFIX}/lib/omc/cpp ${PREFIX}/lib/omc/ffi # https://github.com/OpenModelica/OpenModelica/issues/9925 USE_GITHUB= yes GH_ACCOUNT= OpenModelica GH_PROJECT= OpenModelica SHEBANG_GLOB= *.sh *.in *.ac GH_TUPLE= \ OpenModelica:OMOptim:f1036f43db18c5015da259771004cfb80e08a110:OpenModelica_OMOptim/OMOptim \ OpenModelica:OMSimulator:46fa40f:OpenModelica_OMSimulator/OMSimulator \ OpenModelica:OMSimulator-3rdParty:5c10de1648d1134a577d9284b58580a72383d89f:OpenModelica_OMSimulator_3rdParty/OMSimulator/3rdParty \ OpenModelica:OMCompiler-3rdParty:4bcf74a:OpenModelica_OMCompiler_3rdParty/OMCompiler/3rdParty \ OpenModelica:OMSens:093ad11:OpenModelica_OMSens/OMSens \ OpenModelica:OMSens_Qt:bab329a:OpenModelica_OMSens_Qt/OMSens_Qt \ OpenModelica:OpenModelica-common:08a01802db5ba5edb540383c46718b89ff229ef2:OpenModelica_OpenModelica_common/OMOptim/common \ OpenModelica:OpenModelica-common:08a01802db5ba5edb540383c46718b89ff229ef2:OpenModelica_OpenModelica_common/OMSens_Qt/common GH_TUPLE+= OpenModelica:OMBootstrapping:c289e97c41d00939a4a69fe504961b47283a6d8e:bootstrapping/OMCompiler/Compiler/boot/bomc # downloaded by cmake # this should change make program everywhere, but it doesn't, # hence the patches in OMCompiler/Compiler/runtime/CMakeLists.txt, OMEdit/OMEditLIB/Simulation/SimulationOutputWidget.cpp CMAKE_ARGS= -DCMAKE_MAKE_PROGRAM=gmake \ -DPython_EXECUTABLE=${PYTHON_CMD} CMAKE_ARGS+= -DOM_USE_CCACHE:BOOL=${CCACHE_ENABLED:S/yes/ON/:S/no/OFF/} # if refuses to build w/out ccache by default CMAKE_ON= OM_OMEDIT_ENABLE_QTWEBENGINE LDFLAGS+= -lexecinfo -lintl -pthread BINARY_ALIAS= make=${GMAKE} post-extract: # remove stray *.orig files @${FIND} ${WRKSRC} -name "*.orig" -delete # remove rtime that isn't used on FreeBSD @${RM} -r ${WRKSRC}/OMSimulator/OMTLMSimulator/3rdParty/rtime # prevent bootstrap file download #${MKDIR} ${WRKSRC}/bomc ${TOUCH} ${WRKSRC}/OMCompiler/Compiler/boot/bomc/sources.tar.gz # workaround for broken fetch @${RLN} ${WRKSRC}/OMOptim/common ${WRKSRC}/OMSens_Qt/common post-patch: # fix bash shebangs @${REINPLACE_CMD} -e 's|#!/bin/bash|#!${LOCALBASE}/bin/bash|' \ ${WRKSRC}/OMCompiler/Examples/GenerateDoc.mos \ ${WRKSRC}/OMCompiler/3rdParty/tbb/build/generate_tbbvars.sh # add path to libgfortran to link flags for OM internal builds @${REINPLACE_CMD} \ -e 's|@RT_LDFLAGS_GENERATED_CODE_SIM@|& -L${LOCALBASE}/lib/gcc${FC:S/gfortran//}|' \ ${WRKSRC}/OMCompiler/Compiler/Util/Autoconf.mo.in post-install: # workaround for https://github.com/OpenModelica/OpenModelica/issues/9919 #cd ${STAGEDIR}${PREFIX} && ${CHMOD} +x \ # bin/OMSimulator bin/OMSimulatorPython3 bin/StartTLMFmiWrapper # remove unnecessary files ${RM} -r \ ${STAGEDIR}${PREFIX}/share/zmq \ ${STAGEDIR}${PREFIX}/doc \ ${STAGEDIR}${PREFIX}/share/doc # remove empty directories ${FIND} ${STAGEDIR}${PREFIX}/include -type d -empty -delete # strip binaries #cd ${STAGEDIR}${PREFIX} && ${STRIP_CMD} \ bin/OMSimulator bin/FMIWrapper \ lib/omc/OMSimulator/libomtlmsimulator.so lib/omc/OMSimulator/libOMSimulator.so \ lib/omc/libomtlmsimulator.so lib/omc/libOMSimulator.so .include