Skip to content

Conversation

@Pandapip1
Copy link
Contributor

Fixes #440

"Works on my machine"

-DCMAKE_OSX_ARCHITECTURES=${CMAKE_OSX_ARCHITECTURES}
-DCMAKE_POLICY_DEFAULT_CMP0074=NEW
-DCMAKE_PREFIX_PATH=${EXTERNAL_PREFIX_PATH}
UPDATE_COMMAND ${CMAKE_COMMAND} -E echo "No update step"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah this makes sense because these are vendored dependencies with SOURCE_DIR, I'm actually not even sure what the default update step would do here. This part seems good, I'm a little confused by the other change.

@Pandapip1 Pandapip1 force-pushed the fix-latest-cmake-bld branch from 02b1dc3 to 3462879 Compare June 27, 2025 19:05
@Pandapip1
Copy link
Contributor Author

Pandapip1 commented Jun 27, 2025

Actually never mind, in a clean environment I still get the issue with it not finding skymarshal. I'll let you try this out and if it works on your end let's merge it, but I'll troubleshoot that for now.

@Pandapip1
Copy link
Contributor Author

Figured it out, the pythonpath it was assigning was one directory too deep

@aaron-skydio
Copy link
Member

Looks good, thanks for fixing! I'll get this merged. We'll also want to update the max cmake version in setup.py, I can do that

@Pandapip1 Pandapip1 force-pushed the fix-latest-cmake-bld branch from 593cbb1 to 64e231b Compare June 27, 2025 20:15
@Pandapip1
Copy link
Contributor Author

Pandapip1 commented Jun 27, 2025

I'm going ahead and updating a few other quite outdated dependencies that need to be fixed for NixOS packaging

@Pandapip1
Copy link
Contributor Author

Whoops didn't see the approval. I'll revert that and open a new PR then.

@Pandapip1 Pandapip1 force-pushed the fix-latest-cmake-bld branch from 64e231b to 923ae87 Compare June 27, 2025 20:16
@Pandapip1
Copy link
Contributor Author

Bump, I did confirm that this works as intended.

@Pandapip1 Pandapip1 deleted the fix-latest-cmake-bld branch July 7, 2025 23:37
aaron-skydio added a commit that referenced this pull request Jul 14, 2025
See also #441

Also upgrade benchmark dependencies (sophus, gtsam, ceres) that didn't
declare support for cmake newer than 3.5, which is deprecated, and fix
GKlib.

Also fixes rerun_if_needed for newer cmake (#441
was a partial fix for that I think).

Next PR switches CI to CMake 4, this PR demos that we can still build on
CMake < 4.  Future TODO to test multiple CMake versions in CI.

Topic: sf-pip-cmake
Reviewers: nathan,ryan-b
GitOrigin-RevId: 48352712573d66d6f85564a7956143bddb2f0cc0
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.

CMake 3.27 (and greater) support

2 participants