mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
52 lines
2.0 KiB
Tcl
52 lines
2.0 KiB
Tcl
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
|
|
|
|
PortSystem 1.0
|
|
PortGroup cmake 1.1
|
|
PortGroup github 1.0
|
|
PortGroup linear_algebra 1.0
|
|
PortGroup mpi 1.0
|
|
|
|
github.setup xiaoyeli superlu_dist 9.1.0 v
|
|
revision 0
|
|
categories math
|
|
license BSD
|
|
maintainers {mcalhoun @MarcusCalhoun-Lopez} openmaintainer
|
|
description A package for solving linear equations
|
|
long_description SuperLU is a general purpose library for the direct \
|
|
solution of large, sparse, nonsymmetric systems of \
|
|
linear equations on high performance machines.
|
|
|
|
homepage https://portal.nersc.gov/project/sparse/superlu/
|
|
|
|
distname ${name}_${version}
|
|
|
|
checksums rmd160 8f70d3aa4ceeeb409e68e3c4b5f9c9d6e2610762 \
|
|
sha256 1cb2c6dc7e8231b2ec30c1266e55e440ffca9f55527771d8df28f900dd179f9d \
|
|
size 2910591
|
|
github.tarball_from archive
|
|
|
|
compiler.cxx_standard 2011
|
|
|
|
mpi.setup require -fortran
|
|
|
|
depends_lib port:parmetis
|
|
|
|
configure.args-append -DTPL_PARMETIS_INCLUDE_DIRS=${prefix}/include \
|
|
-DTPL_PARMETIS_LIBRARIES="${prefix}/lib/libparmetis.dylib\;${prefix}/lib/libmetis.dylib" \
|
|
-Denable_tests=OFF \
|
|
-DUSE_XSDK_DEFAULTS=ON \
|
|
-DXSDK_ENABLE_Fortran=OFF \
|
|
-DCMAKE_INSTALL_INCLUDEDIR=include/${name}
|
|
|
|
pre-configure {
|
|
configure.args-append -DTPL_BLAS_LIBRARIES="-L${prefix}/lib ${linalglib}"
|
|
}
|
|
|
|
linalg.setup noveclibfort
|
|
|
|
variant longindex description {Build with 64 ints} {
|
|
configure.cflags-append -DXSDK_INDEX_SIZE=64
|
|
}
|
|
|
|
github.livecheck.regex (\[^"-]+)
|