Skip to content

Several maintenance items#1178

Merged
j9liu merged 11 commits into
mainfrom
works-on-mac-with-cmake4
May 19, 2025
Merged

Several maintenance items#1178
j9liu merged 11 commits into
mainfrom
works-on-mac-with-cmake4

Conversation

@kring
Copy link
Copy Markdown
Member

@kring kring commented May 14, 2025

vcpkg upgrade

The vcpkg release we were using, 2024.11.16, doesn't work with CMake 4. On most platforms, this isn't too hard to work around by installing CMake 3.31 or by setting the CMAKE_POLICY_VERSION_MINIMUM environment variable to 3.5. But on macOS, homebrew makes it hard to install an old cmake, and setting that environment variable isn't sufficient due to a separate problem on macOS. We need to upgrade to at least 2025.04.09 to get the fix for both of these problems.

However, 2025.04.09 has a problem in the ktx port. I opened a PR to fix this, and the vcpkg folks merged it, but it hasn't gone out in an official release yet. I've been waiting for a new vcpkg release, but it has been longer than I expected, and in the meantime using CMake 4, especially on a Mac, is really annoying.

So this PR updates our vcpkg version to the current head. We'll switch to an official release in a separate PR as soon as one comes out.

Use Ubuntu 24.04 for documentation builds

Previously we were using 22.04. ada-url in the latest vcpkg release doesn't seem to like 22.04's version of GCC. Moving off the old Ubuntu release is an easy fix.

Doxygen version

Previously, we were using Doxygen 1.13.2 to build doc as part of the normal process, but then using 1.12.0 to build for production. Not what we want. Now it's all 1.13.2.

Overlay ports and triplets

I removed the now-unnecessary ktx vcpkg overlay port. And had to add README files in the ports and triplets directories to prevent vcpkg from complaining that they don't exist.

kring added 11 commits April 22, 2025 11:30
By upgrading to the latest vcpkg and removing an overlay port.
The test was moving the camera in such a way that that the tile was no longer in the view frustum. The only reason it was passing on any platform was because the camera would still be just inside the tile, and so the rule that we don't cull tiles under the camera would apply. But on ARM64 macOS, the camera ends up being very very slightly outside the tile instead of very slightly inside, and so the test fails.

The change here is to keep the tile inside the frustum, as was intended in the first place.
@j9liu
Copy link
Copy Markdown
Contributor

j9liu commented May 19, 2025

Thanks @kring ! I don't have a Mac to this, but at least I don't see any unexpected changes here on Windows.

@j9liu j9liu merged commit 790bb78 into main May 19, 2025
22 checks passed
@j9liu j9liu deleted the works-on-mac-with-cmake4 branch May 19, 2025 15:35
@j9liu j9liu added this to the June 2025 Release milestone May 20, 2025
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