Skip to content

Commit

Permalink
-j を付ける
Browse files Browse the repository at this point in the history
  • Loading branch information
melpon committed May 30, 2024
1 parent 9177771 commit 37da844
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
6 changes: 5 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
"editor.formatOnSave": true
},
"files.associations": {
"*.cs": "csharp",
"CMakeLists.txt": "cmake",
"algorithm": "cpp",
"__bits": "cpp",
"__config": "cpp",
Expand Down Expand Up @@ -119,7 +121,9 @@
"strstream": "cpp",
"typeindex": "cpp",
"source_location": "cpp",
"__memory": "cpp"
"__memory": "cpp",
"compare": "cpp",
"concepts": "cpp"
},
"C_Cpp.errorSquiggles": "disabled",
// nanobind 周りでエラーが消えないので全部消す
Expand Down
3 changes: 1 addition & 2 deletions requirements-dev.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
# features: []
# all-features: false
# with-sources: false
# generate-hashes: false

-e file:.
auditwheel==6.0.0
Expand All @@ -30,10 +29,10 @@ pyproject-hooks==1.1.0
# via build
pytest==8.2.1
ruff==0.4.5
setuptools==70.0.0
tomli==2.0.1
# via build
# via pytest
wheel==0.43.0
zipp==3.19.0
# via importlib-metadata
setuptools==70.0.0
1 change: 0 additions & 1 deletion requirements.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,5 @@
# features: []
# all-features: false
# with-sources: false
# generate-hashes: false

-e file:.
3 changes: 2 additions & 1 deletion run.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import hashlib
import multiprocessing
import os
import platform
import shutil
Expand Down Expand Up @@ -763,7 +764,7 @@ def main():
mkdir_p(sora_build_dir)
with cd(sora_build_dir):
cmd(["cmake", BASE_DIR, *cmake_args])
cmd(["cmake", "--build", ".", "--config", configuration])
cmd(["cmake", "--build", ".", "--config", configuration, f"-j{multiprocessing.cpu_count()}"])

for file in os.listdir(sora_src_dir):
if file.startswith("sora_sdk_ext.") and (
Expand Down

0 comments on commit 37da844

Please sign in to comment.