Skip to content
This repository has been archived by the owner on Feb 15, 2024. It is now read-only.

Commit

Permalink
Merge pull request #46 from raramakr/swdev
Browse files Browse the repository at this point in the history
Correct include path for new directory layout
  • Loading branch information
ashwinma authored Oct 18, 2022
2 parents 1b3f4e4 + 879c99c commit c2ff28e
Showing 1 changed file with 1 addition and 17 deletions.
18 changes: 1 addition & 17 deletions src/runtime/core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,25 +13,9 @@ include_directories(${LIBELF_INCLUDE_DIRS})
# libatmi_runtime_say("LIBELF: ${LIBELF_INCLUDE_DIRS} ${LIBELF_LIBRARIES} and ${LIBELF_FOUND}")

# Find comgr
find_package(amd_comgr REQUIRED CONFIG
HINTS ${ROC_DIR} ${ROC_COMGR_CONFIG_DIR})
find_path (amd_comgr_INCLUDE_DIRS
NAMES
amd_comgr.h
PATHS
${ROCM_INCLUDE_DIRS}
${ROC_DIR}
${ROC_COMGR_INCLUDE_DIR}
${ROC_COMGR_INCLUDE_DIR}/include
/opt/rocm/include
/usr/include
/usr/local/include
ENV CPATH
PATH_SUFFIXES include)
find_package(amd_comgr REQUIRED)

set(amd_comgr_LIBRARIES amd_comgr)
include_directories(${amd_comgr_INCLUDE_DIRS})
# libatmi_runtime_say("amd_comgr: ${amd_comgr_INCLUDE_DIRS} ${amd_comgr_LIBRARIES} and ${amd_comgr_FOUND}")

if(CMAKE_SYSTEM_PROCESSOR MATCHES "(ppc64le)|(aarch64)$")
add_definitions(-DLITTLEENDIAN_CPU=1)
Expand Down

0 comments on commit c2ff28e

Please sign in to comment.