Skip to content

Modernize Enzyme dependency in cmake #501

Description

@PhilipFackler

Summary

Treat Enzyme like a true cmake dependency

Rationale

CMake code for linking with Enzyme is complicated (thus error-prone) and duplicated across all dependent libraries. It would be better to define the build requirements in one place and let dependent libraries just use the target.

Description

  • Update FindEnzyme.cmake to be a true "find module"
  • Update link code for library targets to use enzyme target instead of itemizing build requirements

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    cleanupcmakedevelopmentFeatures/Tools related to development of GridKit, rather than use as a library.enzyme

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions