Commit 502211c3 authored by Ramesh Errabolu's avatar Ramesh Errabolu
Browse files

Update build instructions

parent 255785b9
...@@ -13,26 +13,12 @@ Build Environment: ...@@ -13,26 +13,12 @@ Build Environment:
To be able to build RocBandwidthTest, users must ensure that the build platform has To be able to build RocBandwidthTest, users must ensure that the build platform has
following conditions satisfied: following conditions satisfied:
Build Procedure: Build Procedure:
################ ################
The following simply lists the steps to build RocBandwidthTest The following simply lists the steps to build RocBandwidthTest
--- Define following environment variable to specify location of header
and library files
// Contains header files exported by ROC Runtime
ROCR_INC_DIR="Path of ROC Runtime Header Files"
// Contains library files exported by ROC Runtime
ROCR_LIB_DIR="Path of ROC Runtime Library Files"
// Contains header files exported by ROC Thunk
ROCT_INC_DIR="Path of ROC Runtime Header Files"
// Contains library files exported by ROC Thunk
ROCT_LIB_DIR="Path of ROC Runtime Library Files"
--- Create a build directory in the project folder - roc_bandwidth_test. --- Create a build directory in the project folder - roc_bandwidth_test.
e.g. mkdir ./build e.g. mkdir ./build
...@@ -45,13 +31,17 @@ The following simply lists the steps to build RocBandwidthTest ...@@ -45,13 +31,17 @@ The following simply lists the steps to build RocBandwidthTest
The argument for cmake should be the root folder of RocBandwidthTest The argument for cmake should be the root folder of RocBandwidthTest
test suite test suite
// Builds Release version (default) // Builds Debug version
// Assumes pwd is .../roc_bandwidth_test/build // Assumes pwd is .../roc_bandwidth_test/build
e.g. cmake .. e.g. cmake -DROCR_LIB_DIR="Path of ROC Runtime Library Files" \
-DROCR_INC_DIR="Path of ROC Runtime Header Files" \
-DCMAKE_BUILD_TYPE:STRING=Debug ..
// Builds Debug version // Builds Release version - default
// Assumes pwd is .../roc_bandwidth_test/build // Assumes pwd is .../roc_bandwidth_test/build
e.g. cmake -DCMAKE_BUILD_TYPE:STRING=Debug .. e.g. cmake -DROCR_LIB_DIR="Path of ROC Runtime Library Files" \
-DROCR_INC_DIR="Path of ROC Runtime Header Files" \
..
--- Invoke the native build rules generated by cmake to build the various --- Invoke the native build rules generated by cmake to build the various
object, library and executable files object, library and executable files
......
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