Skip to content

Commit

Permalink
Use a single job for compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
dfalbel committed Oct 2, 2024
1 parent 842b750 commit c8fe88e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Makevars
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ $(STATLIB):
export CARGO_HOME=$(CARGOTMP); \
fi && \
echo "*** Rust version: $$(rustc --version)" && \
cargo build --lib --release --offline --config rust/config/cargo-config.toml --manifest-path=./rust/Cargo.toml --target-dir $(TARGET_DIR)
cargo build --lib --release --offline --config rust/config/cargo-config.toml --manifest-path=./rust/Cargo.toml --target-dir $(TARGET_DIR) --jobs 1

# we clean headers to avoid a message like
# Found the following sources/headers with CR or CRLF line endings:
Expand Down
2 changes: 1 addition & 1 deletion src/Makevars.win
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ $(STATLIB):
export CARGO_HOME=$(CARGOTMP); \
fi && \
echo "*** Rust version: $$(rustc --version)" && \
cargo build --target=$(TARGET) --lib --release --offline --config rust/config/cargo-config.toml --manifest-path=./rust/Cargo.toml --target-dir $(TARGET_DIR)
cargo build --target=$(TARGET) --lib --release --offline --config rust/config/cargo-config.toml --manifest-path=./rust/Cargo.toml --target-dir $(TARGET_DIR) --jobs 1

# we clean headers to avoid a message like
# Found the following sources/headers with CR or CRLF line endings:
Expand Down

0 comments on commit c8fe88e

Please sign in to comment.