Skip to content

Commit f23b937

Browse files
committed
Add build files 2025-08-04-1108
1 parent 75635ac commit f23b937

File tree

52 files changed

+4679
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+4679
-0
lines changed

.github/workflows/linux.yml

Lines changed: 134 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,134 @@
1+
jobs:
2+
stage_0_job_0:
3+
name: eigenpy ament-clang-tidy franka-description franka-msgs
4+
runs-on: ubuntu-latest
5+
strategy:
6+
fail-fast: false
7+
needs: []
8+
steps:
9+
- name: Checkout code
10+
uses: actions/checkout@v4
11+
- name: Build ros-humble-eigenpy ros-humble-ament-clang-tidy ros-humble-franka-description
12+
ros-humble-franka-msgs
13+
env:
14+
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }}
15+
CURRENT_RECIPES: ros-humble-eigenpy ros-humble-ament-clang-tidy ros-humble-franka-description
16+
ros-humble-franka-msgs
17+
BUILD_TARGET: ''
18+
run: |
19+
export CI=azure
20+
export GIT_BRANCH=$BUILD_SOURCEBRANCHNAME
21+
export FEEDSTOCK_NAME=$(basename ${BUILD_REPOSITORY_NAME})
22+
.scripts/build_unix.sh --target $BUILD_TARGET
23+
stage_1_job_1:
24+
name: hpp-fcl ament-cmake-clang-tidy pinocchio libfranka
25+
runs-on: ubuntu-latest
26+
strategy:
27+
fail-fast: false
28+
needs:
29+
- stage_0_job_0
30+
steps:
31+
- name: Checkout code
32+
uses: actions/checkout@v4
33+
- name: Build ros-humble-hpp-fcl ros-humble-ament-cmake-clang-tidy ros-humble-pinocchio
34+
ros-humble-libfranka
35+
env:
36+
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }}
37+
CURRENT_RECIPES: ros-humble-hpp-fcl ros-humble-ament-cmake-clang-tidy ros-humble-pinocchio
38+
ros-humble-libfranka
39+
BUILD_TARGET: ''
40+
run: |
41+
export CI=azure
42+
export GIT_BRANCH=$BUILD_SOURCEBRANCHNAME
43+
export FEEDSTOCK_NAME=$(basename ${BUILD_REPOSITORY_NAME})
44+
.scripts/build_unix.sh --target $BUILD_TARGET
45+
stage_2_job_2:
46+
name: franka-hardware franka-gripper
47+
runs-on: ubuntu-latest
48+
strategy:
49+
fail-fast: false
50+
needs:
51+
- stage_1_job_1
52+
steps:
53+
- name: Checkout code
54+
uses: actions/checkout@v4
55+
- name: Build ros-humble-franka-hardware ros-humble-franka-gripper
56+
env:
57+
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }}
58+
CURRENT_RECIPES: ros-humble-franka-hardware ros-humble-franka-gripper
59+
BUILD_TARGET: ''
60+
run: |
61+
export CI=azure
62+
export GIT_BRANCH=$BUILD_SOURCEBRANCHNAME
63+
export FEEDSTOCK_NAME=$(basename ${BUILD_REPOSITORY_NAME})
64+
.scripts/build_unix.sh --target $BUILD_TARGET
65+
stage_3_job_3:
66+
name: franka-semantic-components franka-ign-ros2-control franka-fr3-moveit-config
67+
runs-on: ubuntu-latest
68+
strategy:
69+
fail-fast: false
70+
needs:
71+
- stage_2_job_2
72+
steps:
73+
- name: Checkout code
74+
uses: actions/checkout@v4
75+
- name: Build ros-humble-franka-semantic-components ros-humble-franka-ign-ros2-control
76+
ros-humble-franka-fr3-moveit-config
77+
env:
78+
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }}
79+
CURRENT_RECIPES: ros-humble-franka-semantic-components ros-humble-franka-ign-ros2-control
80+
ros-humble-franka-fr3-moveit-config
81+
BUILD_TARGET: ''
82+
run: |
83+
export CI=azure
84+
export GIT_BRANCH=$BUILD_SOURCEBRANCHNAME
85+
export FEEDSTOCK_NAME=$(basename ${BUILD_REPOSITORY_NAME})
86+
.scripts/build_unix.sh --target $BUILD_TARGET
87+
stage_4_job_4:
88+
name: franka-robot-state-broadcaster franka-gazebo-bringup franka-example-controllers
89+
franka-bringup
90+
runs-on: ubuntu-latest
91+
strategy:
92+
fail-fast: false
93+
needs:
94+
- stage_3_job_3
95+
steps:
96+
- name: Checkout code
97+
uses: actions/checkout@v4
98+
- name: Build ros-humble-franka-robot-state-broadcaster ros-humble-franka-gazebo-bringup
99+
ros-humble-franka-example-controllers ros-humble-franka-bringup
100+
env:
101+
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }}
102+
CURRENT_RECIPES: ros-humble-franka-robot-state-broadcaster ros-humble-franka-gazebo-bringup
103+
ros-humble-franka-example-controllers ros-humble-franka-bringup
104+
BUILD_TARGET: ''
105+
run: |
106+
export CI=azure
107+
export GIT_BRANCH=$BUILD_SOURCEBRANCHNAME
108+
export FEEDSTOCK_NAME=$(basename ${BUILD_REPOSITORY_NAME})
109+
.scripts/build_unix.sh --target $BUILD_TARGET
110+
stage_5_job_5:
111+
name: franka-ros2
112+
runs-on: ubuntu-latest
113+
strategy:
114+
fail-fast: false
115+
needs:
116+
- stage_4_job_4
117+
steps:
118+
- name: Checkout code
119+
uses: actions/checkout@v4
120+
- name: Build ros-humble-franka-ros2
121+
env:
122+
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }}
123+
CURRENT_RECIPES: ros-humble-franka-ros2
124+
BUILD_TARGET: ''
125+
run: |
126+
export CI=azure
127+
export GIT_BRANCH=$BUILD_SOURCEBRANCHNAME
128+
export FEEDSTOCK_NAME=$(basename ${BUILD_REPOSITORY_NAME})
129+
.scripts/build_unix.sh --target $BUILD_TARGET
130+
name: build_unix
131+
on:
132+
push:
133+
branches:
134+
- buildbranch_linux

buildorder.txt

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
ros-humble-eigenpy
2+
ros-humble-ament-clang-tidy
3+
ros-humble-franka-description
4+
ros-humble-franka-msgs
5+
ros-humble-hpp-fcl
6+
ros-humble-ament-cmake-clang-tidy
7+
ros-humble-pinocchio
8+
ros-humble-libfranka
9+
ros-humble-franka-hardware
10+
ros-humble-franka-gripper
11+
ros-humble-franka-semantic-components
12+
ros-humble-franka-ign-ros2-control
13+
ros-humble-franka-fr3-moveit-config
14+
ros-humble-franka-robot-state-broadcaster
15+
ros-humble-franka-gazebo-bringup
16+
ros-humble-franka-example-controllers
17+
ros-humble-franka-bringup
18+
ros-humble-franka-ros2
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
:: Generated by vinca http://github.com/RoboStack/vinca.
2+
:: DO NOT EDIT!
3+
setlocal
4+
5+
set "PYTHONPATH=%LIBRARY_PREFIX%\lib\site-packages;%SP_DIR%"
6+
7+
pushd %SRC_DIR%\%PKG_NAME%\src\work\
8+
set "PKG_NAME_SHORT=%PKG_NAME:*ros-humble-=%"
9+
set "PKG_NAME_SHORT=%PKG_NAME_SHORT:-=_%"
10+
11+
:: If there is a setup.cfg that contains install-scripts then use pip to install
12+
findstr install[-_]scripts setup.cfg
13+
if "%errorlevel%" == "0" (
14+
%PYTHON% setup.py install --single-version-externally-managed --record=files.txt ^
15+
--prefix=%LIBRARY_PREFIX% ^
16+
--install-lib=%SP_DIR% ^
17+
--install-scripts=%LIBRARY_PREFIX%\lib\%PKG_NAME_SHORT%
18+
) else (
19+
%PYTHON% setup.py install --single-version-externally-managed --record=files.txt ^
20+
--prefix=%LIBRARY_PREFIX% ^
21+
--install-lib=%SP_DIR% ^
22+
--install-scripts=%LIBRARY_PREFIX%\bin
23+
)
24+
25+
if errorlevel 1 exit 1
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Generated by vinca http://github.com/RoboStack/vinca.
2+
# DO NOT EDIT!
3+
4+
set -eo pipefail
5+
6+
pushd $SRC_DIR/$PKG_NAME/src/work/
7+
8+
# If there is a setup.cfg that contains install-scripts then we should not set it here
9+
if [ -f setup.cfg ] && grep -q "install[-_]scripts" setup.cfg; then
10+
# Remove e.g. ros-humble- from PKG_NAME
11+
PKG_NAME_SHORT=${PKG_NAME#*ros-humble-}
12+
# Substitute "-" with "_"
13+
PKG_NAME_SHORT=${PKG_NAME_SHORT//-/_}
14+
INSTALL_SCRIPTS_ARG="--install-scripts=$PREFIX/lib/$PKG_NAME_SHORT"
15+
echo "WARNING: setup.cfg not set, will set INSTALL_SCRIPTS_ARG to: $INSTALL_SCRIPTS_ARG"
16+
$PYTHON setup.py install --prefix="$PREFIX" --install-lib="$SP_DIR" $INSTALL_SCRIPTS_ARG --single-version-externally-managed --record=files.txt
17+
else
18+
$PYTHON -m pip install . --no-deps -vvv
19+
fi
Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
# yaml-language-server: $schema=https://raw.githubusercontent.com/prefix-dev/recipe-format/main/schema.json
2+
3+
package:
4+
name: ros-humble-ament-clang-tidy
5+
version: 0.12.12
6+
source:
7+
git: https://github.com/ros2-gbp/ament_lint-release.git
8+
tag: release/humble/ament_clang_tidy/0.12.12-1
9+
target_directory: ros-humble-ament-clang-tidy/src/work
10+
11+
build:
12+
script: ${{ '$RECIPE_DIR/build_ament_python.sh' if unix or wasm32 else '%RECIPE_DIR%\\bld_ament_python.bat' }}
13+
number: 13
14+
post_process:
15+
- files:
16+
- '*.pc'
17+
regex: (?:-L|-I)?"?([^;\s]+/sysroot/)
18+
replacement: $$(CONDA_BUILD_SYSROOT_S)
19+
- files:
20+
- '*.cmake'
21+
regex: ([^;\s"]+/sysroot)
22+
replacement: $$ENV{CONDA_BUILD_SYSROOT}
23+
- files:
24+
- '*.cmake'
25+
regex: ([^;\s"]+/MacOSX\d*\.?\d*\.sdk)
26+
replacement: $$ENV{CONDA_BUILD_SYSROOT}
27+
about:
28+
homepage: https://www.ros.org/
29+
license: BSD-3-Clause
30+
summary: |
31+
Robot Operating System
32+
33+
extra:
34+
recipe-maintainers:
35+
- ros-forge
36+
37+
requirements:
38+
build:
39+
- ${{ compiler('cxx') }}
40+
- ${{ compiler('c') }}
41+
- if: target_platform!='emscripten-wasm32'
42+
then:
43+
- ${{ stdlib('c') }}
44+
- ninja
45+
- python
46+
- setuptools
47+
- git
48+
- git-lfs
49+
- if: unix
50+
then:
51+
- patch
52+
- make
53+
- coreutils
54+
- if: win
55+
then:
56+
- m2-patch
57+
- if: osx
58+
then:
59+
- tapi
60+
- if: build_platform != target_platform
61+
then:
62+
- pkg-config
63+
- cmake
64+
- cython
65+
- if: build_platform != target_platform
66+
then:
67+
- python
68+
- cross-python_${{ target_platform }}
69+
- numpy
70+
host:
71+
- if: build_platform == target_platform
72+
then:
73+
- pkg-config
74+
- numpy
75+
- pip
76+
- pytest
77+
- python
78+
- ros-humble-ament-copyright
79+
- ros-humble-ament-flake8
80+
- ros-humble-ament-pep257
81+
- ros-humble-ros-environment
82+
- ros-humble-ros-workspace
83+
- ros2-distro-mutex 0.7.* humble_*
84+
- setuptools
85+
run:
86+
- clang-tools
87+
- python
88+
- pyyaml
89+
- ros-humble-ros-workspace
90+
- ros2-distro-mutex 0.7.* humble_*
91+
- if: osx and x86_64
92+
then:
93+
- __osx >=${{ MACOSX_DEPLOYMENT_TARGET|default('10.14') }}
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
:: Generated by vinca http://github.com/RoboStack/vinca.
2+
:: DO NOT EDIT!
3+
setlocal EnableDelayedExpansion
4+
5+
set "PYTHONPATH=%LIBRARY_PREFIX%\lib\site-packages;%SP_DIR%"
6+
7+
:: MSVC is preferred.
8+
set CC=cl.exe
9+
set CXX=cl.exe
10+
11+
rd /s /q build
12+
mkdir build
13+
pushd build
14+
15+
:: set "CMAKE_GENERATOR=Ninja"
16+
:: We use the Visual Studio generator as a workaround for
17+
:: problems in Ninja when using long paths, see https://github.com/RoboStack/ros-humble/pull/229#issuecomment-2564856467
18+
:: Once those are solved, we can switch back to use Ninja
19+
set "CMAKE_GENERATOR=Visual Studio %VS_MAJOR% %VS_YEAR%"
20+
21+
:: PYTHON_INSTALL_DIR should be a relative path, see
22+
:: https://github.com/ament/ament_cmake/blob/2.3.2/ament_cmake_python/README.md
23+
:: So we compute the relative path of %SP_DIR% w.r.t. to LIBRARY_PREFIX,
24+
:: but it is not trivial to do this in Command Prompt scripting, so let's do it via
25+
:: python
26+
27+
:: This line is scary, but it basically assigns the output of the command inside (` and `)
28+
:: to the variable specified after DO SET
29+
:: The equivalent in bash is PYTHON_INSTALL_DIR=`python -c ...`
30+
FOR /F "tokens=* USEBACKQ" %%i IN (`python -c "import os;print(os.path.relpath(os.environ['SP_DIR'],os.environ['LIBRARY_PREFIX']).replace('\\','/'))"`) DO SET PYTHON_INSTALL_DIR=%%i
31+
32+
cmake ^
33+
-G "%CMAKE_GENERATOR%" ^
34+
-DCMAKE_INSTALL_PREFIX=%LIBRARY_PREFIX% ^
35+
-DCMAKE_BUILD_TYPE=Release ^
36+
-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=True ^
37+
-DPYTHON_EXECUTABLE=%PYTHON% ^
38+
-DPython_EXECUTABLE=%PYTHON% ^
39+
-DPython3_EXECUTABLE=%PYTHON% ^
40+
-DSETUPTOOLS_DEB_LAYOUT=OFF ^
41+
-DBUILD_SHARED_LIBS=ON ^
42+
-DBUILD_TESTING=OFF ^
43+
-DCMAKE_OBJECT_PATH_MAX=255 ^
44+
--compile-no-warning-as-error ^
45+
-DPYTHON_INSTALL_DIR=%PYTHON_INSTALL_DIR% ^
46+
^
47+
%SRC_DIR%\%PKG_NAME%\src\work\
48+
if errorlevel 1 exit 1
49+
50+
:: We explicitly pass %CPU_COUNT% to cmake --build as we are not using Ninja,
51+
:: see the comment before setting the CMAKE_GENERATOR env variable
52+
cmake --build . --config Release --parallel %CPU_COUNT% --target install
53+
if errorlevel 1 exit 1

0 commit comments

Comments
 (0)