Make GPRC and protobuf external components to RDC

Pass in GRPC root (or use default location) for RDC to use
when building RDC components.

Change-Id: I89db2ac2be27ab6449c817d210a94c11fef965fd


[ROCm/rdc commit: 1b58033183]
This commit is contained in:
Chris Freehill committed 2020-08-17 14:07:25 -05:00
1 parent dc48d8c977
commit 819c4febca
7 files changed
+33 -11

No files matched your search

+2 -1
View File
@@ -142,7 +142,7 @@ aux_source_directory(${RDCTST_ROOT}/functional functionalSources)
# Specify the directory containing various libraries of ROCR
# to be linked against for building ROC Perf applications
#
link_directories(${RDC_LIB_DIR})
link_directories(${RDC_LIB_DIR} "${GRPC_ROOT}/lib")
#
# Source files for building rocrtst
#
@@ -154,6 +154,7 @@ add_executable(${RDCTST} ${rdctstSources} ${functionalSources})
# Header file include path
target_include_directories(${RDCTST} PRIVATE ${RDC_INC_DIR}
PRIVATE ${RSMI_INC_DIR}
PRIVATE ${GRPC_ROOT}/include
PRIVATE ${RDCTST_ROOT}/..
PRIVATE ${RDCTST_ROOT}/gtest/include)