SWDEV-380145 - [GFX][CQE] Mathlibs and Blender build failed in both RT and CPL Jobs (#3169)
Remove --hip-device-lib-path from hip-config.cmake
and let clang determine device lib path
Change-Id: I81bfec0928480ff81ad2ef0dbbfb6feac9d96068
[ROCm/hip commit: 802e3f4397]
This commit is contained in:
committed by
GitHub
parent
cdccbaec32
commit
fb54929fc0
@@ -90,12 +90,6 @@ set_property(TARGET hip-lang::device APPEND PROPERTY
|
||||
INTERFACE_COMPILE_OPTIONS "$<$<COMPILE_LANGUAGE:HIP>:SHELL:-mllvm;-amdgpu-early-inline-all=true;-mllvm;-amdgpu-function-calls=false>"
|
||||
)
|
||||
|
||||
if (NOT EXISTS "${AMD_DEVICE_LIBS_PREFIX}/amdgcn/bitcode")
|
||||
set_property(TARGET hip-lang::device APPEND PROPERTY
|
||||
INTERFACE_COMPILE_OPTIONS "$<$<COMPILE_LANGUAGE:HIP>:--hip-device-lib-path=${AMD_DEVICE_LIBS_PREFIX}/lib>"
|
||||
)
|
||||
endif()
|
||||
|
||||
set_property(TARGET hip-lang::device APPEND PROPERTY
|
||||
INTERFACE_LINK_OPTIONS "$<$<LINK_LANGUAGE:HIP>:--hip-link>"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user