Skip to content

[eudsl-py] Increase robustness of setting MLIR_INCLUDE_DIR#396

Open
Time0o wants to merge 1 commit intollvm:mainfrom
Time0o:Time0o-eudsl-py-1
Open

[eudsl-py] Increase robustness of setting MLIR_INCLUDE_DIR#396
Time0o wants to merge 1 commit intollvm:mainfrom
Time0o:Time0o-eudsl-py-1

Conversation

@Time0o
Copy link
Copy Markdown

@Time0o Time0o commented Apr 19, 2026

This was set to MLIR_INCLUDE_DIRS which may be a list on systems. list(GET MLIR_INCLUDE_DIRS 0 MLIR_INCLUDE_DIR) covers this case as well.

Just noticed this while trying to build this project from scratch. I used the build_llvm.sh script and at least on my system (MacOS) I had MLIR_INCLUDE_DIRS=/Users/timonicolai/github/personal/eudsl/third_party/llvm-project/mlir/include;/Users/timonicolai/github/personal/eudsl/llvm-build/tools/mlir/include.

This was set to MLIR_INCLUDE_DIRS which may be a list on systems.
`list(GET MLIR_INCLUDE_DIRS 0 MLIR_INCLUDE_DIR)` covers this case as well.
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

Successfully merging this pull request may close these issues.

1 participant