SWDEV-380145 - [GFX][CQE] Mathlibs and Blender build failed in both RT and CPL Jobs

Remove --hip-device-lib-path from hip-config.cmake
and let clang determine device lib path

Change-Id: Ice009875624692bc2895020c9577b94ddbd6840f


[ROCm/clr commit: cbb3937196]
Tá an tiomantas seo le fáil i:
Yaxun (Sam) Liu
2023-02-16 17:34:12 -05:00
tiomanta ag Yaxun Liu
tuismitheoir a9675e0faa
tiomantas e660f913b5
-10
Féach ar an gComhad
@@ -206,16 +206,6 @@ if(HIP_COMPILER STREQUAL "clang")
if (NOT compilePropIsSet)
hip_add_interface_compile_flags(hip::device -x hip)
if (NOT EXISTS ${AMD_DEVICE_LIBS_PREFIX}/amdgcn/bitcode)
# This path is to support an older build of the device library
# TODO: To be removed in the future.
if(WIN32)
hip_add_interface_compile_flags(hip::device -fms-extensions -fms-compatibility)
hip_add_interface_compile_flags(hip::device --hip-device-lib-path=\"${HIP_PATH}/lib/bitcode\")
else()
hip_add_interface_compile_flags(hip::device --hip-device-lib-path=\"${AMD_DEVICE_LIBS_PREFIX}/lib\")
endif()
endif()
endif()
hip_add_interface_link_flags(hip::device --hip-link)