-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1794 from k-okada/fix_unitree
[unitree/cross] Fix unitree system build
- Loading branch information
Showing
13 changed files
with
136 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
jsk_unitree_robot/cross/ros1_dependencies_build_scripts/1000-python-setuptools-scm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/bash | ||
set -xeuf -o pipefail | ||
|
||
DEBIAN_DIR=/home/user/ros1_dependencies_sources/src/python-setuptools-scm/debian/debian | ||
SOURCE_DIR=/home/user/ros1_dependencies_sources/src/python-setuptools-scm/setuptools_scm-1.15.6 | ||
|
||
# cd ${DEBIAN_DIR}/patches | ||
# for patch_file in $(grep -v ^# series); do | ||
# OUT="$(patch -p1 --forward --directory ${SOURCE_DIR} < ${patch_file} | tee /dev/tty)" || echo "${OUT}" | grep "Skipping patch" -q || (echo "$OUT" && false) || echo "OK" | ||
# done | ||
|
||
cd ${SOURCE_DIR} | ||
mkdir -p /opt/jsk/${INSTALL_ROOT}/ros1_dependencies/lib/python2.7/site-packages/ | ||
PYTHONPATH="/opt/jsk/${INSTALL_ROOT}/ros1_dependencies/lib/python2.7/site-packages" \ | ||
python \ | ||
setup.py install \ | ||
--prefix /opt/jsk/${INSTALL_ROOT}/ros1_dependencies |
17 changes: 17 additions & 0 deletions
17
jsk_unitree_robot/cross/ros1_dependencies_build_scripts/1010-python-attr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/bash | ||
set -xeuf -o pipefail | ||
|
||
DEBIAN_DIR=/home/user/ros1_dependencies_sources/src/python-attr/debian/debian | ||
SOURCE_DIR=/home/user/ros1_dependencies_sources/src/python-attr/attrs-17.4.0 | ||
|
||
cd ${DEBIAN_DIR}/patches | ||
for patch_file in $(grep -v ^# series); do | ||
OUT="$(patch -p1 --forward --directory ${SOURCE_DIR} < ${patch_file} | tee /dev/tty)" || echo "${OUT}" | grep "Skipping patch" -q || (echo "$OUT" && false) || echo "OK" | ||
done | ||
cd ${SOURCE_DIR} | ||
mkdir -p /opt/jsk/${INSTALL_ROOT}/ros1_dependencies/lib/python2.7/site-packages/ | ||
PYTHONPATH="/opt/jsk/${INSTALL_ROOT}/ros1_dependencies/lib/python2.7/site-packages" \ | ||
python \ | ||
setup.py install \ | ||
--prefix /opt/jsk/${INSTALL_ROOT}/ros1_dependencies |
17 changes: 17 additions & 0 deletions
17
jsk_unitree_robot/cross/ros1_dependencies_build_scripts/1010-python-automat
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/bash | ||
set -xeuf -o pipefail | ||
|
||
DEBIAN_DIR=/home/user/ros1_dependencies_sources/src/python-automat/debian/debian | ||
SOURCE_DIR=/home/user/ros1_dependencies_sources/src/python-automat/Automat-0.6.0 | ||
|
||
cd ${DEBIAN_DIR}/patches | ||
for patch_file in $(grep -v ^# series); do | ||
OUT="$(patch -p1 --forward --directory ${SOURCE_DIR} < ${patch_file} | tee /dev/tty)" || echo "${OUT}" | grep "Skipping patch" -q || (echo "$OUT" && false) || echo "OK" | ||
done | ||
cd ${SOURCE_DIR} | ||
mkdir -p /opt/jsk/${INSTALL_ROOT}/ros1_dependencies/lib/python2.7/site-packages/ | ||
PYTHONPATH="/opt/jsk/${INSTALL_ROOT}/ros1_dependencies/lib/python2.7/site-packages" \ | ||
python \ | ||
setup.py install \ | ||
--prefix /opt/jsk/${INSTALL_ROOT}/ros1_dependencies |
File renamed without changes.
File renamed without changes.
File renamed without changes.
23 changes: 23 additions & 0 deletions
23
jsk_unitree_robot/cross/ros1_dependencies_build_scripts/1043-libccd-dev
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#!/bin/bash | ||
set -xeu -o pipefail | ||
|
||
DEBIAN_DIR=/home/user/ros1_dependencies_sources/src/libccd-dev/debian/debian | ||
SOURCE_DIR=/home/user/ros1_dependencies_sources/src/libccd-dev/libccd-2.0 | ||
|
||
# | ||
# libccd-dev does not have patches | ||
# | ||
# cd ${DEBIAN_DIR}/patches | ||
# for patch_file in $(grep -v ^# series); do | ||
# OUT="$(patch -p1 --forward --directory ${SOURCE_DIR} < ${patch_file} | tee /dev/tty)" || echo "${OUT}" | grep "Skipping patch" -q || (echo "$OUT" && false) || echo "OK" | ||
# done | ||
|
||
mkdir -p /home/user/ros1_dependencies_sources/build/libccd-dev | ||
cd /home/user/ros1_dependencies_sources/build/libccd-dev | ||
cmake \ | ||
-DCMAKE_INSTALL_PREFIX=/opt/jsk/${INSTALL_ROOT}/ros1_dependencies \ | ||
-DCMAKE_BUILD_TYPE=Release \ | ||
-DCMAKE_SKIP_RPATH=ON \ | ||
${SOURCE_DIR} | ||
|
||
make install |
21 changes: 21 additions & 0 deletions
21
jsk_unitree_robot/cross/ros1_dependencies_build_scripts/1044-libfcl-dev
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/bin/bash | ||
set -xeu -o pipefail | ||
|
||
DEBIAN_DIR=/home/user/ros1_dependencies_sources/src/libfcl-dev/debian/debian | ||
SOURCE_DIR=/home/user/ros1_dependencies_sources/src/libfcl-dev/fcl-0.5.0 | ||
|
||
cd ${DEBIAN_DIR}/patches | ||
for patch_file in $(grep -v ^# series); do | ||
OUT="$(patch -p1 --forward --directory ${SOURCE_DIR} < ${patch_file} | tee /dev/tty)" || echo "${OUT}" | grep "Skipping patch" -q || (echo "$OUT" && false) || echo "OK" | ||
done | ||
mkdir -p /home/user/ros1_dependencies_sources/build/libfcl-dev | ||
cd /home/user/ros1_dependencies_sources/build/libfcl-dev | ||
cmake \ | ||
-DCMAKE_INSTALL_PREFIX=/opt/jsk/${INSTALL_ROOT}/ros1_dependencies \ | ||
-DCMAKE_BUILD_TYPE=Release \ | ||
-DCMAKE_SKIP_RPATH=ON \ | ||
-DFCL_BUILD_TESTS=FALSE \ | ||
${SOURCE_DIR} | ||
make install |