Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add r-matrix #1339

Merged
merged 2 commits into from
Oct 2, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
58 changes: 58 additions & 0 deletions recipes/recipes_emscripten/r-matrix/recipe.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
context:
name: r-matrix
version: 1.7-0
r_base_version: 4.4.1

package:
name: ${{ name }}
version: ${{ version|replace('-', '_') }}

source:
url:
- https://cran.r-project.org/src/contrib/Matrix_${{ version }}.tar.gz
- https://cloud.r-project.org/src/contrib/Matrix_${{ version }}.tar.gz
sha256: fb97bba0df370222eb4f7e2da2e94dd01053b5e054b1c51829ff9a6efc08ad37

build:
number: 0
script:
- $R CMD INSTALL $R_ARGS --no-byte-compile .
- rm $PREFIX/lib/R/library/grDevices/libs/cairo.so
- rm $PREFIX/lib/R/library/tcltk/libs/tcltk.so
# The activation script of cross-r-base copies cairo and tcltk from
# the build environment.

requirements:
build:
- cross-r-base >= ${{ r_base_version }}
- r-lattice
- ${{ compiler('c') }}
host:
- r-base == ${{ r_base_version }}
- r-lattice
- libblas>=3.12
- liblapack>=3.12
- libflang # for FortranRuntime
run:
- r-base == ${{ r_base_version }}
- r-lattice

tests:
- package_contents:
lib:
- R/library/Matrix/libs/Matrix.so

about:
homepage: http://Matrix.R-forge.R-project.org/
license: GPL-2.0-or-later
license_family: GPL3
summary: |
A rich hierarchy of sparse and dense matrix classes, including general,
symmetric, triangular, and diagonal matrices with numeric, logical, or
pattern entries. Efficient methods for operating on such matrices, often
wrapping the 'BLAS', 'LAPACK', and 'SuiteSparse' libraries.

extra:
recipe-maintainers:
- IsabelParedes
- anutosh491
Loading