Replies: 2 comments 3 replies
-
I'm okay with that, though I'm not sure how difficult it would be a-priori. I'm sure someone has done this in the past for LLVM, so perhaps we can find something? |
Beta Was this translation helpful? Give feedback.
1 reply
-
That is not the case for cross-compilation |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When the path in
-DLLVM_DIR=/path/to/llvm
does not exist or does not contain the necessary CMake files, Enzyme silently falls back to a system version (if it exists). This is the case when building for Rust, in which$prefix/lib
contains onlylibLLVM-17-rust-1.77.0-nightly.so
(nocmake/llvm
subdirectory). It would be a bit of a chore to ensure these CMake files are available in all contexts because sysroot is distributed multiple ways.However,
llvm-config
is always available. How hard would it be for Enzyme's build to configure itself entirely fromllvm-config
, without the CMake files for LLVM?Beta Was this translation helpful? Give feedback.
All reactions