forked from M-Labs/nalgebra
Replace rust build
by rustc
.
This commit is contained in:
parent
20bdbb6408
commit
86d6ff759c
6
Makefile
6
Makefile
@ -3,12 +3,12 @@ nalgebra_lib_path=lib
|
|||||||
nalgebra_doc_path=doc
|
nalgebra_doc_path=doc
|
||||||
all:
|
all:
|
||||||
mkdir -p $(nalgebra_lib_path)
|
mkdir -p $(nalgebra_lib_path)
|
||||||
rust build src/lib.rs --out-dir $(nalgebra_lib_path) --opt-level 3
|
rustc src/lib.rs --out-dir $(nalgebra_lib_path) --opt-level 3
|
||||||
|
|
||||||
test:
|
test:
|
||||||
mkdir -p $(nalgebra_lib_path)
|
mkdir -p $(nalgebra_lib_path)
|
||||||
rust test src/lib.rs
|
rustc --test src/lib.rs --opt-level 3 -o test~ && ./test~
|
||||||
rm libtest~
|
rm test~
|
||||||
|
|
||||||
bench:
|
bench:
|
||||||
rustc --test src/lib.rs --opt-level 3 -o bench~ && ./bench~ --bench
|
rustc --test src/lib.rs --opt-level 3 -o bench~ && ./bench~ --bench
|
||||||
|
Loading…
Reference in New Issue
Block a user