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
This commit is contained in:
committad av
Yaxun Liu
förälder
fc6a77a09f
incheckning
cbb3937196
@@ -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)
|
||||
|
||||
Referens i nytt ärende
Block a user