Skip to content
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

Improve the way to find Enzyme. #48

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

nkoukpaizan
Copy link
Collaborator

This improves the method to find Enzyme and related libraries via CMake.

Should fix #47

@nkoukpaizan nkoukpaizan self-assigned this Jan 27, 2025
@pelesh
Copy link
Collaborator

pelesh commented Jan 28, 2025

CC @ashermancinelli

@shakedregev
Copy link
Collaborator

shakedregev commented Jan 28, 2025

[ 88%] Running Enzyme opt pass on target EnzymeStandaloneCheck
LLVM ERROR: Could not load library '/opt/homebrew/Cellar/llvm/19.1.7/lib': dlopen(/opt/homebrew/Cellar/llvm/19.1.7/lib, 0x0009): tried: '/opt/homebrew/Cellar/llvm/19.1.7/lib' (not a file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/Cellar/llvm/19.1.7/lib' (no such file), '/opt/homebrew/Cellar/llvm/19.1.7/lib' (not a file)

make[2]: *** [examples/Enzyme/Standalone/EnzymeStandaloneCheck_enzyme.ll] Error 1
make[1]: *** [examples/Enzyme/Standalone/CMakeFiles/EnzymeStandaloneCheck_target.dir/all] Error 2

Can you let me know what I should change my ccmake variables to? It's not like before this I was able to build with Enzyme, but presumably the point was to make this easier.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Issues building with Enzyme
3 participants