rocm_bandwidth_test.spc 710 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
%define name        rocm_bandwidth_test
%define version     %{getenv:PACKAGE_VER}
%define packageroot %{getenv:PACKAGE_DIR}

Name:       %{name}
Version:    %{version}
Release:    1
Summary:    Test to measure PciE bandwith on ROCm platform

Group:      System Environment/Libraries
License:    Advanced Micro Devices Inc.

%description
This package includes rocm_bandwidth_test, a test that could be
used to measure PciE bandwidth on ROCm platform

%prep
%setup -T -D -c -n %{name}

%install
cp -R %packageroot $RPM_BUILD_ROOT
find $RPM_BUILD_ROOT \! -type d | sed "s|$RPM_BUILD_ROOT||"> test.list

%post
ldconfig

%postun
ldconfig

%clean
rm -rf $RPM_BUILD_ROOT

%files -f test.list

%defattr(-,root,root,-)