You've already forked macports-ports
mirror of
https://github.com/encounter/macports-ports.git
synced 2026-07-10 12:19:27 -07:00
51 lines
2.0 KiB
Tcl
51 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 linear_algebra 1.0
|
|
PortGroup mpi 1.0
|
|
PortGroup github 1.0
|
|
|
|
github.setup xiaoyeli superlu_dist 6.4.0 v
|
|
revision 1
|
|
categories math
|
|
license BSD
|
|
platforms darwin
|
|
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}
|
|
worksrcdir SuperLU_DIST_${version}
|
|
|
|
checksums rmd160 c1717d7041a327163e7498ffadaecb2e2bdfb52b \
|
|
sha256 97d4655cf645a18a6e7dff979a21ccc70d172cfebdc04e9e64b15bfe30416e46 \
|
|
size 1710395
|
|
|
|
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 (\[^"-]+)
|