From b276a8ec24f9053c68a49d48adde5ac9e871a983 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Sun, 16 Mar 2025 12:11:31 +0200 Subject: [PATCH] Update package version to 1.85.0 --- pkg.info | 5 +++-- source-files/config.toml | 3 ++- source.sh | 10 +++++++--- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/pkg.info b/pkg.info index 34bf114..c2636fe 100644 --- a/pkg.info +++ b/pkg.info @@ -1,8 +1,9 @@ name: rustc description: The rust programming language compiler -version: 1.76.0 +version: 1.85.0 url: https://www.rust-lang.org/ license: Apache-2.0 or MIT architecture: any -depends: ["cmake","curl","llvm"] +depends: ["gcc","glibc","libffi","libxml2","llvm","ncurses","openssl","sqlite","xz-utils","zlib","zstd"] +make_depends: ["cmake","curl","python3"] type: source diff --git a/source-files/config.toml b/source-files/config.toml index 6a0a136..b777207 100644 --- a/source-files/config.toml +++ b/source-files/config.toml @@ -1,8 +1,9 @@ -change-id = 118703 +change-id = 134650 [llvm] targets = "X86" link-shared = true +download-ci-llvm = false [build] docs = false diff --git a/source.sh b/source.sh index 232913b..0449085 100644 --- a/source.sh +++ b/source.sh @@ -16,6 +16,10 @@ prepare() { # The build function is executed in the source directory # This function is used to compile the source code build() { + sed '/MirOpt/d' -i src/bootstrap/src/core/builder/mod.rs + + export LIBSQLITE3_SYS_USE_PKG_CONFIG=1 + python3 x.py build } @@ -24,7 +28,7 @@ build() { package() { DESTDIR="$BPM_OUTPUT" python3 x.py install - install -Dm644 "$BPM_SOURCE"/COPYRIGHT "$BPM_OUTPUT"/usr/share/licenses/COPYRIGHT - install -Dm644 "$BPM_SOURCE"/LICENSE-MIT "$BPM_OUTPUT"/usr/share/licenses/LICENSE-MIT - install -Dm644 "$BPM_SOURCE"/LICENSE-APACHE "$BPM_OUTPUT"/usr/share/licenses/LICENSE-APACHE + install -Dm644 "$BPM_SOURCE"/COPYRIGHT "$BPM_OUTPUT"/usr/share/licenses/rustc/COPYRIGHT + install -Dm644 "$BPM_SOURCE"/LICENSE-MIT "$BPM_OUTPUT"/usr/share/licenses/rustc/LICENSE-MIT + install -Dm644 "$BPM_SOURCE"/LICENSE-APACHE "$BPM_OUTPUT"/usr/share/licenses/rustc/LICENSE-APACHE }