Skip to content

Drop geogram includes (companion to polyfem#559) - #19

Open
danielepanozzo wants to merge 1 commit into
differentiablefrom
remove-geogram
Open

danielepanozzo wants to merge 1 commit into
differentiablefrom
remove-geogram

Conversation

@danielepanozzo

Copy link
Copy Markdown

Summary

Companion to polyfem/polyfem#559, which removes geogram from PolyFEM, including polyfem/utils/GeogramUtils.hpp.

The bindings no longer call anything from geogram; they only kept three unused includes, which this PR deletes:

  • src/binding.cpp: geogram/basic/command_line.h and geogram/basic/command_line_args.h
  • src/state/state.cpp: polyfem/utils/GeogramUtils.hpp

Without this, the bindings stop compiling as soon as the PolyFEM pin moves past #559. The pin is not changed here.

Testing

  • I couldn't do a full build on macOS arm64 at the current pin (polyfem@e8bd3d3). That pin's geogram passes -msse3, which Apple Clang rejects on arm64, and its amgcl needs CMake < 4.
  • I ran -fsyntax-only on both edited files using the project's own compile_commands.json.
    • src/binding.cpp passes.
    • src/state/state.cpp reports one error, no member named 'update_dirichlet_nodes'. The unmodified upstream file reports the same error, so it is not related to this change.

🤖 Generated with Claude Code

https://claude.ai/code/session_01ULwCxzyjTs5GTmQ1QHFF6k

PolyFEM no longer depends on geogram (polyfem/polyfem#559): its headers
and polyfem/utils/GeogramUtils.hpp are gone. The bindings only kept
unused includes of geogram's command_line headers and of GeogramUtils;
nothing from them is used anymore.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ULwCxzyjTs5GTmQ1QHFF6k
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.

1 participant