Skip to content

Get ortools_vendor to use ament_vendor properly - #3

Merged
Gonzalo-Mier merged 12 commits into
Fields2Cover:mainfrom
aosmw:main
Jun 8, 2024
Merged

Gonzalo-Mier merged 12 commits into
Fields2Cover:mainfrom
aosmw:main

Conversation

@aosmw

@aosmw aosmw commented Jun 8, 2024 •

Copy link
Copy Markdown
Contributor

ament_vendor has ament_environment_hooks that setup the LD_LIBRARY_PATH and PYTHONPATH properly for a ROS2 workspace.

I figured out how to use https://github.com/jspricke/ros-deb-builder-action which I had to patch to allow the sbuild tool that it uses, to access the network (Use ExternalProject/FetchContent). See https://github.com/aosmw/ros-deb-builder-action/tree/feature/mw/enable_network

I then figured out the minor patch required to ortools so that it will build under strict dpkg-buildflags conditions.

Here is the github action running on my fork of ortools_vendor which should give confidence that a debian package is being produced.
https://github.com/aosmw/ortools_vendor/actions

There are options to upload the debian package and even serve it but I have not enabled those.

I have also run the action steps locally and have successfully run a Filelds2Cover build using using the debian package it produces. (on ubuntu 22.04 humble so far)

aosmw added 5 commits June 6, 2024 16:52
This uses a forked version of jspricke/ros-deb-builder-action
that allows the sbuild tool access to the internet inorder
to use ament_vendor and cmake ExternalProject/FetchContent.
@aosmw

aosmw commented Jun 8, 2024

Copy link
Copy Markdown
Contributor Author

@Gonzalo-Mier I think this is ready to be bloomed IMO. I have setup github actions to prove that a debian package can be built successfully for both humble on jammy(22.04) and jazzy on noble(24.04)

This needs to be available on testing before the Fields2Cover packaging can use it.

@Gonzalo-Mier
Gonzalo-Mier merged commit e048226 into Fields2Cover:main Jun 8, 2024
@Gonzalo-Mier

Copy link
Copy Markdown
Member

Let's give it a try. Thanks @aosmw a lot for the effort!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants