Broken Enzyme_LLVM_BINARY_DIR environment variable
Open
- Dominant language
- LLVM
- Stars
- 1.7k
- Forks
- 188
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 26
Description
After having run `brew install enzyme` on WSL, the following CMakeLists.txt fails
```
cmake_minimum_required(VERSION 3.20)
find_package(Enzyme REQUIRED CONFIG) # must install enzyme & lld through Brew / Spack
set(CMAKE_CXX_COMPILER "${Enzyme_LLVM_BINARY_DIR}/bin/clang++")
```
With the following error:
> CMake Error at CMakeLists.txt:7 (project):The CMAKE_CXX_COMPILER:
>
> /home/linuxbrew/.linuxbrew/Cellar/llvm/22.1.1/bin/clang++
>
> is not a full path to an existing compiler tool.
My correct LLVM path is `/home/linuxbrew/.linuxbrew/Cellar/llvm/22.1.2`.
Is this a small bug with Enzyme or an issue with how I have installed it?
Contributor guide
Assessment
This issue has not been assessed yet.