# -*- 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 R 1.0 # GitHub version is outdated. R.setup cran wrathematics float 0.3-2 revision 1 categories-append math maintainers {@barracuda156 gmail.com:vital.had} openmaintainer license BSD description Single precision (float) matrices for R long_description R comes with a suite of utilities for linear algebra with numeric (double precision) vectors/matrices. \ However, sometimes single precision (or less) is more than enough for a particular task. \ This package extends R linear algebra facilities to include 32-bit float (single precision) data. checksums rmd160 1d64750682187aa9cd2ffb5c52b7012fc8f94aab \ sha256 233a0dd71f02491ce410c173fd3c3a503b3b49a6a5fe092dde61710db2732a91 \ size 1438667 # Changes to BLAS libs for float require revbump to its dependents: R-rsparse etc. depends_lib-append path:lib/libopenblas.dylib:OpenBLAS # FIXME: see if it can be linked to Accelerate instead. # https://github.com/wrathematics/float/issues/48 patchfiles patch-compiler.diff post-patch { reinplace "s,@CC@,${configure.cc}," ${worksrcpath}/configure } compilers.setup require_fortran # Some tests may fail: https://github.com/wrathematics/float/issues/49 test.run yes