Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| c32e986aa3 | |||
| adbb2deb48 |
Binary file not shown.
10
rocprim.spec
10
rocprim.spec
@@ -7,7 +7,7 @@
|
||||
# hipcc does not support some clang flags
|
||||
%global build_cxxflags %(echo %{optflags} | sed -e 's/-fstack-protector-strong/-Xarch_host -fstack-protector-strong/' -e 's/-fcf-protection/-Xarch_host -fcf-protection/' -e 's/-mtls-dialect=gnu2//')
|
||||
# there is no debug package
|
||||
%global debug_package %{nil}
|
||||
%{!?suse_version:%global debug_package %{nil}}
|
||||
|
||||
# Option to test suite for testing on real HW during build
|
||||
%bcond_with check
|
||||
@@ -83,6 +83,9 @@ tests for the rocPRIM package
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n %{upstreamname}-rocm-%{version}
|
||||
%if %{with test}
|
||||
sed -i -e '/add_rocprim_cpp_standard_test.14/s@^@#@' test/rocprim//CMakeLists.txt
|
||||
%endif
|
||||
|
||||
%build
|
||||
|
||||
@@ -145,6 +148,11 @@ sed -i -e 's@\.\.@\/usr\/bin@' %{buildroot}%{_bindir}/%{name}/CTestTestfile.cmak
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Aug 14 2025 Egbert Eich <eich@suse.com> - 6.4.2-4
|
||||
- On SUSE don't change debug_package macro.
|
||||
- When building tests, patch out builds for C++14 as
|
||||
newer versions of getest require at least C++17.
|
||||
|
||||
* Tue Jul 29 2025 Tom Rix <Tom.Rix@amd.com> - 6.4.2-3
|
||||
- Remove -mtls-dialect cflag
|
||||
|
||||
|
||||
Reference in New Issue
Block a user