Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 669400a686 | |||
| 3586178b26 | |||
| 0b68a637cc |
@@ -1,6 +0,0 @@
|
||||
* Fri Dec 22 2023 Jeremy Newton <alexjnewt at hotmail dot com> - 6.0.0-2
|
||||
- Add test package
|
||||
- Use rocm toolchain instead of clang (requires rocm macros)
|
||||
|
||||
* Thu Dec 21 2023 Jeremy Newton <alexjnewt at hotmail dot com> - 6.0.0-1
|
||||
- Initial package
|
||||
37
hiprand.spec
37
hiprand.spec
@@ -1,3 +1,24 @@
|
||||
#
|
||||
# Copyright Fedora Project Authors.
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
# of this software and associated documentation files (the "Software"), to
|
||||
# deal in the Software without restriction, including without limitation the
|
||||
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
||||
# sell copies of the Software, and to permit persons to whom the Software is
|
||||
# furnished to do so, subject to the following conditions:
|
||||
#
|
||||
# The above copyright notice and this permission notice shall be included in
|
||||
# all copies or substantial portions of the Software.
|
||||
#
|
||||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
# THE SOFTWARE.
|
||||
#
|
||||
%if 0%{?suse_version}
|
||||
%global hiprand_name libhiprand1
|
||||
%else
|
||||
@@ -41,7 +62,7 @@
|
||||
|
||||
Name: %{hiprand_name}
|
||||
Version: %{rocm_version}
|
||||
Release: 4%{?dist}
|
||||
Release: 6%{?dist}
|
||||
Summary: HIP random number generator
|
||||
|
||||
Url: https://github.com/ROCm/%{upstreamname}
|
||||
@@ -138,12 +159,8 @@ sed -i -e 's@set(CMAKE_CXX_STANDARD 11)@set(CMAKE_CXX_STANDARD 14)@' {,test/pack
|
||||
%install
|
||||
%cmake_install
|
||||
|
||||
if [ -f %{buildroot}%{_prefix}/share/doc/hiprand/LICENSE.txt ]; then
|
||||
rm %{buildroot}%{_prefix}/share/doc/hiprand/LICENSE.txt
|
||||
fi
|
||||
if [ -f %{buildroot}%{_prefix}/bin/hipRAND/CTestTestfile.cmake ]; then
|
||||
rm %{buildroot}%{_prefix}/bin/hipRAND/CTestTestfile.cmake
|
||||
fi
|
||||
rm -f %{buildroot}%{_prefix}/share/doc/hiprand/LICENSE.txt
|
||||
rm -f %{buildroot}%{_prefix}/bin/hipRAND/CTestTestfile.cmake
|
||||
|
||||
%check
|
||||
%if %{with test}
|
||||
@@ -174,6 +191,12 @@ export LD_LIBRARY_PATH=$PWD/build/library:$LD_LIBRARY_PATH
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Wed Aug 27 2025 Tom Rix <Tom.Rix@amd.com> - 6.4.2-6
|
||||
- Add Fedora copyright
|
||||
|
||||
* Mon Aug 25 2025 Tom Rix <Tom.Rix@amd.com> - 6.4.2-5
|
||||
- Simplify file removal
|
||||
|
||||
* 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