guix-mirrors/gnu/packages/patches/llvm-13-gcc-14.patch
Greg Hogan 8ecb6052ab
gnu: llvm: Fix tests.
* gnu/packages/llvm.scm (clang-from-llvm)[arguments]: Set #:tests? to
disabled.
(make-llvm, llvm-14)[arguments]
<#:tests?>: Disable for target-x86-32.
<#:phases>: Replace 'check phase to run tests.
(llvm-14)[native-inputs]: Add which.
(llvm-13)[arguments]<#:tests?>: Disable for target-x86-32.
(llvm-12)[arguments]<#:tests>: Disable tests.
<#:phases>: Add 'remove-failing-tests phase.
(llvm-6)[arguments]<#:phases>: ... and remove it.
* gnu/packages/patches/llvm-13-gcc-14.patch: Patch test file.
(llvm-3.9.1)[arguments]: Substitute from inherited package.

Change-Id: Ibf0e4a4b535838ff4ffd60d66bc0bee4314abde6
2025-08-04 03:21:51 +00:00

22 lines
655 B
Diff

See: https://github.com/smlnj/smlnj/issues/279
--- llvm-13.0.1.src/include/llvm/Support/Signals.h.orig 2024-12-08 14:34:21.338967469 +0100
+++ llvm-13.0.1.src/include/llvm/Support/Signals.h 2024-12-08 14:32:22.486780827 +0100
@@ -14,6 +14,7 @@
#ifndef LLVM_SUPPORT_SIGNALS_H
#define LLVM_SUPPORT_SIGNALS_H
+#include <cstdint>
#include <string>
namespace llvm {
--- llvm-13.0.1.src/include/llvm/Support/Base64.h 1970-01-01 00:00:01.000000000 +0000
+++ llvm-13.0.1.src/include/llvm/Support/Base64.h 2025-07-18 23:45:19.568475987 +0000
@@ -14,6 +14,7 @@
#define LLVM_SUPPORT_BASE64_H
#include <string>
+#include <cstdint>
namespace llvm {