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

cmake: handle separate prefix for LLVM/MLIR/clang #748

Merged
merged 1 commit into from
Nov 18, 2024
Merged

Conversation

tnytown
Copy link
Member

@tnytown tnytown commented Nov 15, 2024

Some Linux distributions (i.e. NixOS) install LLVM, MLIR, and clang in different prefixes. On these distributions, variables like LLVM_INCLUDE_DIRS and MLIR_INCLUDE_DIRS have different values. These changes handle a few instances of this issue to get VAST building on NixOS and Nix on Darwin.

Some Linux distributions (i.e. NixOS) install LLVM, MLIR, and clang in
different prefixes. On these distributions, variables like
`LLVM_INCLUDE_DIRS` and `MLIR_INCLUDE_DIRS` have different values.

Signed-off-by: Andrew Pan <andrew.pan@trailofbits.com>
@tnytown tnytown requested a review from xlauko as a code owner November 15, 2024 19:03
@xlauko xlauko merged commit 64c0ff1 into master Nov 18, 2024
8 checks passed
@xlauko xlauko added the build CMake and build issues label Nov 18, 2024
@xlauko xlauko self-assigned this Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build CMake and build issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants