--- a/CMakeLists.txt +++ a/CMakeLists.txt @@ -70,7 +70,6 @@ PATHS ${ROCclr_DIR} ${LIBROCclr_STATIC_DIR}) -add_subdirectory(khronos/icd) add_subdirectory(amdocl) #add_subdirectory(tools/clinfo) add_subdirectory(tools/cltrace) @@ -94,9 +94,6 @@ WORKING_DIRECTORY ${PROJECT_SOURCE_DIR} OUTPUT_VARIABLE OPENCL_VERSION_GITDATE OUTPUT_STRIP_TRAILING_WHITESPACE) -get_target_property(OPENCL_LIB_VERSION_MAJOR OpenCL SOVERSION) -get_target_property(OPENCL_LIB_VERSION_STRING OpenCL VERSION) - find_package(ROCM QUIET CONFIG PATHS /opt/rocm) if(ROCM_FOUND) @@ -98,7 +98,7 @@ add_custom_target(pkg_rocm_opencl COMMAND ${CMAKE_COMMAND} . COMMAND cp *.deb ${PROJECT_BINARY_DIR} COMMAND cp *.rpm ${PROJECT_BINARY_DIR} WORKING_DIRECTORY ${BUILD_DIR} - DEPENDS amdocl64 OpenCL) + DEPENDS amdocl64) # Package: rocm-opencl-dev set(BUILD_DIR ${CMAKE_CURRENT_BINARY_DIR}/packages/rocm-opencl-dev) @@ -109,7 +106,7 @@ add_custom_target(pkg_rocm_opencl_dev COMMAND ${CMAKE_COMMAND} . COMMAND cp *.deb ${PROJECT_BINARY_DIR} COMMAND cp *.rpm ${PROJECT_BINARY_DIR} WORKING_DIRECTORY ${BUILD_DIR} - DEPENDS amdocl64 OpenCL) + DEPENDS amdocl64) # Package: all if(POLICY CMP0037)