File tree Expand file tree Collapse file tree 2 files changed +75
-0
lines changed Expand file tree Collapse file tree 2 files changed +75
-0
lines changed Original file line number Diff line number Diff line change 1+ From 520e692a43c41e8981eb091494bef0297ecbe3c6 Mon Sep 17 00:00:00 2001
2+ From: =?UTF-8?q?Tomasz=20K=C5=82oczko?=
3+ 4+ Date: Sat, 13 May 2023 17:37:35 +0100
5+ Subject: [PATCH] Fix building with gcc 13 (#6723)
6+ MIME-Version: 1.0
7+ Content-Type: text/plain; charset=UTF-8
8+ Content-Transfer-Encoding: 8bit
9+
10+ Trivial fix to build with gcc 13 reported in #6722.
11+
12+ Signed-off-by: Tomasz Kłoczko <
[email protected] >
13+ ---
14+ src/util/tptr.h | 1 +
15+ 1 file changed, 1 insertion(+)
16+
17+ diff --git a/src/util/tptr.h b/src/util/tptr.h
18+ index 6213b2efa40..2a35af5353d 100644
19+ --- a/src/util/tptr.h
20+ +++ b/src/util/tptr.h
21+ @@ -20,6 +20,7 @@ Revision History:
22+ #pragma once
23+
24+ #include "util/machine.h"
25+ + #include <cstdint>
26+
27+ #define TAG_SHIFT PTR_ALIGNMENT
28+ #define ALIGNMENT_VALUE (1 << PTR_ALIGNMENT)
Original file line number Diff line number Diff line change 1+ opam-version: "2.0"
2+ 3+ authors: "MSR"
4+ homepage: "https://github.com/Z3prover/z3"
5+ bug-reports: "https://github.com/Z3prover/z3/issues"
6+ license: "MIT"
7+ dev-repo: "git+https://github.com/Z3prover/z3.git"
8+ depexts: [
9+ ["python3-distutils"] {os-family = "debian"}
10+ ]
11+ patches: ["fix-gcc-13.patch"]
12+ build: [
13+ [ "python3" "scripts/mk_make.py" "--ml" ]
14+ [ make "-C" "build" "-j" jobs ]
15+ ]
16+
17+ install: [
18+ [ "sh" "-c" "ocamlfind install z3 build/api/ml/* -dll build/libz3.*"]
19+ [ "cp" "build/z3" "%{bin}%/z3"]
20+ ]
21+
22+ depends: [
23+ "ocaml" {>= "4.08.0"}
24+ "ocamlfind" {build}
25+ "zarith"
26+ "conf-gmp"
27+ "conf-python-3" {build}
28+ "conf-c++" {build}
29+ ]
30+ x-ci-accept-failures: [
31+ "centos-7" "oraclelinux-7" # C compiler is too old
32+ ]
33+ conflicts: [
34+ "ocaml-option-bytecode-only"
35+ ]
36+ synopsis: "Z3 solver"
37+ extra-files: [
38+ ["fix-gcc-13.patch" "md5=f9078b5316a8f8cc8f11a3846a21811e"]
39+ ]
40+ url {
41+ src:
42+ "https://github.com/Z3Prover/z3/archive/refs/tags/z3-4.12.2.tar.gz"
43+ checksum: [
44+ "sha256=9f58f3710bd2094085951a75791550f547903d75fe7e2fcb373c5f03fc761b8f"
45+ "sha512=375477cbbc9837b44e752c89916409d07bf6a73830b52878aab4f376f08b37dd5ab485da225744d394ab15f2a7e1014edc3be5eb9962934c440a8d55259317e2"
46+ ]
47+ }
You can’t perform that action at this time.
0 commit comments