|
| 1 | +PortSystem 1.0 |
| 2 | +PortGroup cmake 1.1 |
| 3 | +PortGroup github 1.0 |
| 4 | + |
| 5 | +name trilinos16 |
| 6 | +version 16.1.0 |
| 7 | +categories science |
| 8 | +maintainers {gmail.com:degnan.68k @bpdegnan} \ |
| 9 | + openmaintainer |
| 10 | +license BSD |
| 11 | +description Scientific computing libraries including solvers and preconditioners |
| 12 | +long_description \ |
| 13 | + Trilinos is a collection of packages for scientific computing, including \ |
| 14 | + solvers, preconditioners, nonlinear and optimization libraries, and interfaces \ |
| 15 | + to third-party libraries. It is designed for flexibility and high performance. |
| 16 | + |
| 17 | +#homepage https://trilinos.github.io/ |
| 18 | +##note, the project used - instead of . for archive files |
| 19 | +#distname trilinos-release-16-1-0 |
| 20 | +#master_sites https://github.com/trilinos/Trilinos/archive/refs/tags/ |
| 21 | +#extract.suffix .tar.gz |
| 22 | +##note, the mixed capitalization is causing fits with the default build system |
| 23 | +#worksrcdir Trilinos-trilinos-release-16-1-0 |
| 24 | + |
| 25 | +github.setup trilinos Trilinos trilinos-release-16-1-0 |
| 26 | +github.tarball_from archive |
| 27 | + |
| 28 | + |
| 29 | +checksums rmd160 0464487926704ba40cc6f1b20fa631aec7512333 \ |
| 30 | + sha256 e9651c88f581049457036cfc01b527a9d3903c257338eeeab942befd7452f23a \ |
| 31 | + size 197260161 |
| 32 | + |
| 33 | +depends_build-append port:pkgconfig |
| 34 | + |
| 35 | +depends_lib-append port:gcc13 \ |
| 36 | + port:OpenBLAS \ |
| 37 | + port:SuiteSparse \ |
| 38 | + port:netcdf |
| 39 | + |
| 40 | +configure.args-append \ |
| 41 | + -DCMAKE_BUILD_TYPE=Release \ |
| 42 | + -DCMAKE_INSTALL_PREFIX=${prefix} \ |
| 43 | + -DCMAKE_Fortran_COMPILER=${prefix}/bin/gfortran-mp-13 \ |
| 44 | + -DCMAKE_CXX_STANDARD=17 \ |
| 45 | + -DTrilinos_ENABLE_ALL_OPTIONAL_PACKAGES=ON \ |
| 46 | + -DTrilinos_ALLOW_DEPRECATED_PACKAGES=ON \ |
| 47 | + -DTrilinos_ENABLE_ALL_PACKAGES=OFF \ |
| 48 | + -DTrilinos_ENABLE_Epetra=ON \ |
| 49 | + -DTrilinos_ENABLE_EpetraExt=ON \ |
| 50 | + -DTrilinos_ENABLE_Teuchos=ON \ |
| 51 | + -DTrilinos_ENABLE_AztecOO=ON \ |
| 52 | + -DTrilinos_ENABLE_Ifpack=ON \ |
| 53 | + -DTrilinos_ENABLE_Belos=ON \ |
| 54 | + -DTrilinos_ENABLE_Amesos=ON \ |
| 55 | + -DAmesos_ENABLE_KLU=ON \ |
| 56 | + -DEpetraExt_BUILD_BTF=ON \ |
| 57 | + -DEpetraExt_BUILD_EXPERIMENTAL=ON \ |
| 58 | + -DEpetraExt_BUILD_GRAPH_REORDERINGS=ON \ |
| 59 | + -DTrilinos_ENABLE_COMPLEX_DOUBLE=ON \ |
| 60 | + -DTrilinos_ENABLE_Sacado=ON \ |
| 61 | + -DTrilinos_ENABLE_NOX=ON \ |
| 62 | + -DTrilinos_ENABLE_TrilinosCouplings=ON \ |
| 63 | + -DNOX_ENABLE_LOCA=ON \ |
| 64 | + -DTPL_ENABLE_BLAS=ON \ |
| 65 | + -DTPL_ENABLE_LAPACK=ON \ |
| 66 | + -DTPL_ENABLE_SuiteSparse=ON \ |
| 67 | + -DTPL_ENABLE_Netcdf=ON \ |
| 68 | + -DTPL_Netcdf_INCLUDE_DIRS=${prefix}/include \ |
| 69 | + -DTPL_Netcdf_LIBRARIES=${prefix}/lib/libnetcdf.dylib \ |
| 70 | + -DTrilinos_INSTALL_CMAKE_DIR=lib/cmake/Trilinos \ |
| 71 | + -DTPL_ENABLE_AMD=ON \ |
| 72 | + -DAMD_INCLUDE_DIRS=${prefix}/include/suitesparse \ |
| 73 | + -DAMD_LIBRARY_NAMES=amd \ |
| 74 | + -DAMD_LIBRARY_DIRS=${prefix}/lib \ |
| 75 | + -DBUILD_SHARED_LIBS=ON |
| 76 | + |
0 commit comments