Files
rocm-systems/tests/rocm_smi_test/run_build.sh
T
Chris Freehill 59a952666f Add rsmi_dev_pci_id_get() to return BDFID for given device
Also:
* add some exception handling;
* chop newline character off of device name returned from
rsmi_dev_id_get()
2018-11-05 11:22:12 -06:00

21 lines
287 B
Bash
Executable File

#!/bin/bash
# these are required:
ROCM_DIR=/home/cfreehil/github/rocm_smi_lib/build
#ROCM_DIR=/opt/rocm
mkdir -p build
cd build
cmake -DROCRTST_BLD_TYPE=$ROCRTST_BLD_TYPE \
-DROCM_DIR=$ROCM_DIR \
-DROCRTST_BLD_TYPE="Debug" \
..
echo "Executing \"make\"..."
make
cd ..