Skip to content

One bash build script per build type, run with brush on Windows - #225

Closed
Tobias-Fischer wants to merge 9 commits into
vinca-rs/4-package-filesfrom
vinca-rs/test-brush
Closed

Tobias-Fischer wants to merge 9 commits into
vinca-rs/4-package-filesfrom
vinca-rs/test-brush

Conversation

@Tobias-Fischer

@Tobias-Fischer Tobias-Fischer commented Nov 14, 2026 •

Copy link
Copy Markdown
Collaborator

vinca-rs with prefix-dev/pixi#7540's build scripts:

  • ament_cmake and cmake share one template: conda's ${CMAKE_ARGS}, BUILD_TESTING=OFF, and a PYTHON_INSTALL_DIR relative to the prefix for both.
  • The ROS 2 build scripts are bash scripts on every platform; Windows runs them with brush.
  • rtabmap's Windows link flags are in bash syntax ($LIBRARY_LIB instead of %LIBRARY_LIB%).

Tested: run 43573597330 rebuilt ros_workspace, ament_cmake_test, rcutils, builtin_interfaces, fastcdr, ruckig, ament_index_python and demo_nodes_py on all five platforms, together with about 25 other humble recipes. Locally on osx-arm64, the packages built with the old and the new scripts, and under bash and brush, contain the same files and have the same run dependencies.

Draft until vinca-rs 0.1.10 is released (Tobias-Fischer/vinca-rs#9); until then vinca-rs is a pixi source dependency on its branch, which CI compiles in every job.

🤖 Generated with Claude Code

@Tobias-Fischer Tobias-Fischer added the build:humble PR build: build only humble (with other build:<distro> labels: only those) label Nov 14, 2026
@github-actions

github-actions Bot commented Nov 14, 2026 •

Copy link
Copy Markdown

ABI check (linux-64)

About this check

Each package this pull request built, compared with its newest released build (tools/abi_check.py, libabigail):

  • compatible / additions: the package can be bumped on its own;
  • soname / incompatible: the packages that depend on it need a rebuild (build number bump) in the same pull request.

Exported symbols are compared (the released packages are stripped, so struct layouts aren't); unchanged installed headers rule out layout and inline changes, changed ones are listed for review. Dependents to rebuild are the released ones linking to a changed library. A changed pin is part of the comparison.

@Tobias-Fischer Tobias-Fischer removed the build:humble PR build: build only humble (with other build:<distro> labels: only those) label Nov 14, 2026
@Tobias-Fischer Tobias-Fischer changed the title TEMPORARY test: one bash build script per build type, with brush on Windows One bash build script per build type, run with brush on Windows Nov 14, 2026
@Tobias-Fischer Tobias-Fischer added the build:none PR build: build no packages, only run the checks (tooling, CI or docs changes) label Nov 14, 2026
@Tobias-Fischer
Tobias-Fischer force-pushed the vinca-rs/4-package-files branch from 7b61d9f to c436914 Compare November 14, 2026 12:07
@Tobias-Fischer
Tobias-Fischer force-pushed the vinca-rs/test-brush branch 2 times, most recently from 49e7780 to beed05d Compare November 14, 2026 12:17
@Tobias-Fischer
Tobias-Fischer removed this pull request from stack #226 November 21, 2026 10:12
@Tobias-Fischer
Tobias-Fischer force-pushed the vinca-rs/4-package-files branch from c436914 to 88a9658 Compare November 21, 2026 10:13
@Tobias-Fischer
Tobias-Fischer force-pushed the vinca-rs/4-package-files branch from 88a9658 to b854c3a Compare November 21, 2026 10:29
Tobias-Fischer and others added 6 commits November 24, 2026 08:08
vinca-rs (https://github.com/Tobias-Fischer/vinca-rs) replaces vinca: it generates
the recipes of every distribution and platform and the staged build workflows.
- tools/robostack.py: generate-recipes, create-snapshot, check-deps, the pinning
  and rebuild planning go through vinca-rs (requirements, snapshot, generate,
  workflow); generate's skip-existing compares exact build strings, so `-n` is gone.
  check-deps solves in one vinca-rs process (humble osx-arm64: 161 s -> 30 s).
- vinca-rs 0.1.7 comes as a conda package from the prefix.dev channel
  tobias-fischer/robostack-tools (built by its release workflow), so no CI job
  compiles it. pixi.lock from pixi 0.81, the version CI uses.
- The build template (.github/build-template.yaml) and the build-recipes action
  run the generated jobs; tests for the workflow generation and the build timings.
- The ros-<distro>-* compatibility packages are noarch: every platform's jobs build
  and upload them, the upload skips what's already there.
- CI: the pull request workflow and its jobs are named by what they do, and its
  runs are grouped by a fixed key.
- Additional recipes need an `override:` reason when they replace a released
  package (RoboStack/vinca#126): those replaced by releases are dropped (lyrical
  and rolling autoware packages, humble mujoco_vendor, rolling rtabmap), the rest
  are explained. rolling autoware_lanelet2_extension's patches are refreshed for its
  release 1.1.0 (rclcpp includes; the GCC-only warning flag not for MSVC).
- humble tracetools is rebuilt (remove_host pkg-config now also removes the
  native-only host pkg-config).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
pixi-build-ros (`pixi build` of ROS packages) maps rosdep keys with RoboStack's
mappings; they are only edited here and copied there.
- robostack-bot sync-pixi-mappings: a daily PR on prefix-dev/pixi
  (crates/pixi_build_ros/robostack.yaml and robostack_distros.yaml), pushed to the
  fork vars.PIXI_FORK with secrets.PIXI_SYNC_TOKEN, once both are set.
- The keys pixi-build-ros had and this repository didn't: crypto++, iproute2,
  lua-dev, python3-dbus, python3-pygnssutils-pip, python3-tabulate,
  python3-types-pyyaml, rtklib. The packages that gain dependencies from them are
  rebuilt: plotjuggler (lua: all distributions), launch and nav2_common
  (types-pyyaml: lyrical, rolling), orbbec_camera (tabulate: rolling).
- noetic and kilted get their own mappings (Qt 5 / PyQt5, their xtensor), from
  RoboStack/ros-noetic and RoboStack/ros-kilted. They aren't built here (no
  vinca.yaml); the sort and render-pinning tasks skip such folders.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
pixi-build-ros applies a package.xml version constraint to a mapping's first
package (prefix-dev/pixi#7533 review): python(3)-pygraphviz constrained graphviz,
libudev-dev and libuvc-dev constrained libusb. Same packages, reordered;
RoboStack's own recipes don't use the order.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
As pixi-build-ros does since prefix-dev/pixi#7567 (rosdistro has a nanoflann
key next to libnanoflann-dev), keeping the mapping shared with pixi-build-ros
in sync.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ttings

- Dependency fixes live in pkg_additional_info.yaml: each layer's
  patch/dependencies.yaml is merged into it, so a package's add_*/remove_* keys sit
  next to its build_number and cmake args. Both files were keyed, layered and
  merged per package the same way; the merged files hold exactly what the two did
  (compared per package and key). import_distro merges an old repository's two
  files; the sort task, docs and skills follow.
- ros_workspace's activation scripts live here (shared/files/ros2-ros-workspace/):
  vinca-rs copies a layer's files/<pkg>/ into that package's recipe.
- check reports entries for packages the distribution (or, for shared/, no
  distribution) doesn't have: typos and leftovers. It found three in rolling, now
  removed (grid_map_octomap, gz_launch_vendor, slam_toolbox). A vinca-rs solve
  failure that isn't the solver's answer raises instead of counting as a conflict.
- vinca-rs 0.1.9, which reads both (Tobias-Fischer/vinca-rs#7, #8) and builds
  ament_cmake with Ninja on Windows.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
vinca-rs with prefix-dev/pixi#7540's build scripts: ament_cmake and cmake share
one template (with conda's ${CMAKE_ARGS}, BUILD_TESTING=OFF and a
PYTHON_INSTALL_DIR relative to the prefix for both), and the ROS 2 scripts are
bash scripts on every platform, run with brush on Windows. rtabmap's Windows link
flags are in bash syntax ($LIBRARY_LIB).

vinca-rs comes from its branch (a pixi source dependency) until 0.1.10 is released.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Tobias-Fischer and others added 2 commits December 4, 2026 09:22
vinca-rs fbd5ebd (0.1.12): pixi-build-ros 0.8.0 and rattler_build_core
0.2.28 instead of forks, with the bash build scripts run by brush on
Windows (Tobias-Fischer/vinca-rs#9).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…Windows

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Tobias-Fischer Tobias-Fischer added build:humble PR build: build only humble (with other build:<distro> labels: only those) and removed build:none PR build: build no packages, only run the checks (tooling, CI or docs changes) labels Dec 3, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Tobias-Fischer
Tobias-Fischer force-pushed the vinca-rs/4-package-files branch from 1b8c9c5 to b523067 Compare December 4, 2026 00:41
@Tobias-Fischer
Tobias-Fischer removed this pull request from stack #242 December 4, 2026 00:42
@Tobias-Fischer

Copy link
Copy Markdown
Collaborator Author

Closing: its pieces moved into the restructured stack. The vinca-rs 0.1.12 pin (pixi-build-ros 0.8.0, brush on Windows) and rtabmap's bash-syntax link flags are now in #221; the brush test run (47228433804, humble on all five platforms) is linked there. The temporary rebuild bumps aren't needed any more.

🤖 Claude (AI assistant), on behalf of @Tobias-Fischer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build:humble PR build: build only humble (with other build:<distro> labels: only those)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant