You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would expect for all the libraries to be installed, that headers would also to be installed.
There should be %{_includedir}/rocMLIR/*.h or something.
When using this package to build amdmigraphx, there is this error
/builddir/build/BUILD/amdmigraphx-6.3.1-build/AMDMIGraphX-rocm-6.3.1/src/targets/gpu/mlir.cpp:33:10: fatal error: 'mlir-c/Dialect/RockEnums.h' file not found
33 | #include <mlir-c/Dialect/RockEnums.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
Problem Description
I am packaging rocMLIR for fedora, here is a spec file https://github.com/trixirt/rocMLIR/blob/fedora/rocm-6.3.1/rocmlir.spec
I would expect for all the libraries to be installed, that headers would also to be installed.
There should be %{_includedir}/rocMLIR/*.h or something.
When using this package to build amdmigraphx, there is this error
/builddir/build/BUILD/amdmigraphx-6.3.1-build/AMDMIGraphX-rocm-6.3.1/src/targets/gpu/mlir.cpp:33:10: fatal error: 'mlir-c/Dialect/RockEnums.h' file not found
33 | #include <mlir-c/Dialect/RockEnums.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
which comes from mlir/include https://github.com/ROCm/rocMLIR/blob/develop/mlir/include/mlir-c/Dialect/RockEnums.h
Some looking in the cmake infra and I could not find where the headers get installed.
Operating System
Fedora Rawhide
CPU
ALL
GPU
ALL
ROCm Version
ROCm 6.3.0
ROCm Component
AMDMIGraphX
Steps to Reproduce
rpmbuild -ba rocmlir.spec
Look if headers got installed.
(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: