Skip to content

Commit

Permalink
[cross] execute dependencies building with JOBS number
Browse files Browse the repository at this point in the history
  • Loading branch information
sktometometo committed Oct 13, 2023
1 parent 0951a70 commit c40d1dc
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions jsk_unitree_robot/cross/build_ros1_dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,8 @@ docker run -it --rm \
set -xeuf -o pipefail && \
cd /home/user/ros1_dependencies_sources && \
vcs import --skip-existing --workers ${JOBS} --retry 10 --shallow src < ros1_dependencies.repos && \
for script_file in \$(ls /home/user/ros1_dependencies_build_scripts/|sort); do
/home/user/ros1_dependencies_build_scripts/\$script_file || exit 1;
done && \
export JOBS=${JOBS} && \
ls /home/user/ros1_dependencies_build_scripts/ | sort | xargs -I{} -P${JOBS} bash -c '/home/user/ros1_dependencies_build_scripts/{}' && \
pip install -U --user pip && \
export PYTHONPATH=\"/opt/jsk/System/ros1_dependencies/lib/python2.7/site-packages\" && \
export PKG_CONFIG_PATH=\"/opt/jsk/${INSTALL_ROOT}/ros1_dependencies/lib/pkgconfig\" && \
Expand Down

0 comments on commit c40d1dc

Please sign in to comment.