Skip to content

Commit bf30ea9

Browse files
committed
chore: Remove no longer needed -j{cores} arg for cmake as supports it natively - rust-lang/cmake-rs#229
1 parent 47d5e8e commit bf30ea9

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

build.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ fn main() {
77
} else {
88
"Release"
99
};
10-
let cores = std::thread::available_parallelism().unwrap().get();
1110

1211
// Build & link required Valhalla libraries
1312
let dst = cmake::Config::new("valhalla")
@@ -26,7 +25,6 @@ fn main() {
2625
.define("ENABLE_PYTHON_BINDINGS", "OFF")
2726
.define("ENABLE_TESTS", "OFF")
2827
.define("ENABLE_GDAL", "OFF")
29-
.build_arg(format!("-j{cores}"))
3028
.build_target("valhalla")
3129
.build();
3230

0 commit comments

Comments
 (0)