# -*- 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.7.4 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 b6d909c8c9361754f2557555e25a54757b3a3d14 \ sha256 b88a65fd94428c9565db04f860ced2f029f1979011abafb4fb1fe7144aa1ae05 \ size 949714 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