WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit a0fab91

Browse files
committed
fix comments
1 parent 3a25fbf commit a0fab91

File tree

1 file changed

+2
-2
lines changed
  • inlong-sdk/dataproxy-sdk-twins/dataproxy-sdk-python

1 file changed

+2
-2
lines changed

inlong-sdk/dataproxy-sdk-twins/dataproxy-sdk-python/build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ if [ ! -d "$PY_SDK_DIR/pybind11/build" ]; then
8989

9090
cmake "$PY_SDK_DIR/pybind11"
9191
cmake --build "$PY_SDK_DIR/pybind11/build" --config Release
92-
make -j 4
92+
make -j"$(nproc)"
9393

9494
# Remove the trap command if the build is successful
9595
trap - ERR
@@ -120,7 +120,7 @@ if [ -d "$PY_SDK_DIR/build" ]; then
120120
fi
121121
mkdir "$PY_SDK_DIR/build" && cd "$PY_SDK_DIR/build"
122122
cmake "$PY_SDK_DIR"
123-
make -j 4
123+
make -j"$(nproc)"
124124

125125
# Handle installation based on command line arguments
126126
if [ -n "$TARGET_DIR" ]; then

0 commit comments

Comments
 (0)