mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
See https://github.com/macports/macports-ports/pull/26909#issuecomment-3339115770
49 lines
1.5 KiB
Tcl
49 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 compilers 1.0
|
|
PortGroup github 1.0
|
|
PortGroup linear_algebra 1.0
|
|
|
|
github.setup jchristopherson linalg 1.8.2 v
|
|
revision 0
|
|
categories math science
|
|
license GPL-3
|
|
maintainers nomaintainer
|
|
description Linear algebra library that provides a user-friendly interface \
|
|
to several BLAS and LAPACK routines
|
|
long_description {*}${description}
|
|
checksums rmd160 439503fdecdbd215b7d34be7d9d322b4f32af76f \
|
|
sha256 c3ce0752dea700f02020e07b2fe485b6ce10859da10adeb3bfa64d08b4ac8dea \
|
|
size 2303950
|
|
github.tarball_from archive
|
|
|
|
depends_lib-append port:qrupdate
|
|
|
|
if {${os.major} < 14} {
|
|
# Lion+ (with Xcode 4.1+) have git; earlier need to bring their own.
|
|
# However Lion through Mavericks fail with SSL errors.
|
|
depends_build-append \
|
|
port:git
|
|
git.cmd ${prefix}/bin/git
|
|
}
|
|
|
|
compilers.choose fc cc
|
|
compilers.setup require_fortran
|
|
|
|
compiler.c_standard 2011
|
|
|
|
# Needed in order for correct version of BLAS to be picked:
|
|
pre-configure {
|
|
configure.args-append ${cmake_linalglib}
|
|
}
|
|
|
|
configure.args-append \
|
|
-DBUILD_C_API=ON \
|
|
-DBUILD_TESTING=ON \
|
|
-DBUILD_LINALG_EXAMPLES=OFF
|
|
|
|
test.run yes
|
|
test.cmd ctest
|