Update package version to 1.85.0

This commit is contained in:
2025-03-16 12:11:31 +02:00
parent 3cf969ec07
commit b276a8ec24
3 changed files with 12 additions and 6 deletions
+3 -2
View File
@@ -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
+2 -1
View File
@@ -1,8 +1,9 @@
change-id = 118703
change-id = 134650
[llvm]
targets = "X86"
link-shared = true
download-ci-llvm = false
[build]
docs = false
+7 -3
View File
@@ -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
}