Files

44 lines
1.7 KiB
Tcl
Raw Permalink Normal View History

2023-05-18 04:37:43 +08: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
PortGroup cmake 1.1
PortGroup compilers 1.0
PortGroup github 1.0
2025-11-19 21:31:34 +01:00
github.setup ERGO-Code HiGHS 1.12.0 v
2023-05-18 04:37:43 +08:00
revision 0
2024-10-31 00:13:26 +08:00
categories math science
2026-04-11 19:42:02 +04:00
maintainers nomaintainer
2023-05-18 04:37:43 +08:00
license MIT
description Linear optimization software
2024-07-02 14:02:01 +08:00
long_description HiGHS is a high performance serial and parallel solver \
for large-scale sparse linear optimization problems.
2025-11-19 21:31:34 +01:00
homepage https://ergo-code.github.io/HiGHS/stable/
checksums rmd160 89a326473c382173e75718c791e5f6f416ba5db9 \
sha256 cd0daddaca57e66b55524588d715dc62dcee06b5ab9ad186412dc23bc71ae342 \
size 2631655
2023-08-14 11:25:50 +08:00
github.tarball_from archive
2023-05-18 04:37:43 +08:00
if {${os.major} < 13} {
# Lion+ (with Xcode 4.1+) have git; earlier need to bring their own.
# On 10.8.5 git fetch fails with ssl error.
2024-10-31 00:13:26 +08:00
depends_build-append path:bin/git:git
2023-05-18 04:37:43 +08:00
git.cmd ${prefix}/bin/git
}
depends_lib-append port:zlib
compiler.cxx_standard 2011
2023-10-01 21:13:12 +08:00
compiler.thread_local_storage yes
2023-05-18 16:05:59 +08:00
# Apple clang on 10.11 and below fails.
2023-07-07 07:45:07 +08:00
# PPC note: non_lazy_ptr bug seems to have been fixed in gcc 12.3.0. If the error resurfaces, use gcc 11 or earlier.
2023-05-18 16:05:59 +08:00
compiler.blacklist-append \
2023-07-07 07:45:07 +08:00
{clang < 900}
2023-05-18 04:37:43 +08:00
compilers.setup require_fortran
configure.args-append -DBUILD_TESTING=ON \
2024-06-13 01:46:20 +08:00
-DBUILD_SHARED_LIBS=ON \
-DFORTRAN=ON
2023-05-18 04:37:43 +08:00
test.run yes