]> git.proxmox.com Git - rustc.git/commitdiff
build with LLVM14
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Mon, 25 Jul 2022 10:04:24 +0000 (12:04 +0200)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Mon, 1 Aug 2022 07:41:13 +0000 (09:41 +0200)
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
debian/bin/rust-lld
debian/control
debian/patches/d-rust-lldb-paths
debian/rules
debian/rust-lldb.links
debian/rustc.links

index 3274e766c80f93aeb50ee6397b52bde8983ff6ea..04aec84b474f7312e3c867a65c5855b4ff0b2337 100755 (executable)
@@ -6,4 +6,4 @@
 # However the tests fail for other reasons, namely we can't build rustdoc
 # (which runs the tests) in wasm32 yet. So this is just WIP at the moment,
 # it is not expect to work nor to be installed on user machines.
-exec /usr/bin/lld-13 "${@/#-Wl,/}"
+exec /usr/bin/lld-14 "${@/#-Wl,/}"
index 0fd95565a6481b8dc1b8e1a8d900fd7946886f67..b2b097d76c26be286eca2d3e5b7fc1c9b3efd254 100644 (file)
@@ -15,11 +15,11 @@ Build-Depends:
  cargo:native (>= 0.40.0)      <!pkg.rustc.dlstage0>,
  rustc:native (>= 1.61.0+dfsg) <!pkg.rustc.dlstage0>,
  rustc:native (<= 1.62.1++)    <!pkg.rustc.dlstage0>,
- llvm-13-dev:native,
- llvm-13-tools:native,
+ llvm-14-dev:native,
+ llvm-14-tools:native,
  gcc-mingw-w64-x86-64-posix:native [amd64] <!nowindows>,
  gcc-mingw-w64-i686-posix:native [i386] <!nowindows>,
- libllvm13 (>= 1:13.0.0),
+ libllvm14 (>= 1:14.0.0),
  cmake (>= 3.0) | cmake3,
 # needed by some vendor crates
  pkg-config,
@@ -40,7 +40,7 @@ Build-Depends:
 Build-Depends-Indep:
  wasi-libc (>= 0.0~git20210922.ad51334~~) <!nowasm>,
  wasi-libc (<= 0.0~git20210922.ad51334++) <!nowasm>,
- clang-13:native,
+ clang-14:native,
 Build-Conflicts: gdb-minimal <!nocheck>
 Standards-Version: 4.2.1
 Homepage: http://www.rust-lang.org/
@@ -57,10 +57,10 @@ Depends: ${shlibs:Depends}, ${misc:Depends},
 Recommends:
  cargo (>= 0.63.0~~), cargo (<< 0.64.0~~),
 # llvm is needed for llvm-dwp for -C split-debuginfo=packed
- llvm-13,
+ llvm-14,
 Suggests:
 # lld and clang are needed for wasm compilation
- lld-13, clang-13,
+ lld-14, clang-14,
 Replaces: libstd-rust-dev (<< 1.25.0+dfsg1-2~~)
 Breaks: libstd-rust-dev (<< 1.25.0+dfsg1-2~~)
 Description: Rust systems programming language
@@ -155,7 +155,7 @@ Depends: ${shlibs:Depends}, ${misc:Depends}
 # Embeds wasi-libc so doesn't need to depend on it
 # None of its licenses require source redistrib, so no need for Built-Using
 Recommends:
- lld-13, clang-13,
+ lld-14, clang-14,
 Suggests:
 # nodejs contains wasi-node for running the program
  nodejs (>= 12.16),
@@ -201,7 +201,7 @@ Description: Rust debugger (gdb)
 Package: rust-lldb
 Architecture: all
 # When updating, also update rust-lldb.links
-Depends: lldb-13, ${misc:Depends}, python3-lldb-13
+Depends: lldb-14, ${misc:Depends}, python3-lldb-14
 Replaces: rustc (<< 1.1.0+dfsg1-1)
 Description: Rust debugger (lldb)
  Rust is a curly-brace, block-structured expression language.  It
index d2291c7c36214bb3d8d0b7cf0349f5c8dc4dd7a3..15028a68f4894253d5aee2c0872df1b61a7c6569 100644 (file)
@@ -23,7 +23,7 @@ index bce72f1..793f593 100755
  RUST_LLDB="$RUSTC_SYSROOT/lib/rustlib/$host/bin/lldb"
  
 -lldb=lldb
-+lldb=lldb-13
++lldb=lldb-14
  if [ -f "$RUST_LLDB" ]; then
      lldb="$RUST_LLDB"
  else
index 3eb0f3f7a8e548bfaed066c9e4a051cd43639960..854dd3751731b13f90362b8f3cc7314a51d89d70 100755 (executable)
@@ -28,8 +28,8 @@ export RUST_LONG_VERSION
 DEB_DESTDIR := $(CURDIR)/debian/tmp
 
 # Use system LLVM (comment out to use vendored LLVM)
-LLVM_VERSION = 13
-OLD_LLVM_VERSION = 12
+LLVM_VERSION = 14
+OLD_LLVM_VERSION = 13
 # Make it easier to test against a custom LLVM
 ifneq (,$(LLVM_DESTDIR))
 LLVM_LIBRARY_PATH := $(LLVM_DESTDIR)/usr/lib/$(DEB_HOST_MULTIARCH):$(LLVM_DESTDIR)/usr/lib
index 680befc058c243edae1aa455ac561460d7f9e59d..d9de18f771cf63e472fb5eca911438bebac319d2 100644 (file)
@@ -1 +1 @@
-usr/share/man/man1/lldb-13.1.gz usr/share/man/man1/rust-lldb.1.gz
+usr/share/man/man1/lldb-14.1.gz usr/share/man/man1/rust-lldb.1.gz
index f8b40aee43d35a14cbf54a590115ee3a70e2b6ec..db024ff245658b65f5581e09bb8833174e96905e 100644 (file)
@@ -1,6 +1,6 @@
-usr/bin/lld-13 usr/bin/rust-lld
-usr/bin/clang-13 usr/bin/rust-clang
-usr/bin/llvm-dwp-13 usr/bin/rust-llvm-dwp
+usr/bin/lld-14 usr/bin/rust-lld
+usr/bin/clang-14 usr/bin/rust-clang
+usr/bin/llvm-dwp-14 usr/bin/rust-llvm-dwp
 # for -Z gcc-ld=lld, see compiler/rustc_codegen_ssa/src/back/link.rs for logic
 usr/bin/rust-lld usr/lib/rustlib/${env:DEB_HOST_RUST_TYPE}/bin/gcc-ld/ld
 usr/bin/rust-lld usr/lib/rustlib/${env:DEB_HOST_RUST_TYPE}/bin/gcc-ld/ld64