This enables more projects in the CMake cache to add them to the buildbot coverage in the AMDGPU buildbots.
22 lines
878 B
CMake
22 lines
878 B
CMake
# This file is used across all AMDGPU-cmake builders
|
|
|
|
# Install directory set to /tmp as this is a bot config
|
|
set(CMAKE_INSTALL_PREFIX /tmp/llvm.install.test CACHE STRING "")
|
|
|
|
# General settings
|
|
set(CMAKE_BUILD_TYPE Release CACHE STRING "")
|
|
set(BUILD_SHARED_LIBS ON CACHE BOOL "")
|
|
set(CMAKE_C_COMPILER_LAUNCHER ccache CACHE STRING "")
|
|
set(CMAKE_CXX_COMPILER_LAUNCHER ccache CACHE STRING "")
|
|
|
|
set(LLVM_ENABLE_PROJECTS "clang;lld;mlir;flang" CACHE STRING "")
|
|
set(LLVM_ENABLE_RUNTIMES "compiler-rt;openmp;offload" CACHE STRING "")
|
|
|
|
set(LLVM_ENABLE_PER_TARGET_RUNTIME_DIR ON CACHE BOOL "")
|
|
set(LLVM_ENABLE_ASSERTIONS ON CACHE BOOL "")
|
|
set(LLVM_TARGETS_TO_BUILD "host;AMDGPU" CACHE STRING "")
|
|
set(LLVM_LIT_ARGS "-v --show-unsupported --timeout 100 --show-xfail -j 32" CACHE STRING "")
|
|
|
|
set(CLANG_DEFAULT_LINKER "lld" CACHE STRING "")
|
|
set(CLANG_DEFAULT_RTLIB "compiler-rt" STRING "")
|