Skip to content

Commit c3933b4

Browse files
committed
Update build.
1 parent e7a6317 commit c3933b4

17 files changed

Lines changed: 7 additions & 7 deletions

File tree

oefpil-sys/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ See the [release history](RELEASES.md) to keep track of the development.
2525
## System Requirements
2626

2727
By default, this crate dynamically links to the runtime dependency `liblapack` (e.g., package
28-
`liblapack3` on Debian, package `lapack` on Fedora Linux or Arch Linux) and requires a C
29-
compiler as build dependency (e.g., package `clang` or `gcc` on Debian, Fedora Linux, or Arch
30-
Linux). With the `built-in` feature, a subset of `liblapack` and its dependency `libblas`
31-
shipped with this crate is compiled and statically linked. This eliminates the runtime
32-
dependency `liblapack` but requires the GCC Fortran compiler (e.g, `gfortran` on Debian,
28+
`liblapack-dev` on Debian, package `lapack-devel` on Fedora Linux, or package `lapack` on Arch
29+
Linux) and requires a C compiler as build dependency (e.g., package `clang` or `gcc` on Debian,
30+
Fedora Linux, or Arch Linux). With the `built-in` feature, a subset of `liblapack` and its
31+
dependency `libblas` shipped with this crate is compiled and statically linked. This eliminates the
32+
runtime dependency `liblapack` but requires the GCC Fortran compiler (e.g, `gfortran` on Debian,
3333
`gcc-fortran` on Fedora Linux or Arch Linux) as build dependency which itself depends on and
3434
complements the GCC C compiler such that GCC can compile both C and Fortran sources. It is
3535
attempted to statically link the dependencies of the subset (i.e, `libgfortran` and

oefpil-sys/build.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ fn main() {
2525
.map(str::to_string)
2626
})
2727
}
28-
let blas_path = src.join("blas");
28+
let lapack_path = src.join("lapack");
29+
let blas_path = lapack_path.join("blas");
2930
#[rustfmt::skip]
3031
let blas_file = [
3132
"dcopy.f",
@@ -45,7 +46,6 @@ fn main() {
4546
"lsame.f",
4647
]
4748
.map(|f| blas_path.join(f));
48-
let lapack_path = src.join("lapack");
4949
#[rustfmt::skip]
5050
let lapack_file = [
5151
"dgemqr.f",

0 commit comments

Comments
 (0)