Closed Notgnoshi closed 1 year ago
The build parallelism problem can be worked around with
CMAKE_GENERATOR=Ninja cargo build
But I expect that this will, on an N-core CPU, run N C++ build jobs and N Rust build jobs at the same time (e.g., it doesn't share an equivalent to the Make jobserver)
There's still one problem left to figure out. The CMake build (when invoked by Cargo) is no longer parallel
I've run into jobserver problems before, but I suspect that I have too new of a cmake/make combination
Could possibly look into forking
cc-rs
andcmake-rs
to use https://github.com/cargo-bins/jobslot overjobserver-rs
?