Skip to content

Commit 4b3c178

Browse files
authoredJan 20, 2025
[Offload] Enable shared-libs; compiler-rt as default RTLIB (#123568)
This is the next step to move the CMake cache file builder closer to the build configuration we care about downstream.
1 parent 1297c11 commit 4b3c178

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎offload/cmake/caches/AMDGPUBot.cmake

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ set(CMAKE_INSTALL_PREFIX /tmp/llvm.install.test CACHE STRING "")
55

66
# General settings
77
set(CMAKE_BUILD_TYPE Release CACHE STRING "")
8+
set(BUILD_SHARED_LIBS ON CACHE BOOL "")
89
set(CMAKE_C_COMPILER_LAUNCHER ccache CACHE STRING "")
910
set(CMAKE_CXX_COMPILER_LAUNCHER ccache CACHE STRING "")
1011

@@ -17,3 +18,4 @@ set(LLVM_TARGETS_TO_BUILD "host;AMDGPU" CACHE STRING "")
1718
set(LLVM_LIT_ARGS "-v --show-unsupported --timeout 100 --show-xfail -j 32" CACHE STRING "")
1819

1920
set(CLANG_DEFAULT_LINKER "lld" CACHE STRING "")
21+
set(CLANG_DEFAULT_RTLIB "compiler-rt" STRING "")

0 commit comments

Comments
 (0)
Please sign in to comment.