mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-14 22:00:05 +00:00
90939279f9
fix issue with HalfCheetahBulletEnv-v0 in previous commit
16 lines
407 B
Bash
Executable File
16 lines
407 B
Bash
Executable File
#!/bin/sh
|
|
|
|
if [ -e CMakeCache.txt ]; then
|
|
rm CMakeCache.txt
|
|
fi
|
|
mkdir -p build_cmake
|
|
cd build_cmake
|
|
cmake -DBUILD_PYBULLET=ON -DBUILD_PYBULLET_NUMPY=ON -DUSE_DOUBLE_PRECISION=ON -DCMAKE_BUILD_TYPE=Release .. || exit 1
|
|
make -j $(command nproc 2>/dev/null || echo 12) || exit 1
|
|
cd examples
|
|
cd pybullet
|
|
if [ -e pybullet.dylib ]; then
|
|
ln -f -s pybullet.dylib pybullet.so
|
|
fi
|
|
echo "Completed build of Bullet."
|