Skip to content

Commit

Permalink
Using maximum threads for make in local build (#88)
Browse files Browse the repository at this point in the history
  • Loading branch information
bibo-msft authored Jul 18, 2024
1 parent 707a1b7 commit 653c17d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ def build_tvm(llvm_config_path):
# Run CMake and make
try:
subprocess.check_call(["cmake", ".."])
subprocess.check_call(["make", "-j"])
subprocess.check_call(["make", "-j$(nproc)"])
except subprocess.CalledProcessError as error:
raise RuntimeError("Failed to build TVM") from error
finally:
Expand Down

0 comments on commit 653c17d

Please sign in to comment.