2022-11-14 23:45:38 +01:00
|
|
|
# -*- 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
|
2023-08-26 14:04:04 +02:00
|
|
|
PortGroup mpi 1.0
|
2022-11-14 23:45:38 +01:00
|
|
|
PortGroup github 1.0
|
|
|
|
|
|
2024-09-10 03:39:17 +08:00
|
|
|
github.setup coin-or ipopt 3.14.16 releases/
|
2025-01-25 02:50:03 +11:00
|
|
|
# Change github.tarball_from to 'releases' or 'archive' next update
|
|
|
|
|
github.tarball_from tarball
|
2024-09-10 03:39:17 +08:00
|
|
|
revision 0
|
2022-11-14 23:45:38 +01:00
|
|
|
categories math
|
2026-05-02 12:07:31 +04:00
|
|
|
license EPL-2
|
2022-11-14 23:45:38 +01:00
|
|
|
|
2024-11-06 15:34:34 +01:00
|
|
|
maintainers nomaintainer
|
2022-11-14 23:45:38 +01:00
|
|
|
|
|
|
|
|
homepage https://coin-or.github.io/Ipopt
|
|
|
|
|
description COIN-OR Interior Point Optimizer IPOPT
|
|
|
|
|
long_description {*}${description}
|
|
|
|
|
|
2024-09-10 03:39:17 +08:00
|
|
|
checksums rmd160 b3c9ca8b174da5ee763be0611c4a5c4ad0423626 \
|
|
|
|
|
sha256 7fee14f4e930e2d6bd74fb737fa8e046412d7c1f734185c6cab7806f400b8a1f \
|
|
|
|
|
size 1857528
|
2022-11-14 23:45:38 +01:00
|
|
|
|
2024-09-10 03:39:17 +08:00
|
|
|
# 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
|
|
|
|
|
}
|
2023-08-26 14:04:04 +02:00
|
|
|
|
2023-06-17 22:32:10 +02:00
|
|
|
depends_lib-append path:lib/libopenblas.dylib:OpenBLAS \
|
2023-08-26 14:04:04 +02:00
|
|
|
port:asl \
|
2022-11-14 23:45:38 +01:00
|
|
|
port:mumps \
|
|
|
|
|
port:scalapack
|
2022-11-28 16:53:53 +01:00
|
|
|
|
|
|
|
|
configure.args-append \
|
|
|
|
|
--disable-java
|
2023-08-26 14:04:04 +02:00
|
|
|
|
|
|
|
|
# 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
|