Update README doc. build instructions

* Also, remove dependency of manual pdf on the README
file; they are independent of each other.

Change-Id: I1ab8c8c9adf6b78e5b4aab86ecdf4c46f3a6bf63
Αυτή η υποβολή περιλαμβάνεται σε:
Chris Freehill
2020-05-20 15:53:54 -05:00
γονέας 754a993d32
υποβολή bdf22c1c9e
3 αρχεία άλλαξαν με 6 προσθήκες και 8 διαγραφές
-1
Προβολή Αρχείου
@@ -212,7 +212,6 @@ if (DOXYGEN_FOUND AND LATEX_FOUND)
COMMAND ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/docs/rsmi_doxygen.cfg
"${INC_DIR}/rocm_smi.h"
${CMAKE_CURRENT_SOURCE_DIR}/docs/README.md
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/latex/refman.pdf
COMMAND make > /dev/null
+6 -7
Προβολή Αρχείου
@@ -27,14 +27,13 @@ After the ROCm SMI library git repository has been cloned to a local Linux machi
##### ```$ cmake <location of root of ROCm SMI library CMakeLists.txt>```
##### ```$ make```
##### ```# Install library file and header; default location is /opt/rocm```
##### ```$ sudo make install```
##### ```$ make install```
The built library will appear in the `build` folder.
#### Building the Documentation
The documentation PDF file can be built with the following steps (continued from the steps above):
##### ```$ make doc```
##### ```$ cd latex```
##### ```$ make```
To build the rpm and deb packages follow the above steps with:
##### ```$ make package```
#### Documentation
The reference manual, `refman.pdf` will be in the `latex` directory upon a successful build.
#### Building the Tests
@@ -45,7 +44,7 @@ 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=$ROCM_DIR <ROCm SMI source root>/tests/rocm_smi_test```
##### ```$ make
##### ```$ make```
To run the test, execute the program `rsmitst` that is built from the steps above.
Το δυαδικό αρχείο δεν εμφανίζεται.