Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 654a3a9b94 |
15
hiprand.spec
15
hiprand.spec
@@ -41,7 +41,7 @@
|
||||
|
||||
Name: %{hiprand_name}
|
||||
Version: %{rocm_version}
|
||||
Release: 4%{?dist}
|
||||
Release: 5%{?dist}
|
||||
Summary: HIP random number generator
|
||||
|
||||
Url: https://github.com/ROCm/%{upstreamname}
|
||||
@@ -109,12 +109,10 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
#Remove RPATH:
|
||||
sed -i '/INSTALL_RPATH/d' CMakeLists.txt
|
||||
|
||||
# On Tumbleweed Q2,2025
|
||||
# /usr/include/gtest/internal/gtest-port.h:279:2: error: C++ versions less than C++14 are not supported.
|
||||
# 279 | #error C++ versions less than C++14 are not supported.
|
||||
# https://github.com/ROCm/hipRAND/issues/222
|
||||
# Convert the c++11's to c++14
|
||||
sed -i -e 's@set(CMAKE_CXX_STANDARD 11)@set(CMAKE_CXX_STANDARD 14)@' {,test/package/}CMakeLists.txt
|
||||
# On Tumbleweed 20250817
|
||||
# /usr/include/gtest/internal/gtest-port.h:273:2: error: C++ versions less than C++17 are not supported.
|
||||
# Convert the c++11's to c++17
|
||||
sed -i -e 's@set(CMAKE_CXX_STANDARD *11)@set(CMAKE_CXX_STANDARD 17)@' {,test/package/}CMakeLists.txt
|
||||
|
||||
%build
|
||||
|
||||
@@ -174,6 +172,9 @@ export LD_LIBRARY_PATH=$PWD/build/library:$LD_LIBRARY_PATH
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Thu Aug 14 2025 Egbert Eich <eich@suse.com> - 6.4.2-5
|
||||
Up C++ standard to version 17 to comply with recent gtest.
|
||||
|
||||
* Wed Jul 30 2025 Tom Rix <Tom.Rix@amd.com> - 6.4.2-4
|
||||
- Remove -mtls-dialect cflag
|
||||
|
||||
|
||||
Reference in New Issue
Block a user