# -*- 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 {@barracuda156 gmail.com:vital.had} openmaintainer 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