Unverified Commit c3cc605e authored by rerrabolu's avatar rerrabolu Committed by GitHub
Browse files

Merge branch 'master' into addPackingCode

parents a2816309 d23b6d66
Package: rocm_bandwidth_test
Architecture: $arch
Maintainer: Advanced Micro Devices Inc.
Depends:
Priority: optional
Version: $version
Description: Test to measure PciE bandwidth on ROCm platform
%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,-)
......@@ -92,7 +92,6 @@ function ( get_version DEFAULT_VERSION_STRING )
find_program ( GIT NAMES git )
if ( GIT )
execute_process ( COMMAND "git describe --dirty --long --match [0-9]* 2> /dev/null"
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
OUTPUT_VARIABLE GIT_TAG_STRING
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment