Commit Graph
2 Commits
Author SHA1 Message Date
matlabbeandClaude Opus 4.8 d39733b995 CI(macos): install orbbec/depthai to /usr/local so find_package finds them
OrbbecSDK defaults its install prefix to /opt/OrbbecSDK and depthai-core
to <build>/install, so under DESTDIR they staged outside usr/local and
the install step (which copies only <stage>/usr/local) silently skipped
them - hence find_package(OrbbecSDK)/find_package(depthai) failed while
gtsam/libpointmatcher (which default to /usr/local) were found. Force
-DCMAKE_INSTALL_PREFIX=/usr/local for both, and bump their cache keys so
the already-cached bad-prefix stages are not restored.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
2026-06-28 16:05:23 -07:00
matlabbeandClaude Opus 4.8 a260d7e832 CI(macos): extract source deps into composite action with per-dep caches
Move the source-only dependency builds (GTSAM, libnabo+libpointmatcher,
OrbbecSDK, depthai) out of cmake-macos.yml into a composite action,
.github/actions/install-macos-source-deps, mirroring the existing
install-windows-deps convention. Each dependency now has its own cache
(keyed on its version + patch + the brew/Xcode hash), so bumping one
dependency no longer rebuilds the others. Patches moved next to the
action that applies them.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
2026-06-28 15:36:27 -07:00