Skip to content

Build libmeos via the shared provision-meos action - #21

Merged
estebanzimanyi merged 1 commit into
MobilityDB:mainfrom
estebanzimanyi:feat/libmeos-via-provision-meos
Jul 10, 2026
Merged

Build libmeos via the shared provision-meos action#21
estebanzimanyi merged 1 commit into
MobilityDB:mainfrom
estebanzimanyi:feat/libmeos-via-provision-meos

Conversation

@estebanzimanyi

Copy link
Copy Markdown
Member

CI builds and installs libmeos through the shared provision-meos composite action (MobilityDB/MEOS-API/.github/actions/provision-meos@master) instead of an inline copy of the MEOS build recipe. The workflow reads the pinned MobilityDB commit from tools/meos-source-commit.txt and passes it to the action with build-libmeos: "true"; the action builds and installs an all-families libmeos under /usr/local and provisions spatial_ref_sys.csv / ways1000.csv under /usr/local/share via cmake --install.

build-jmeos.sh now reuses that installed libmeos when /usr/local/lib/libmeos.so exists, skipping its own MobilityDB clone, libmeos build, and CSV staging, and only builds the JMEOS jar against the installed libmeos. When no libmeos is installed (e.g. a plain local run) it still builds one from the pinned commit as before.

The MobilityDB commit is still taken from tools/meos-source-commit.txt, so no SHA is duplicated. The committed MeosOps* facades are unchanged.

CI builds and installs libmeos through the shared provision-meos action instead of an inline copy of the MEOS build recipe; build-jmeos.sh now only builds the JMEOS jar against the installed libmeos. The MobilityDB commit is still taken from tools/meos-source-commit.txt.
@estebanzimanyi
estebanzimanyi merged commit d97ba15 into MobilityDB:main Jul 10, 2026
1 check passed
@estebanzimanyi
estebanzimanyi deleted the feat/libmeos-via-provision-meos branch July 10, 2026 15:00
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.

1 participant