Skip to content

Issues building with Enzyme #47

@shakedregev

Description

@shakedregev

I am building GridKit locally on my mac Sequoia 15.2 and having issues building with Enzyme. I installed the dependencies with homebrew. Some of my ccmake variables are:
CMAKE_CXX_COMPILER /opt/homebrew/Cellar/llvm/19.1.7/bin/clang++
CMAKE_C_COMPILER /opt/homebrew/Cellar/llvm/19.1.7/bin/clang
ENZYME_CLANG_PLUGIN_LIBRARY /opt/homebrew/Cellar/llvm/19.1.7/bin ENZYME_LLVM_PLUGIN_LIBRARY /opt/homebrew/Cellar/llvm/19.1.7/lib

My problem is likely here:
GRIDKIT_LLVM_LINK GRIDKIT_LLVM_LINK-NOTFOUND
What should this be set to?

SUNDIALS configuration found: /opt/homebrew/lib/cmake/sundials/SUNDIALSConfig.cmake Found Suitesparse libraries in: /opt/homebrew/lib Found Suitesparse include: SUITESPARSE_INCLUDE_DIR-NOTFOUND Found suitesparse internal library amd Found suitesparse internal library colamd Found suitesparse internal library klu Found suitesparse internal library suitesparseconfig CMake Error at cmake/FindEnzyme.cmake:116 (message): Could not find llvm-link! Will not be able to build Enzyme targets. Call Stack (most recent call first): CMakeLists.txt:140 (include)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions