-
Notifications
You must be signed in to change notification settings - Fork 7
Update CGAL from 5.6.1 to 6.0.1 for GCC 15 compatibility #320
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
CGAL 5.6.1 has template issues with GCC 15 in boost/graph/iterator.h. CGAL 6.0.1 fixes these compatibility issues.
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
|||||||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
||||||||||||||
## Summary - Add `macrostep_with_wall_check()` subroutine that checks STL wall intersection at intervals within macrosteps (every 32 microsteps or at macrostep end for small macrosteps) **Depends on:** #320 (CGAL 6.0.1 update) ## Motivation With logarithmic macrostep time grid, late macrosteps become very large. The previous implementation checked wall intersection only once per macrostep, which could potentially miss intersections during large steps. The new implementation checks at regular intervals within macrosteps to ensure accurate wall hit detection regardless of macrostep size. ## Test plan - [x] 1ms CGAL run: Results identical to old code (both show 0 particles in 30-60° zeta bin) - [x] 10ms CGAL run: Results nearly identical to old code - [x] Build succeeds ## Notes Testing showed that for prompt losses (<1ms), the microstep checking gives identical results to macrostep-only checking. This confirms the original implementation was correct for early losses. The microstep checking adds ~2x overhead but provides additional safety for long runs with large macrosteps.
User description
Summary
Update CGAL from 5.6.1 to 6.0.1.
Motivation
CGAL 5.6.1 has template issues with GCC 15 in
boost/graph/iterator.h:CGAL 6.0.1 fixes these compatibility issues.
Test plan
-DSIMPLE_ENABLE_CGAL=ONsucceeds with GCC 15PR Type
Enhancement
Description
Update CGAL dependency from 5.6.1 to 6.0.1
Resolve GCC 15 template compatibility issues
Update build configuration and status messages
Diagram Walkthrough
File Walkthrough
CMakeLists.txt
Update CGAL version to 6.0.1CMakeLists.txt