Fix nproc unavailable
This commit is contained in:
@@ -6,7 +6,7 @@ fi
|
|||||||
mkdir -p build_cmake
|
mkdir -p build_cmake
|
||||||
cd build_cmake
|
cd build_cmake
|
||||||
cmake -DBUILD_PYBULLET=ON -DBUILD_PYBULLET_NUMPY=OFF -DUSE_DOUBLE_PRECISION=ON -DCMAKE_BUILD_TYPE=Release ..
|
cmake -DBUILD_PYBULLET=ON -DBUILD_PYBULLET_NUMPY=OFF -DUSE_DOUBLE_PRECISION=ON -DCMAKE_BUILD_TYPE=Release ..
|
||||||
make -j $(command nproc || echo 12)
|
make -j $(command nproc 2>/dev/null || echo 12)
|
||||||
cd examples
|
cd examples
|
||||||
cd pybullet
|
cd pybullet
|
||||||
if [ -e pybullet.dylib ]; then
|
if [ -e pybullet.dylib ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user