You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
44 lines
1.7 KiB
Tcl
44 lines
1.7 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 compilers 1.0
|
|
PortGroup github 1.0
|
|
|
|
github.setup ERGO-Code HiGHS 1.9.0 v
|
|
revision 0
|
|
categories math science
|
|
maintainers {@barracuda156 gmail.com:vital.had} openmaintainer
|
|
license MIT
|
|
description Linear optimization software
|
|
long_description HiGHS is a high performance serial and parallel solver \
|
|
for large-scale sparse linear optimization problems.
|
|
homepage https://ergo-code.github.io
|
|
checksums rmd160 18bb9ecc80a2eff7d86111a8969f5ecdb11a40ef \
|
|
sha256 dff575df08d88583c109702c7c5c75ff6e51611e6eacca8b5b3fdfba8ecc2cb4 \
|
|
size 2270498
|
|
github.tarball_from archive
|
|
|
|
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.
|
|
depends_build-append path:bin/git:git
|
|
git.cmd ${prefix}/bin/git
|
|
}
|
|
|
|
depends_lib-append port:zlib
|
|
|
|
compiler.cxx_standard 2011
|
|
compiler.thread_local_storage yes
|
|
# Apple clang on 10.11 and below fails.
|
|
# 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.
|
|
compiler.blacklist-append \
|
|
{clang < 900}
|
|
compilers.setup require_fortran
|
|
|
|
configure.args-append -DBUILD_TESTING=ON \
|
|
-DBUILD_SHARED_LIBS=ON \
|
|
-DFORTRAN=ON
|
|
|
|
test.run yes
|