Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wangsen
rocm_bandwidth_test
Commits
c3cc605e
Unverified
Commit
c3cc605e
authored
Dec 05, 2017
by
rerrabolu
Committed by
GitHub
Dec 05, 2017
Browse files
Merge branch 'master' into addPackingCode
parents
a2816309
d23b6d66
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
43 additions
and
1 deletion
+43
-1
DEBIAN/control
DEBIAN/control
+8
-0
RPM/rocm_bandwidth_test.spc
RPM/rocm_bandwidth_test.spc
+35
-0
cmake_modules/utils.cmake
cmake_modules/utils.cmake
+0
-1
No files found.
DEBIAN/control
0 → 100644
View file @
c3cc605e
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
RPM/rocm_bandwidth_test.spc
0 → 100644
View file @
c3cc605e
%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,-)
cmake_modules/utils.cmake
View file @
c3cc605e
...
@@ -92,7 +92,6 @@ function ( get_version DEFAULT_VERSION_STRING )
...
@@ -92,7 +92,6 @@ function ( get_version DEFAULT_VERSION_STRING )
find_program
(
GIT NAMES git
)
find_program
(
GIT NAMES git
)
if
(
GIT
)
if
(
GIT
)
execute_process
(
COMMAND
"git describe --dirty --long --match [0-9]* 2> /dev/null"
execute_process
(
COMMAND
"git describe --dirty --long --match [0-9]* 2> /dev/null"
WORKING_DIRECTORY
${
CMAKE_CURRENT_SOURCE_DIR
}
WORKING_DIRECTORY
${
CMAKE_CURRENT_SOURCE_DIR
}
OUTPUT_VARIABLE GIT_TAG_STRING
OUTPUT_VARIABLE GIT_TAG_STRING
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment