SWDEV-262734: Fix for Numa policy bug

Change-Id: I4be62c1fc45a59d09aa043af1c998b9e308da604
이 커밋은 다음에 포함됨:
Sarbojit Sarkar 작성하고 Sarbojit Sarkar가 2020-12-16 11:22:32 -05:00를 커밋함
1 부모 f45cea29b7
커밋 673f483879
2 파일이 변경됨
+8 -3

검색과 일치하는 파일 없음

-3
파일 보기
@@ -227,11 +227,8 @@ if (UNIX)
target_link_libraries(amdrocclr_static PUBLIC ${LIBRT})
endif()
find_library(LIBNUMA numa)
if (LIBNUMA)
target_compile_definitions(amdrocclr_static PUBLIC ROCCLR_SUPPORT_NUMA_POLICY)
target_link_libraries(amdrocclr_static PUBLIC ${LIBNUMA})
message(STATUS "Found: ${LIBNUMA}")
endif()
endif()
#comment out as it's not available in cmake 3.5
+8
파일 보기
@@ -47,4 +47,12 @@ if(USE_COMGR_LIBRARY)
endif()
endif()
if (UNIX)
find_library(LIBNUMA numa)
if (LIBNUMA)
target_compile_definitions(oclrocm PRIVATE ROCCLR_SUPPORT_NUMA_POLICY)
message(STATUS "Found: ${LIBNUMA}")
endif()
endif()
set_target_properties(oclrocm PROPERTIES POSITION_INDEPENDENT_CODE ON)