mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
47 lines
1.5 KiB
Tcl
47 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 mpi 1.0
|
|
PortGroup github 1.0
|
|
|
|
github.setup coin-or ipopt 3.14.16 releases/
|
|
# Change github.tarball_from to 'releases' or 'archive' next update
|
|
github.tarball_from tarball
|
|
revision 0
|
|
categories math
|
|
license EPL-2
|
|
|
|
maintainers nomaintainer
|
|
|
|
homepage https://coin-or.github.io/Ipopt
|
|
description COIN-OR Interior Point Optimizer IPOPT
|
|
long_description {*}${description}
|
|
|
|
checksums rmd160 b3c9ca8b174da5ee763be0611c4a5c4ad0423626 \
|
|
sha256 7fee14f4e930e2d6bd74fb737fa8e046412d7c1f734185c6cab7806f400b8a1f \
|
|
size 1857528
|
|
|
|
# Until mpich-default gets support for powerpc:
|
|
if {${os.platform} eq "darwin" && ${os.arch} eq "powerpc"} {
|
|
mpi.setup require require_fortran -clang -fortran
|
|
} else {
|
|
mpi.setup require
|
|
}
|
|
|
|
depends_lib-append path:lib/libopenblas.dylib:OpenBLAS \
|
|
port:asl \
|
|
port:mumps \
|
|
port:scalapack
|
|
|
|
configure.args-append \
|
|
--disable-java
|
|
|
|
# Enforce usage system's Mumps
|
|
configure.args-append \
|
|
--with-mumps-lflags="-lmumps_common -lesmumps -lsmumps -ldmumps -lcmumps -lzmumps -lpord"
|
|
|
|
# Enforce usage system's ASL
|
|
configure.args-append \
|
|
--with-asl-cflags=-I${prefix}/include/asl \
|
|
--with-asl-lflags=-lasl
|