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

fix(lib/CMakeLists.txt): change order of subdriectories build sequence #38

Merged
merged 1 commit into from
Jan 10, 2024

Conversation

jangmin-deepx
Copy link
Contributor

during build project with cmake below error raised.

...
[ 96%] Building CXX object lib/Analysis/ReduceNoiseAnalysis/CMakeFiles/obj.ReduceNoiseAnalysis.dir/ReduceNoiseAnalysis.cpp.o
In file included from $ROOT_DIR/mlir-tutorial/lib/Dialect/Noisy/NoisyOps.h:4,
                 from $ROOT_DIR/mlir-tutorial/lib/Analysis/ReduceNoiseAnalysis/ReduceNoiseAnalysis.cpp:5:
$ROOT_DIR/mlir-tutorial/lib/Dialect/Noisy/NoisyDialect.h:8:10: fatal error: lib/Dialect/Noisy/NoisyDialect.h.inc: No such file or directory
    #include "lib/Dialect/Noisy/NoisyDialect.h.inc"
...

in lib/CMakeLists.txt, Analysis should be built later than Dialect as it uses NoisyDialects.

@j2kun
Copy link
Owner

j2kun commented Jan 10, 2024

Thanks!

@j2kun j2kun merged commit cd4964f into j2kun:main Jan 10, 2024
2 checks passed
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.

2 participants