Closed kroll-j closed 1 year ago
After adding -DHALF_INCLUDE_DIR=$ROCM_GIT_DIR/half/include
the build script seems to work:
diff --git a/34.miopen.sh b/34.miopen.sh
index a78a069..55aa2dc 100644
--- a/34.miopen.sh
+++ b/34.miopen.sh
@@ -17,6 +17,7 @@ CXX=$ROCM_INSTALL_DIR/llvm/bin/clang++ cmake \
-DCPACK_SET_DESTDIR=OFF \
-DCPACK_PACKAGING_INSTALL_PREFIX=$ROCM_INSTALL_DIR \
-DCMAKE_INSTALL_PREFIX=$ROCM_INSTALL_DIR \
+ -DHALF_INCLUDE_DIR=$ROCM_GIT_DIR/half/include \
-G Ninja \
$ROCM_GIT_DIR/MIOpen
ninja
I think we could move half before the miopen, so the dependency issue could be resolved.
BTW: on ROCm-4.5, the only issue is rocBLAS, we didn't need to rebuild whole ROCm components, please refe here : https://github.com/xuhuisheng/rocm-gfx803
And I had test rocm-build on ubuntu-21.04 daily-build which using kernel-5.13. There are some compiling issues on ther next LTS version. Maybe I can create a branch for it.
I will close this issue, if you still meet the problem, please reopen it.
Environment
I'm currently trying to build rocm 4.5 for gfx803 using your feature/build branch. If I run into any more minor issues I'll report them here, instead of opening a new issue for every little thing.
BTW, thanks for your awesome work with the build scripts and especially support for the gfx803.