Make build_rocrtst.sh build all target kernels by default

This will allow the default target list to be branch
specific.

Change-Id: If8ecc14e2b7fb5ed2eb25ab447480308d539b248


[ROCm/ROCR-Runtime commit: d699039284]
This commit is contained in:
Chris Freehill
2019-07-05 08:33:43 -05:00
parent 60da601be4
commit 290dfd785f
@@ -32,7 +32,7 @@ cmake_minimum_required(VERSION 2.8.0)
# 4) Run "make" # 4) Run "make"
# #
set(DEFAULT_TARGET "gfx803") set(DEFAULT_TARGETS "gfx803;gfx701;gfx801;gfx802;gfx900;gfx902;gfx906")
# #
# Currently support for Windows platform is not present # Currently support for Windows platform is not present
@@ -110,10 +110,10 @@ else()
endif() endif()
if (NOT DEFINED TARGET_DEVICES) if (NOT DEFINED TARGET_DEVICES)
message("WARNING: No targets devices provided on command line") message("No targets devices provided on command line")
message(" e.g., cmake -DTARGET_DEVICES=\"gfx803;gfx900;gfx...\" ..") message(" e.g., cmake -DTARGET_DEVICES=\"gfx803;gfx900;gfx...\" ..")
message(" Using default target of $DEFAULT_TARGET") message(" Using default target of ${DEFAULT_TARGETS}")
list(APPEND TARGET_DEVICES "gfx803") list(APPEND TARGET_DEVICES ${DEFAULT_TARGETS})
endif() endif()
string(TOLOWER "${ROCRTST_BLD_TYPE}" tmp) string(TOLOWER "${ROCRTST_BLD_TYPE}" tmp)