Update package version to 1.85.0
This commit is contained in:
@@ -1,8 +1,9 @@
|
|||||||
name: rustc
|
name: rustc
|
||||||
description: The rust programming language compiler
|
description: The rust programming language compiler
|
||||||
version: 1.76.0
|
version: 1.85.0
|
||||||
url: https://www.rust-lang.org/
|
url: https://www.rust-lang.org/
|
||||||
license: Apache-2.0 or MIT
|
license: Apache-2.0 or MIT
|
||||||
architecture: any
|
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
|
type: source
|
||||||
|
|||||||
@@ -1,8 +1,9 @@
|
|||||||
change-id = 118703
|
change-id = 134650
|
||||||
|
|
||||||
[llvm]
|
[llvm]
|
||||||
targets = "X86"
|
targets = "X86"
|
||||||
link-shared = true
|
link-shared = true
|
||||||
|
download-ci-llvm = false
|
||||||
|
|
||||||
[build]
|
[build]
|
||||||
docs = false
|
docs = false
|
||||||
|
|||||||
@@ -16,6 +16,10 @@ prepare() {
|
|||||||
# The build function is executed in the source directory
|
# The build function is executed in the source directory
|
||||||
# This function is used to compile the source code
|
# This function is used to compile the source code
|
||||||
build() {
|
build() {
|
||||||
|
sed '/MirOpt/d' -i src/bootstrap/src/core/builder/mod.rs
|
||||||
|
|
||||||
|
export LIBSQLITE3_SYS_USE_PKG_CONFIG=1
|
||||||
|
|
||||||
python3 x.py build
|
python3 x.py build
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -24,7 +28,7 @@ build() {
|
|||||||
package() {
|
package() {
|
||||||
DESTDIR="$BPM_OUTPUT" python3 x.py install
|
DESTDIR="$BPM_OUTPUT" python3 x.py install
|
||||||
|
|
||||||
install -Dm644 "$BPM_SOURCE"/COPYRIGHT "$BPM_OUTPUT"/usr/share/licenses/COPYRIGHT
|
install -Dm644 "$BPM_SOURCE"/COPYRIGHT "$BPM_OUTPUT"/usr/share/licenses/rustc/COPYRIGHT
|
||||||
install -Dm644 "$BPM_SOURCE"/LICENSE-MIT "$BPM_OUTPUT"/usr/share/licenses/LICENSE-MIT
|
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/LICENSE-APACHE
|
install -Dm644 "$BPM_SOURCE"/LICENSE-APACHE "$BPM_OUTPUT"/usr/share/licenses/rustc/LICENSE-APACHE
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user