LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File libhsaruntime.spec of Package libhsaruntime (Project home:marxin:carrizo)

#
# spec file for package libhsaruntime
#
# Copyright (c) 2016 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 http://bugs.opensuse.org/
#


Name:           libhsa-runtime64-1
Version:        1.0.0
Release:        0
Summary:        HSA Runtime
License:        AMD
Group:          System/Libraries
Url:		https://github.com/marxin/ROCR-Runtime/
Source:		https://github.com/marxin/ROCR-Runtime/archive/ROCR-Runtime-hof-finalizer.zip
BuildRequires:  cmake
BuildRequires:  gcc-c++
BuildRequires:  libelf-devel
BuildRequires:  libhsakmt1 = 1.1.0
BuildRequires:  libhsakmt1-devel = 1.1.0
BuildRequires:  unzip

%description

This repository contains the HSA Runtime source code, released primarily for user reference and experimentation purposes.

%prep
%setup -q -n ROCR-Runtime-hof-finalizer/src

%build
HSA_BUILD_INC_PATH=%{_includedir} HSA_BUILD_LIB_PATH=%{_libdir} cmake CMakeLists.txt
make %{?_smp_mflags}

%install
mkdir -p %{buildroot}%{_libdir}
install core/libhsa-runtime64.so* %{buildroot}%{_libdir}

%post
%postun

%files
%defattr(-,root,root)
%{_libdir}/libhsa-runtime64.so*

%changelog