1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

science/trilinos: update 15-1-1 → 16-0-0

This commit is contained in:
Yuri Victorovich 2024-08-23 14:11:58 -07:00
parent e7ad2204bd
commit e2030e1ca6
5 changed files with 283 additions and 790 deletions

View File

@ -1,7 +1,7 @@
PORTNAME= xyce
DISTVERSIONPREFIX= Release-
DISTVERSION= 7.8.0
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES= cad
MAINTAINER= yuri@FreeBSD.org

View File

@ -1,7 +1,6 @@
PORTNAME= trilinos
DISTVERSIONPREFIX= trilinos-release-
DISTVERSION= 15-1-1
PORTREVISION= 1
DISTVERSION= 16-0-0
CATEGORIES= science # physics
MAINTAINER= yuri@FreeBSD.org
@ -25,7 +24,7 @@ LIB_DEPENDS= libamd.so:math/suitesparse-amd \
libumfpack.so:math/suitesparse-umfpack
RUN_DEPENDS= bash:shells/bash
USES= cmake compiler:c++14-lang fortran perl5 python shebangfix
USES= cmake compiler:c++17-lang fortran perl5 python shebangfix
USE_LDCONFIG= yes
USE_GITHUB= yes
@ -54,6 +53,12 @@ CMAKE_ARGS+= -DTrilinos_ENABLE_ALL_OPTIONAL_PACKAGES:BOOL=ON
CMAKE_ARGS+= -DTrilinos_ENABLE_SEACAS:BOOL=OFF # because of pumagon, etc failure (need to retest)
CMAKE_ARGS+= -DTrilinos_ENABLE_PyTrilinos:BOOL=OFF # workaround for https://github.com/trilinos/Trilinos/issues/12184
# for Xyce, see https://github.com/Xyce/Xyce/issues/103#issuecomment-2257272140
CMAKE_ON+= Trilinos_ENABLE_Ifpack \
Trilinos_ENABLE_AztecOO \
Trilinos_ENABLE_Amesos \
Trilinos_ENABLE_EpetraExt
# parallelism-related
CMAKE_ARGS+= -DTrilinos_ENABLE_OpenMP:BOOL=OFF
#CMAKE_ARGS+= -DKokkos_ENABLE_Pthread:BOOL=ON
@ -69,6 +74,7 @@ CMAKE_ON+= EpetraExt_BUILD_EXPERIMENTAL
CMAKE_ON+= EpetraExt_BUILD_GRAPH_REORDERINGS
#CMAKE_ON+= Teuchos_ENABLE_COMPLEX # this feature is broken in Trilinos
CMAKE_ON+= Trilinos_ENABLE_COMPLEX_DOUBLE
# Enabling the UMFPACK feature required by the above features.
CMAKE_ON+= TPL_ENABLE_UMFPACK
CMAKE_ON+= TPL_ENABLE_AMD

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1711575601
SHA256 (trilinos-Trilinos-trilinos-release-15-1-1_GH0.tar.gz) = 2108d633d2208ed261d09b2d6b2fbae7a9cdc455dd963c9c94412d38d8aaefe4
SIZE (trilinos-Trilinos-trilinos-release-15-1-1_GH0.tar.gz) = 183340366
TIMESTAMP = 1724218060
SHA256 (trilinos-Trilinos-trilinos-release-16-0-0_GH0.tar.gz) = 46bfc40419ed2aa2db38c144fb8e61d4aa8170eaa654a88d833ba6b92903f309
SIZE (trilinos-Trilinos-trilinos-release-16-0-0_GH0.tar.gz) = 198059287

View File

@ -1,12 +0,0 @@
- workaround for https://github.com/trilinos/Trilinos/issues/12890
--- packages/tpetra/core/src/Tpetra_Details_Behavior.cpp.orig 2024-04-04 21:39:32 UTC
+++ packages/tpetra/core/src/Tpetra_Details_Behavior.cpp
@@ -40,6 +40,7 @@
*/
// clang-format on
#include <algorithm> // std::transform
+#include <array>
#include <cctype> // std::toupper
#include <cstdlib> // std::getenv
#include <functional>

File diff suppressed because it is too large Load Diff