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

Failed to find "test_library.h" #828

Open
micropuma opened this issue Dec 24, 2024 · 0 comments
Open

Failed to find "test_library.h" #828

micropuma opened this issue Dec 24, 2024 · 0 comments

Comments

@micropuma
Copy link

Hi, i have successfully build llvm and mlir-aie according to the building guide for VCK5000. But i got errors when building mlir-air, and the error looks like this:

[17/19] Building CXX object airhost/CMakeFiles/airhost.dir/host.cpp.o
FAILED: airhost/CMakeFiles/airhost.dir/host.cpp.o 
/home/douliyang/app/llvm-aie-source/llvm-aie/build/bin/clang++ -DLIBXAIENGINEV2 -I/media/4T/home/douliyang/mlir-workspace/mlir-air/runtime_lib/airhost/include -I/home/douliyang/large/mlir-workspace/mlir-air/mlir-aie/include -I/home/douliyang/large/mlir-workspace/mlir-air/mlir-aie/build/include/../runtime_lib/x86_64/test_lib/include -I/home/douliyang/large/mlir-workspace/mlir-air/mlir-aie/build/include/../runtime_lib -I/media/4T/home/douliyang/mlir-workspace/mlir-air/runtime_lib/airhost/../../driver -I/home/douliyang/opt/aiengine -isystem /media/4T/home/douliyang/mlir-workspace/mlir-air/mlir-aie/build/rocm/include -isystem /media/4T/home/douliyang/mlir-workspace/mlir-air/mlir-aie/build/rocm/hsa/include/hsa -O3 -DNDEBUG -std=gnu++14 -fPIC -MD -MT airhost/CMakeFiles/airhost.dir/host.cpp.o -MF airhost/CMakeFiles/airhost.dir/host.cpp.o.d -o airhost/CMakeFiles/airhost.dir/host.cpp.o -c /media/4T/home/douliyang/mlir-workspace/mlir-air/runtime_lib/airhost/host.cpp
In file included from /media/4T/home/douliyang/mlir-workspace/mlir-air/runtime_lib/airhost/host.cpp:11:
/media/4T/home/douliyang/mlir-workspace/mlir-air/runtime_lib/airhost/include/air_host_impl.h:11:10: fatal error: 'test_library.h' file not found
   11 | #include "test_library.h"
      |          ^~~~~~~~~~~~~~~~
1 error generated.
ninja: build stopped: subcommand failed.
[10/37] Linking CXX static library lib/libAIRCAPI.a
FAILED: runtime_libTmp/x86_64/src/air_runtime_lib_x86_64-stamp/air_runtime_lib_x86_64-build /media/4T/home/douliyang/mlir-workspace/mlir-air/build-pcie/runtime_libTmp/x86_64/src/air_runtime_lib_x86_64-stamp/air_runtime_lib_x86_64-build 
cd /media/4T/home/douliyang/mlir-workspace/mlir-air/build-pcie/runtime_lib && /home/douliyang/local/bin/cmake --build .
[12/37] Linking CXX executable bin/air-translate
[13/37] Linking CXX executable bin/air-runner
[14/37] Linking CXX executable bin/air-opt
[15/37] Linking CXX shared library python/air/_mlir_libs/libAirAggregateCAPI.so.20.0git
ninja: build stopped: subcommand failed.

It seems that cmake in mlir-air failed to find mlir-aie's cmake module, i wonder what's wrong with my environment and how i can fix it?

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