Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
science:GPU:ROCm
hsa-runtime
hsa-runtime.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File hsa-runtime.spec of Package hsa-runtime
# # spec file for package hsa-runtime # # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define _libname libhsa-runtime64-1 Name: hsa-runtime Version: 6.1.0 Release: 0 Summary: Radeon Open Compute Runtime License: NCSA URL: https://github.com/ROCm/ROCR-Runtime/ Source: https://github.com/ROCm/ROCR-Runtime/archive/refs/tags/rocm-%{version}.tar.gz BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: libhsakmt-devel = %{version} BuildRequires: libdrm-devel BuildRequires: pkgconfig # for assembling trap handlers for the offload targets BuildRequires: clang BuildRequires: clang-devel BuildRequires: lld # for xxd BuildRequires: vim BuildRequires: libnuma-devel BuildRequires: pkgconfig(libelf) %description This repository contains AMD Radeon Open Compute run-time. %package -n %{_libname} Summary: Radeon Open Compute Runtime %description -n %{_libname} This repository contains Radeon Open Compute Runtime library from AMD %package devel Summary: Development files of Radeon Open Compute Runtime Requires: %{_libname} = %{version} %description devel This repository contains Radeon Open Compute Runtime library development files %prep %setup -q -n ROCR-Runtime-rocm-%{version}/src %build # respect optflags but avoid LTO %define _lto_cflags %{nil} %cmake \ -DHSAKMT_INC_PATH=%{_includedir}/hsakmt \ -DIMAGE_SUPPORT=OFF \ -DEXTRA_CFLAGS="%{optflags}" \ -DINCLUDE_PATH_COMPATIBILITY=OFF %cmake_build %install %cmake_install rm %{buildroot}%{_datadir}/doc/packages/hsa-runtime/LICENSE.md %post -n %{_libname} -p /sbin/ldconfig %postun -n %{_libname} -p /sbin/ldconfig %files -n %{_libname} %license LICENSE.md %{_libdir}/libhsa-runtime64.so.* %files devel %doc README.md %dir %{_includedir}/hsa %{_includedir}/hsa/*.h %{_libdir}/libhsa-runtime64.so %{_libdir}/cmake/hsa-runtime64 %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor