Crates.io | r-src |
lib.rs | r-src |
version | 0.1.0 |
source | src |
created_at | 2023-05-09 01:50:14.857184 |
updated_at | 2023-05-09 01:50:14.857184 |
description | The package provides a source of BLAS and LAPACK via R. |
homepage | https://github.com/blas-lapack-rs/r-src |
repository | https://github.com/blas-lapack-rs/r-src |
max_upload_size | |
id | 860194 |
size | 12,606 |
BLAS
and LAPACK
via RNote that only double precision routines are provided by R
. The build
script for this particular crate owes a lot to
libR-sys of the
extendr project, with sections lifted
from there, in addition to new code.
Use of this package is explained here, specifically under the Sources section.
This library can be installed as usual. It can also built from source
but has extra platform-specific dependencies for Windows
such as
msys2
, typically provided by
Rtools
.
Two components are required to build the library:
R
: It needs to be installed and
available in the search path. On Windows
, the Rtools
binaries
are also expected to be on the search path.Rust
: It is
recommended to install Rust
using rustup
; search path should
include Rust
binaries.Once R
and Rust
are configured, the library can be easily built:
# macOS & Linux
cargo build
# Windows
cargo build --target x86_64-pc-windows-gnu
To test the build, run cargo test
.
# macOS & Linux
cargo test
# Windows
cargo test --target x86_64-pc-windows-gnu
Your contribution is highly appreciated. Do not hesitate to open an issue or a pull request. Note that any contribution submitted for inclusion in the project will be licensed according to the terms given in LICENSE.md.