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

Fix build ID error?

parent e7020b15
No related branches found
No related tags found
No related merge requests found
......@@ -40,6 +40,9 @@
%global build_tensile OFF
%endif
# Why Build ID is 8 bytes
%global buildid 1
Name: rocblas
Version: %{rocm_version}
Release: 1
......@@ -156,6 +159,9 @@ do
-DBUILD_CLIENTS_BENCHMARKS=%{build_test} \
-DBUILD_CLIENTS_TESTS=%{build_test} \
-DBUILD_WITH_TENSILE=%{build_tensile} \
%if %{buildid}
-DCMAKE_SHARED_LINKER_FLAGS="-Wl,--build-id=sha1" \
%endif
-DBUILD_WITH_PIP=OFF
popd
cmake --build %{_target_platform} %{?_smp_mflags} --verbose
......@@ -165,7 +171,7 @@ done
%install
for gpu in %{rocm_gpu_list}
do
%make_install
DESTDIR=%{buildroot} cmake --install %{_target_platform}
done
echo s@%{buildroot}@@ > br.sed
......
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