Skip to content
/ CMake-Template Public template

🔨 A template for using Enzyme with CMake

License

Notifications You must be signed in to change notification settings

EnzymeAD/CMake-Template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CMake-Template

Usage

Install dependencies

  • cmake
  • make
  • llvm
  • enzyme

Using spack:

spack env activate .
spack install

Using homebrew:

brew bundle install

Configure and build

Configure the CMake project using the version of Enzyme installed on the system:

mkdir build && cd build
cmake ..
make

Configure the CMake project using a custom Enzyme version:

mkdir build && cd build
cmake -DEnzyme_DIR=/path/to/Enzyme/enzyme/build 
make

About

🔨 A template for using Enzyme with CMake

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published