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] fix one-step build #192

Merged
merged 1 commit into from
Aug 31, 2023

Conversation

Avimitin
Copy link
Contributor

In one-step build, llvm include directory will be prepended into include directories list, and this cause the IR backend using LLVM provided IntinsicImpl.inc file. This commit add BEFORE keyword into include_directories macro to force prepend buddy-mlir backend include directory.

Fixed #181

In one-step build, llvm include directory will be prepended into include
directories list, and this cause the IR backend using LLVM provided
IntinsicImpl.inc file. This commit add `BEFORE` keyword into
include_directories macro to force prepend buddy-mlir backend include
directory.

Signed-off-by: Avimitin <[email protected]>
@xlinsist
Copy link
Collaborator

Thanks for your thorough analysis of the issue and your experienced debugging skills orz~ I have verified the RVV examples that were not supported originally. I think this PR is ready to be merged now. @zhanghb97

@zhanghb97 zhanghb97 merged commit 7b420a7 into buddy-compiler:main Aug 31, 2023
1 check passed
@zhanghb97
Copy link
Member

@Avimitin @xlinsist Thanks!

ShiHaoGao pushed a commit to ShiHaoGao/buddy-mlir that referenced this pull request Oct 18, 2024
In one-step build, llvm include directory will be prepended into include
directories list, and this cause the IR backend using LLVM provided
IntinsicImpl.inc file. This commit add `BEFORE` keyword into
include_directories macro to force prepend buddy-mlir backend include
directory.

Signed-off-by: Avimitin <[email protected]>
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.

[build system] buddy-translate fail to translate MLIR into LLVM IR
3 participants