Skip to content
Snippets Groups Projects
Commit 011b6ac2 authored by misaka00251's avatar misaka00251
Browse files

Fix cmake compile error

parent 0c7968fc
No related branches found
No related tags found
No related merge requests found
......@@ -144,6 +144,8 @@ export HIPCC_LINK_FLAGS_APPEND=-fuse-ld=lld
for gpu in %{rocm_gpu_list}
do
module load rocm/$gpu
mkdir %{_target_platform}
pushd %{_target_platform}
%cmake -G Ninja \
-DCMAKE_BUILD_TYPE=%build_type \
-DBUILD_FILE_REORG_BACKWARD_COMPATIBILITY=OFF \
......@@ -168,8 +170,8 @@ do
%else
-DBUILD_WITH_TENSILE=OFF
%endif
%make_build
popd
cmake --build %{_target_platform} %{?_smp_mflags} --verbose
module purge
done
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment