Skip to content

Commit

Permalink
Dev dependency fix (#68)
Browse files Browse the repository at this point in the history
* Fixed dev dependencies

* moved lapack_src blas_src
  • Loading branch information
tbetcke authored Mar 16, 2024
1 parent fe8e031 commit ab36e6b
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 5 deletions.
4 changes: 2 additions & 2 deletions rlst/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ mpi = { version="0.7.0", optional=true }
mpi-sys = { version="0.2.1", optional=true }


[target.aarch64-apple-darwin.dependencies]
[target.aarch64-apple-darwin.dev-dependencies]
blas-src = { version = "0.9", features = ["accelerate"]}
lapack-src = { version = "0.9", features = ["accelerate"]}

[target.x86_64-unknown-linux-gnu.dependencies]
[target.x86_64-unknown-linux-gnu.dev-dependencies]
blas-src = { version = "0.9", features = ["blis"]}
lapack-src = { version = "0.9", features = ["netlib"]}

Expand Down
3 changes: 0 additions & 3 deletions rlst/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
//! Interface to the rlst library
extern crate blas_src;
extern crate lapack_src;

pub use rlst_dense as dense;

pub use rlst_sparse as sparse;
Expand Down
3 changes: 3 additions & 0 deletions rlst/tests/array_operations.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
//! Tests of array algebray operations
extern crate blas_src;
extern crate lapack_src;

use approx::assert_relative_eq;
use paste::paste;
use rlst::dense;
Expand Down
3 changes: 3 additions & 0 deletions rlst/tests/linalg.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
//! Tests of array algebray operations
extern crate blas_src;
extern crate lapack_src;

use paste::paste;
use rlst::dense::assert_array_abs_diff_eq;
use rlst::dense::assert_array_relative_eq;
Expand Down
3 changes: 3 additions & 0 deletions rlst/tests/operator.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
//! Tests for the operator interface
extern crate blas_src;
extern crate lapack_src;

use num::traits::{One, Zero};
use rand::Rng;
use rlst::dense;
Expand Down
3 changes: 3 additions & 0 deletions rlst/tests/sparse.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
use rlst::prelude::*;

extern crate blas_src;
extern crate lapack_src;

#[test]
fn test_csc_from_aij() {
// Test the matrix [[1, 2], [3, 4]]
Expand Down

0 comments on commit ab36e6b

Please sign in to comment.