Compare commits

5 Commits

Author SHA1 Message Date
49fe9d61e3 Add Fedora copyright
Signed-off-by: Tom Rix <Tom.Rix@amd.com>
2025-08-27 12:28:50 -07:00
85a8c69b04 Simiplify file removal
Signed-off-by: Tom Rix <Tom.Rix@amd.com>
2025-08-25 13:15:54 -07:00
b6028080d3 Remove changelog
Signed-off-by: Tom Rix <Tom.Rix@amd.com>
2025-08-25 08:30:12 -07:00
edb68e2743 export the hsakmt headers
Needed by rocprofiler-sdk

Signed-off-by: Tom Rix <Tom.Rix@amd.com>
2025-08-22 17:39:25 -07:00
2ebdd69d95 Remove debian dir
Signed-off-by: Tom Rix <Tom.Rix@amd.com>
2025-08-17 09:00:23 -07:00
8 changed files with 38 additions and 277 deletions

151
changelog
View File

@@ -1,151 +0,0 @@
* Thu May 09 2024 Jeremy Newton <alexjnewt at hotmail dot com> - 6.1.1-1
- Update to 6.1.1
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Thu Dec 14 2023 Jeremy Newton <alexjnewt at hotmail dot com> - 6.0.0-1
- Update to 6.0.0
* Fri Oct 20 2023 Jeremy Newton <alexjnewt at hotmail dot com> - 5.7.1-1
- Update to 5.7.1
* Sun Sep 17 2023 Jeremy Newton <alexjnewt at hotmail dot com> - 5.7.0-1
- Update to 5.7
* Wed Sep 06 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 5.6.1-2
- Rebuild against LLVM 17.0.0
* Wed Aug 30 2023 Jeremy Newton <alexjnewt at hotmail dot com> - 5.6.1-1
- Update to 5.6.1
* Tue Aug 08 2023 Jeremy Newton <alexjnewt at hotmail dot com> - 5.6.0-4
- Rebuild against rocm-device-libs 16.4
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 5.6.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Tue Jul 18 2023 Jeremy Newton <alexjnewt at hotmail dot com> - 5.6.0-2
- Rebuild for rocm-device-libs update
* Thu Jun 29 2023 Jeremy Newton <alexjnewt at hotmail dot com> - 5.6.0-1
- Update to 5.6
* Sat Jun 24 2023 Jeremy Newton <alexjnewt at hotmail dot com> - 5.5.0-2
- Fix RHBZ#2216826
* Mon May 01 2023 Jeremy Newton <alexjnewt at hotmail dot com> - 5.5.0-1
- Update to 5.5
* Wed Apr 19 2023 Jeremy Newton <alexjnewt at hotmail dot com> - 5.4.1-5
- Rebuild against 16.1 rocm-device-libs
* Mon Apr 10 2023 Jeremy Newton <alexjnewt at hotmail dot com> - 5.4.1-3
- Rebuild with llvm 16
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 5.4.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Sun Dec 18 2022 Jeremy Newton <alexjnewt at hotmail dot com> - 5.4.1-1
- Update to 5.4.1
* Tue Oct 04 2022 Jeremy Newton <alexjnewt at hotmail dot com> - 5.3.0-2
- Fix cmake path bug
* Tue Oct 04 2022 Jeremy Newton <alexjnewt at hotmail dot com> - 5.3.0-1
- Update to 5.3.0
* Thu Sep 15 2022 Jeremy Newton <alexjnewt at hotmail dot com> - 5.2.1-2
- Rebuild against llvm 15
* Sun Jul 24 2022 Jeremy Newton <alexjnewt at hotmail dot com> - 5.2.1-1
- Update to 5.2.1
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Sun Jul 03 2022 Jeremy Newton <alexjnewt at hotmail dot com> - 5.2.0-1
- Update to 5.2.0
* Fri May 20 2022 Jeremy Newton <alexjnewt at hotmail dot com> - 5.1.3-1
- Update to ROCm version 5.1.3
* Sat Apr 09 2022 Jeremy Newton <alexjnewt at hotmail dot com> - 5.1.1-1
- Update to ROCm version 5.1.1
* Tue Apr 05 2022 Jeremy Newton <alexjnewt at hotmail dot com> - 5.1.0-2
- Enable ppc64le
* Thu Mar 31 2022 Jeremy Newton <alexjnewt at hotmail dot com> - 5.1.0-1
- Update to ROCm version 5.1.0
* Tue Feb 15 2022 Jeremy Newton <alexjnewt at hotmail dot com> - 5.0.0-2
- Enable image support for x86
* Fri Feb 11 2022 Jeremy Newton <alexjnewt at hotmail dot com> - 5.0.0-1
- Update to ROCm version 5.0.0
- General improvements to spec file
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.9.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.9.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.9.0-1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Thu Nov 26 2020 Philipp Knechtges <philipp-dev@knechtges.com> - 3.9.0-0
- Version 3.9.0
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.0-3
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Wed Jul 15 2020 Tom Stellard <tstellar@redhat.com> - 3.5.0-1
- ROCm 3.5.0 Release
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Thu Mar 21 2019 Tom Stellard <tstellar@redhat.com> - 2.0.0-3
- Add endian detection for AArch64
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Mon Jan 14 2019 Tom Stellard <tstellar@redhat.com> - 2.0.0-1
- ROCm 2.0.0 Release
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Tue Feb 13 2018 Tom Stellard <tstellar@redhat.com> - 1.6.1-7
- Build for aarch64
* Wed Feb 07 2018 Tom Stellard <tstellar@redhat.com> - 1.6.1-6
- Add ExclusiveArch: x86_64
* Tue Feb 06 2018 Tom Stellard <tstellar@redhat.com> - 1.6.1-5
- Take ownership of /usr/include/hsa
* Fri Feb 02 2018 Tom Stellard <tstellar@redhat.com> - 1.6.1-4
- Fix build with gcc 8
* Thu Feb 01 2018 Tom Stellard <tstellar@redhat.com> - 1.6.1-3
- Use version macro in source url
* Mon Jan 29 2018 Tom Stellard <tstellar@redhat.com> - 1.6.1-2
- Fix some rpmlint errors
* Thu Oct 12 2017 Tom Stellard <tstellar@redhat.com> - 1.6.1-1
- Initial Release

5
debian/changelog vendored
View File

@@ -1,5 +0,0 @@
rocm-runtime (6.4.0-1) UNRELEASED; urgency=medium
* Initial release. (Closes: #XXXXXX)
-- trix <Tom.Rix@amd.com> Sat, 3 May 2025 05:09:24 -0800

16
debian/control vendored
View File

@@ -1,16 +0,0 @@
Source: rocm-runtime
Maintainer: Tom Rix <Tom.Rix@amd.com>
Uploaders: Tom Rix <Tom.Rix@amd.com>
Section: devel
Priority: optional
Build-Depends: debhelper-compat (= 13),
cmake,
debhelper,
libelf-dev,
libnuma-dev
Package: rocm-runtime
Architecture: amd64
Depends: ${shlibs:Depends}, ${misc:Depends}
Pre-Depends: ${misc:Pre-Depends}
Description: ROCm Runtime

4
debian/copyright vendored
View File

@@ -1,4 +0,0 @@
Files:
*
Copyright: 2025 AMD
License: MIT

View File

@@ -1 +0,0 @@
/usr/*

51
debian/rules vendored
View File

@@ -1,51 +0,0 @@
#!/usr/bin/make -f
deb_inst := $(CURDIR)/debian/tmp/
rocmllvm_cmakedir := /usr/lib/rocm/llvm/lib/cmake/llvm
cmake_install_libdir := lib/x86_64-linux-gnu
%:
dh $@
dirs:
- mkdir build
override_dh_auto_configure:
cmake -S . -B build \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_LIBDIR=$(cmake_install_libdir) \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_PREFIX_PATH=$(rocmllvm_cmakedir)/.. \
-DCMAKE_SHARED_LINKER_FLAGS=-ldrm_amdgpu \
-DINCLUDE_PATH_COMPATIBILITY=OFF \
-DIMAGE_SUPPORT=OFF
override_dh_auto_build:
make -C build
override_dh_auto_install:
DESTDIR=$(deb_inst) \
make -C build install
override_dh_install:
dh_install
dh_missing --list-missing
override_dh_auto_test:
# No docs
override_dh_installdocs:
# Too many DIE's
override_dh_dwz:
clean:
rm -rf build
rm -rf $(deb_inst)
rm -rf debian/rocm-runtime
override_dh_auto_clean: clean
override_dh_ocamlinit:
override_dh_ocamlclean:
override_dh_ocaml:

27
debian/setuptmp.sh vendored
View File

@@ -1,27 +0,0 @@
#!/bin/sh
# call from debian/
set -x
ver=6.4.0
p=rocm-runtime
n=ROCR-Runtime-rocm
b=$HOME/b/$p
if [ -d $b ]; then
rm -rf $b
fi
mkdir -p $HOME/b
rsync -ar ../../$p $HOME/b
cd $HOME/b/$p
tar xf ${p}-${ver}.tar.gz
tar cf ${p}_${ver}.orig.tar ${n}-${ver}
gzip --fast ${p}_${ver}.orig.tar
cd ${n}-${ver}
cp -r ../debian .

View File

@@ -1,3 +1,25 @@
#
# 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}
# 15.6
# rocm-runtime.x86_64: E: shlib-policy-name-error (Badness: 10000) libhsa-runtime64-1
@@ -29,7 +51,7 @@
Name: %{runtime_name}
Version: %{rocm_version}
Release: 2%{?dist}
Release: 5%{?dist}
Summary: ROCm Runtime Library
License: NCSA
@@ -139,27 +161,11 @@ cd libhsakmt/tests/kfdtest
%cmake_install
%endif
if [ -f %{buildroot}%{_prefix}/share/doc/hsa-runtime64/LICENSE.md ]; then
rm %{buildroot}%{_prefix}/share/doc/hsa-runtime64/LICENSE.md
elif [ -f %{buildroot}%{_prefix}/share/doc/packages/%{name}/LICENSE.md ]; then
rm %{buildroot}%{_prefix}/share/doc/packages/%{name}/LICENSE.md
fi
if [ -f %{buildroot}%{_libdir}/libhsakmt.a ]; then
rm %{buildroot}%{_libdir}/libhsakmt.a
fi
if [ -f %{buildroot}%{_libdir}/libhsakmt.so ]; then
rm %{buildroot}%{_libdir}/libhsakmt.*
fi
if [ -d %{buildroot}%{_includedir}/hsakmt ]; then
rm -rf %{buildroot}%{_includedir}/hsakmt
fi
if [ -d %{buildroot}%{_libdir}/cmake/hsakmt ]; then
rm -rf %{buildroot}%{_libdir}/cmake/hsakmt
fi
if [ -f %{buildroot}%{_libdir}/pkgconfig/libhsakmt.pc ]; then
rm %{buildroot}%{_libdir}/pkgconfig/libhsakmt.pc
fi
rm -f %{buildroot}%{_prefix}/share/doc/hsa-runtime64/LICENSE.md
rm -f %{buildroot}%{_prefix}/share/doc/packages/%{name}/LICENSE.md
rm -f %{buildroot}%{_libdir}/libhsakmt.*
rm -rf %{buildroot}%{_libdir}/cmake/hsakmt
rm -f %{buildroot}%{_libdir}/pkgconfig/libhsakmt.pc
%ldconfig_scriptlets
@@ -170,6 +176,7 @@ fi
%files devel
%{_includedir}/hsa/
%{_includedir}/hsakmt
%{_libdir}/libhsa-runtime64.so
%{_libdir}/cmake/hsa-runtime64/
@@ -183,6 +190,15 @@ fi
%endif
%changelog
* Wed Aug 25 2025 Tom Rix <Tom.Rix@amd.com> - 6.4.2-5
- Add Fedora copyright
* Mon Aug 25 2025 Tom Rix <Tom.Rix@amd.com> - 6.4.2-4
- Simiplify file removal
* Fri Aug 22 2025 Tom Rix <Tom.Rix@amd.com> - 6.4.2-3
- export the hsakmt headers
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 6.4.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild