SWDEV-340919 - Move examples and tests install dir
Previous install locations:
- /opt/rocm/share/example/amd-smi
- /opt/rocm/share/tests/amd-smi
New install locations:
- /opt/rocm/share/amd_smi/example
- /opt/rocm/share/amd_smi/tests
Change-Id: I305477b9f66bdc5963923efe6da1c01f87ea2085
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
[ROCm/amdsmi commit: 6ee793ca03]
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
# copy .cc files into install directory
|
||||
install(
|
||||
DIRECTORY ./
|
||||
DESTINATION share/example/amd-smi
|
||||
DESTINATION ${SHARE_INSTALL_PREFIX}/example
|
||||
FILES_MATCHING
|
||||
PATTERN "*.cc")
|
||||
|
||||
@@ -12,7 +12,7 @@ install(
|
||||
install(
|
||||
FILES CMakeLists.txt.in
|
||||
RENAME CMakeLists.txt
|
||||
DESTINATION share/example/amd-smi)
|
||||
DESTINATION ${SHARE_INSTALL_PREFIX}/example)
|
||||
|
||||
# compile example files but do not install
|
||||
# this is only useful if running from build directory
|
||||
|
||||
Reference in New Issue
Block a user