SWDEV-430086 - Need to set BUILD_SHARED_LIBS so that it gets reflected to rocclr.
Build process was top down Pre CLR (23.10) vs bottom up since CLR (>=23.20) and so BUILD_SHARED_LIBS value is not being reflected in rocclr build process since CLR. With this change, BUILD_SHARED_LIBS is set pre rocclr compilation. Change-Id: Ia2cd3b8148e9df2df222c1e734d927f2c029017e
This commit is contained in:
committed by
Jaydeepkumar Patel
parent
86bd518981
commit
1717078536
+3
-1
@@ -67,7 +67,9 @@ if(CLR_BUILD_HIP)
|
||||
endif()
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(CLR_BUILD_HIP)
|
||||
option(BUILD_SHARED_LIBS "Build the shared library" ON)
|
||||
endif()
|
||||
if((CLR_BUILD_HIP AND HIP_PLATFORM STREQUAL "amd") OR CLR_BUILD_OCL)
|
||||
add_subdirectory(rocclr)
|
||||
elseif(HIP_PLATFORM STREQUAL "amd")
|
||||
|
||||
Reference in New Issue
Block a user