# -*- 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 compiler_blacklist_versions 1.0 PortGroup compilers 1.0 PortGroup github 1.0 github.setup flame libflame 646ed9075cc45aeffb53632a3ec88defb423fefa version 2024.02.27 revision 0 categories math maintainers {@barracuda156 gmail.com:vital.had} {@catap korins.ky:kirill} openmaintainer license BSD description LAPACK-like library for dense matrix computations long_description ${name} is a portable library for dense matrix computations, \ providing much of the functionality present in LAPACK. \ This is a counterpart for blis implementation of BLAS. github.tarball_from archive checksums rmd160 ba82b8df30b7d71010a4bf97f048a7b30c0ea0a6 \ sha256 c4a65910fa30cfab9972c730a4dd05385cfef83e618ed3e18cb2aa3ce20c654b \ size 23852851 patchfiles patch-Makefile.diff compiler.c_standard 1999 compilers.setup require_fortran compiler.blacklist-append \ *gcc-4.* {clang < 500} configure.args-append \ --enable-blis-use-of-fla-malloc \ --enable-lapack2flame \ --enable-multithreading=pthreads \ --with-cc=${configure.cc} # Dynamic library fails to link: # https://github.com/flame/libflame/issues/100 # configure.args-append \ --enable-dynamic-build if {${os.platform} eq "darwin" && ${os.major} < 11} { depends_build-append port:python311 license_noconflict python311 configure.python ${prefix}/bin/python3.11 } elseif {${os.platform} eq "darwin" && ${os.major} >= 19} { configure.python /usr/bin/python3 } else { configure.python /usr/bin/python } post-patch { reinplace "s|/usr/bin/env python|${configure.python}|" ${worksrcpath}/build/flatten-headers.py } configure.args-append \ --with-python=${configure.python}