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

Bogus PATHS in find_package in the JIT plug-in #1719

Open
yurivict opened this issue Feb 18, 2025 · 0 comments
Open

Bogus PATHS in find_package in the JIT plug-in #1719

yurivict opened this issue Feb 18, 2025 · 0 comments

Comments

@yurivict
Copy link

yurivict commented Feb 18, 2025

This line has a bogus PATHS ${LLVM_DIR}/../Clang argument:

find_package(Clang PATHS ${LLVM_DIR}/../Clang)

The llvm19, llvm17, llvm15 packages on FreeBSD don't install the "Clang" directory.
The "Clang" directory is assumed to be present along with llvm which isn't where clang is normally installed.

The correct way to find Clang is to add CMAKE_MODULE_PATH=${LLVM_PREFIX}/lib/cmake/clang.

Same problem is with the Polly package here.

Version: 3.4.1

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

No branches or pull requests

1 participant