mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
46 lines
1.5 KiB
Tcl
46 lines
1.5 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 mpi 1.0
|
|
PortGroup github 1.0
|
|
PortGroup active_variants 1.1
|
|
|
|
github.setup KarypisLab ParMETIS 8ee6a372ca703836f593e3c450ca903f04be14df
|
|
# Change github.tarball_from to 'releases' or 'archive' next update
|
|
github.tarball_from tarball
|
|
name parmetis
|
|
version 20230326
|
|
revision 0
|
|
categories math
|
|
maintainers nomaintainer
|
|
# Included license is for "evaluation purposes" only (whatever that means) if
|
|
# you're not a non-profit or US government agency.
|
|
license Restrictive
|
|
|
|
description ParMETIS - parallel graph partitioning
|
|
long_description {*}${description}
|
|
|
|
checksums rmd160 8c3222f3cf510915300731c0f8c1774272a3b456 \
|
|
sha256 199c0c56259b06c1f8a4aec4ea01a2bab38b91c3371d87526c41cc1f218ee1c6 \
|
|
size 5312178
|
|
|
|
compilers.choose cc cxx
|
|
|
|
# While fortran is not required, this is a hack until mpi PG is fixed.
|
|
# See: https://trac.macports.org/ticket/66738
|
|
if {${os.platform} eq "darwin" && ${os.arch} eq "powerpc"} {
|
|
mpi.setup require require_fortran
|
|
} else {
|
|
mpi.setup require
|
|
}
|
|
|
|
depends_lib port:metis
|
|
|
|
configure.args-append \
|
|
-DGKLIB_PATH=${prefix} \
|
|
-DMETIS_PATH=${prefix} \
|
|
-DSHARED=ON
|
|
|
|
github.livecheck.branch main
|