Fix building lib and test in non-automated (CI) env.

Also, use abbreviated ROCM_BUILD_ID environment variable for job
and build number, if it's available.

Change-Id: Ib5a721f5920f1008bb6382935f7b439429389de0
Этот коммит содержится в:
Chris Freehill
2019-08-14 23:18:15 -05:00
родитель dffa533e13
Коммит aa2db48237
3 изменённых файлов: 19 добавлений и 23 удалений
+5 -1
Просмотреть файл
@@ -26,6 +26,8 @@ After the the ROCm SMI library git repository has been cloned to a local Linux m
##### ```$ cd build```
##### ```$ cmake <location of root of ROCm SMI library CMakeLists.txt>```
##### ```$ make```
##### ```# Install library file and header; default location is /opt/rocm
##### ```$ make install
The built library will appear in the `build` folder.
#### Building the Documentation
@@ -44,7 +46,9 @@ In order to verify the build and capability of ROCm SMI on your system and to se
##### ```$ mkdir <location for test build>```
##### ```$ cd <location for test build>```
##### ```$ cmake -DROCM_DIR=<location of ROCM SMI library .so> <ROCm SMI source root>/tests/rocm_smi_test```
To run the test, execute the program `rsmitst` that is built from the steps above. Make sure ROCm SMI library is in your library search path when executing the test program.
##### ```$ make
To run the test, execute the program `rsmitst` that is built from the steps above.
# Usage Basics
## Device Indices