mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-07-18 03:09:22 +00:00

* Only ship libbolt_rt_hugify.a & libbolt_rt_instr.a on amd64 * fix the cmake detection with libmlir * Build using LTO - better performances of the llvm-toolchain binaires * Build libfuzzer with C++ 17 ot unbreak it * Fix a typo to silent lintian (Closes: #1018770) * Fix some hardcoded paths (Closes: #1020847) * Suggest wasi-libc for clang * Allow libunwind-dev to be coinstallable (Closes: #1004112) * Add better support for the WebAssembly (wasm32/wasm64) targets: - Ship compiler-rt for the wasm32 and wasm64 targets. (Closes: #1010932) - Add patch wasm-compiler-rt-default.diff to default to compiler-rt for these targets. libgcc does not currently exist for WebAssembly in neither Debian nor upstream, and therefore compiler-rt is the only option. - Add patch wasm-sysroot-usr.diff to support a system-installed (i.e. shipped in /usr) wasi-libc. (Closes: #1020746) * Ship bolt * New upstream release * Upload to unstable now that we have removed 12 from the archive * Unbreak the clang symlink. See https://github.com/llvm/llvm-project/issues/57857 * New upstream release * Fix build on ppc64 and riscv64 (Closes: #1019582) * New stable release * syscall-mips64el-def.diff: fix the call to undeclared function 'syscall'; on mips * Update of the build dep from llvm-spirv => llvm-spirv-14 as it is now versioned. It should build libclc * Fix some hardcoded paths (Closes: #1020847) * Suggest wasi-libc for clang * Allow libunwind-dev to be coinstallable (Closes: #1004112) * Add better support for the WebAssembly (wasm32/wasm64) targets: - Ship compiler-rt for the wasm32 and wasm64 targets. (Closes: #1010932) - Add patch wasm-compiler-rt-default.diff to default to compiler-rt for these targets. libgcc does not currently exist for WebAssembly in neither Debian nor upstream, and therefore compiler-rt is the only option. - Add patch wasm-sysroot-usr.diff to support a system-installed (i.e. shipped in /usr) wasi-libc. (Closes: #1020746) * Add '-DCMAKE_FIND_DEBUG_MODE=true' to help with debugging * Add '-DCMAKE_FIND_DEBUG_MODE=true' to help with debugging * Fifth RC release * Switch to 3.9 (remove lldb-3.9-dev as it was a transitional pkg)
34 lines
1.6 KiB
Diff
34 lines
1.6 KiB
Diff
suppress warnings for xray and testing when not enabled
|
|
Index: llvm-toolchain-snapshot_16~++20220909084606+06413618eae9/compiler-rt/cmake/Modules/CompilerRTUtils.cmake
|
|
===================================================================
|
|
--- llvm-toolchain-snapshot_16~++20220909084606+06413618eae9.orig/compiler-rt/cmake/Modules/CompilerRTUtils.cmake
|
|
+++ llvm-toolchain-snapshot_16~++20220909084606+06413618eae9/compiler-rt/cmake/Modules/CompilerRTUtils.cmake
|
|
@@ -324,15 +324,15 @@ macro(load_llvm_config)
|
|
|
|
# Detect if we have the LLVMXRay and TestingSupport library installed and
|
|
# available from llvm-config.
|
|
+ set(COMPILER_RT_HAS_LLVMXRAY FALSE)
|
|
execute_process(
|
|
COMMAND ${LLVM_CONFIG_PATH} "--ldflags" "--libs" "xray"
|
|
RESULT_VARIABLE HAD_ERROR
|
|
OUTPUT_VARIABLE CONFIG_OUTPUT
|
|
ERROR_QUIET)
|
|
- if (HAD_ERROR)
|
|
+ if (HAD_ERROR AND COMPILER_RT_BUILD_XRAY)
|
|
message(WARNING "llvm-config finding xray failed with status ${HAD_ERROR}")
|
|
- set(COMPILER_RT_HAS_LLVMXRAY FALSE)
|
|
- else()
|
|
+ elseif(COMPILER_RT_BUILD_XRAY)
|
|
string(REGEX REPLACE "[ \t]*[\r\n]+[ \t]*" ";" CONFIG_OUTPUT ${CONFIG_OUTPUT})
|
|
list(GET CONFIG_OUTPUT 0 LDFLAGS)
|
|
list(GET CONFIG_OUTPUT 1 LIBLIST)
|
|
@@ -349,7 +349,7 @@ macro(load_llvm_config)
|
|
RESULT_VARIABLE HAD_ERROR
|
|
OUTPUT_VARIABLE CONFIG_OUTPUT
|
|
ERROR_QUIET)
|
|
- if (HAD_ERROR)
|
|
+ if (HAD_ERROR AND COMPILER_RT_INCLUDE_TESTS)
|
|
message(WARNING "llvm-config finding testingsupport failed with status ${HAD_ERROR}")
|
|
elseif(COMPILER_RT_INCLUDE_TESTS)
|
|
string(REGEX REPLACE "[ \t]*[\r\n]+[ \t]*" ";" CONFIG_OUTPUT ${CONFIG_OUTPUT})
|