CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
50 lines
1.9 KiB
CMake
50 lines
1.9 KiB
CMake
# CMake policy settings shared between LLVM projects
|
|
|
|
# MSVC debug information format flags are selected via
|
|
# CMAKE_MSVC_DEBUG_INFORMATION_FORMAT, instead of
|
|
# embedding flags in e.g. CMAKE_CXX_FLAGS_RELEASE.
|
|
# New in CMake 3.25.
|
|
#
|
|
# Supports debug info with SCCache
|
|
# (https://github.com/mozilla/sccache?tab=readme-ov-file#usage)
|
|
# avoiding “fatal error C1041: cannot open program database; if
|
|
# multiple CL.EXE write to the same .PDB file, please use /FS"
|
|
if(POLICY CMP0141)
|
|
cmake_policy(SET CMP0141 NEW)
|
|
endif()
|
|
|
|
# CMP0144: find_package() uses uppercase <PackageName>_ROOT variables.
|
|
# New in CMake 3.27: https://cmake.org/cmake/help/latest/policy/CMP0144.html
|
|
if(POLICY CMP0144)
|
|
cmake_policy(SET CMP0144 NEW)
|
|
endif()
|
|
|
|
# CMP0147: Visual Studio Generators build custom commands in parallel.
|
|
# New in CMake 3.27: https://cmake.org/cmake/help/latest/policy/CMP0147.html
|
|
if(POLICY CMP0147)
|
|
cmake_policy(SET CMP0147 NEW)
|
|
endif()
|
|
|
|
# CMP0156: De-duplicate libraries on link lines based on linker capabilities.
|
|
# New in CMake 3.29: https://cmake.org/cmake/help/latest/policy/CMP0156.html
|
|
# Avoids the deluge of 'ld: warning: ignoring duplicate libraries' warnings when
|
|
# building with the Apple linker.
|
|
if(POLICY CMP0156)
|
|
cmake_policy(SET CMP0156 NEW)
|
|
|
|
# CMP0179: De-duplication of static libraries on link lines keeps first occurrence.
|
|
# Dependent on CMP0156=NEW. Unifies the behaviour across platforms.
|
|
# Works around a LLD bug ELF backend bug (#116669) and required for CMP0156
|
|
# to have an effect for affected versions. Also fixes building with CMake 3.31.0,
|
|
# which lacked the workaround of ignoring CMP0156 unless this is enabled.
|
|
if(POLICY CMP0179)
|
|
cmake_policy(SET CMP0179 NEW)
|
|
endif()
|
|
endif()
|
|
|
|
# CMP0182: Create shared library archives by default on AIX.
|
|
# New in CMake 4.0: https://cmake.org/cmake/help/latest/policy/CMP0182.html
|
|
if(POLICY CMP0182)
|
|
cmake_policy(SET CMP0182 NEW)
|
|
endif()
|