We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59bb690 commit 3258734Copy full SHA for 3258734
.gitmodules
@@ -1,3 +1,3 @@
1
[submodule "source"]
2
- path = openblas-build/source
+ path = openblas-src/source
3
url = https://github.com/xianyi/OpenBLAS.git
openblas-build/src/build.rs
@@ -10,7 +10,11 @@ use std::{
10
use walkdir::WalkDir;
11
12
fn openblas_source_dir() -> PathBuf {
13
- let path = PathBuf::from(env!("CARGO_MANIFEST_DIR")).join("source");
+ // FIXME This cannot work with cargo publish/package
14
+ let path = PathBuf::from(env!("CARGO_MANIFEST_DIR"))
15
+ .parent()
16
+ .unwrap()
17
+ .join("openblas-src/source");
18
if !path.join("Makefile").exists() {
19
panic!("OpenBLAS repository has not been cloned. Run `git submodule update --init`");
20
}
openblas-build/source renamed to openblas-src/source
0 commit comments