From 356612a52392c896798f0bc57560f3e7876e94fb Mon Sep 17 00:00:00 2001 From: Esteban Zimanyi Date: Thu, 9 Jul 2026 14:26:22 +0200 Subject: [PATCH] Enable all families in the ecosystem libmeos with -DALL=ON The Phase-0 build enumerated the family flags one by one. -DALL=ON is the standard MobilityDB mechanism to enable every optional family at once, so it also covers the families the enumeration omitted (POINTCLOUD, ARROW) and any family added later, with no list to maintain. Each family still pulls its own dependency (RASTER pulls GDAL, H3 pulls libh3, POINTCLOUD pulls pgpointcloud) exactly as before. --- tools/ecosystem-generate.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/ecosystem-generate.sh b/tools/ecosystem-generate.sh index 6ba690e..8c556fd 100755 --- a/tools/ecosystem-generate.sh +++ b/tools/ecosystem-generate.sh @@ -55,9 +55,9 @@ PINWT="$WORK/pin"; rm -rf "$PINWT"; git -C "$MDB" worktree add --detach "$PINWT" ( cd "$MEOSAPI" && MDB_SRC_ROOT="$PINWT" python3 run.py "$PINWT/meos/include" ) export CATALOG="$MEOSAPI/output/meos-idl.json" # all-families libmeos (the runtime every binding loads); see generation-starts-from-building-so. -# Each -D=ON pulls that family's full dependency chain (RASTER -> GDAL, like H3 -> libh3). -cmake -S "$PINWT" -B "$PINWT/build-allfam" -DMEOS=ON -DCBUFFER=ON -DJSON=ON -DNPOINT=ON \ - -DPOSE=ON -DRGEO=ON -DQUADBIN=ON -DH3=ON -DRASTER=ON \ +# -DALL=ON is the standard MEOS mechanism to enable every optional family (present and future); +# each family pulls its own dependency (RASTER -> GDAL, H3 -> libh3, POINTCLOUD -> pgpointcloud). +cmake -S "$PINWT" -B "$PINWT/build-allfam" -DMEOS=ON -DALL=ON \ -DH3_INCLUDE_DIR=/usr/include/h3 -DH3_LIBRARY=/usr/lib/x86_64-linux-gnu/libh3.so >/dev/null cmake --build "$PINWT/build-allfam" --target meos -j"$(nproc)" export LIBMEOS="$PINWT/build-allfam/libmeos.so"