Files

35 lines
1.5 KiB
Tcl
Raw Permalink Normal View History

2023-03-20 19:17:35 +07:00
# -*- 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.
2023-12-12 18:23:21 +08:00
R.setup cran wrathematics float 0.3-2
revision 1
2023-03-20 19:17:35 +07:00
categories-append math
2026-04-11 19:42:02 +04:00
maintainers nomaintainer
2023-03-20 19:17:35 +07:00
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.
2023-12-12 18:23:21 +08:00
checksums rmd160 1d64750682187aa9cd2ffb5c52b7012fc8f94aab \
sha256 233a0dd71f02491ce410c173fd3c3a503b3b49a6a5fe092dde61710db2732a91 \
size 1438667
2023-03-20 19:17:35 +07:00
# 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