remove rust
This commit is contained in:
1 parent
1aa5cb1251
commit
a2ad13e9c0
4 files changed
+25
-121
No files matched your search
@@ -1,66 +0,0 @@
|
||||
profile = "dist"
|
||||
|
||||
# see src/bootstrap/src/utils/change_tracker.rs
|
||||
change-id = 131075
|
||||
|
||||
[llvm]
|
||||
# by default, rust will build for a myriad of architectures
|
||||
targets = "X86"
|
||||
|
||||
# When using system llvm prefer shared libraries
|
||||
link-shared = true
|
||||
|
||||
[build]
|
||||
# omit docs to save time and space (default is to build them)
|
||||
docs = false
|
||||
|
||||
# install extended tools: cargo, clippy, etc
|
||||
extended = true
|
||||
|
||||
# Do not query new versions of dependencies online.
|
||||
locked-deps = true
|
||||
|
||||
# Specify which extended tools (those from the default install).
|
||||
tools = ["cargo", "clippy", "rustdoc", "rustfmt"]
|
||||
|
||||
# Use the source code shipped in the tarball for the dependencies.
|
||||
# The combination of this and the "locked-deps" entry avoids downloading
|
||||
# many crates from Internet, and makes the Rustc build more stable.
|
||||
vendor = true
|
||||
|
||||
[install]
|
||||
prefix = "/usr"
|
||||
docdir = "share/doc/rustc-@version@"
|
||||
|
||||
[rust]
|
||||
codegen-units-std = 1
|
||||
debuginfo-level = 1
|
||||
debuginfo-level-std = 2
|
||||
channel = "stable"
|
||||
description = ""
|
||||
rpath = false
|
||||
frame-pointers = true
|
||||
lld = false
|
||||
use-lld = "external"
|
||||
llvm-bitcode-linker = false
|
||||
deny-warnings = false
|
||||
backtrace-on-ice = true
|
||||
remap-debuginfo = false
|
||||
jemalloc = true
|
||||
|
||||
# BLFS used to not install the FileCheck executable from llvm,
|
||||
# so disabled codegen tests. The assembly tests rely on FileCheck
|
||||
# and cannot easily be disabled, so those will anyway fail if
|
||||
# FileCheck has not been installed.
|
||||
codegen-tests = false
|
||||
|
||||
[target.x86_64-unknown-linux-gnu]
|
||||
# NB the output of llvm-config (i.e. help options) may be
|
||||
# dumped to the screen when config.toml is parsed.
|
||||
llvm-config = "/usr/bin/llvm-config"
|
||||
|
||||
[target.i686-unknown-linux-gnu]
|
||||
# NB the output of llvm-config (i.e. help options) may be
|
||||
# dumped to the screen when config.toml is parsed.
|
||||
llvm-config = "/usr/bin/llvm-config"
|
||||
|
||||
@@ -1,36 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
name='rust'
|
||||
release='7'
|
||||
version='1.84.0'
|
||||
url='https://www.rust-lang.org'
|
||||
description='Systems programming language from Mozilla'
|
||||
email='aliriza.keskin@pardus.org.tr'
|
||||
maintainer='aliriza'
|
||||
license=('GPLv3')
|
||||
source=("https://static.rust-lang.org/dist/rustc-$version-src.tar.xz"
|
||||
'config.toml')
|
||||
depends=(curl gcc libssh llvm)
|
||||
makedepends=(cmake ninja perl python lld)
|
||||
sha256sums=('bc2c1639f26814c7b17a323992f1e08c3b01fe88cdff9a27d951987d886e00b3'
|
||||
'SKIP')
|
||||
group=(dev.lang)
|
||||
uses=()
|
||||
arch=('x86_64')
|
||||
# disable strip
|
||||
dontstrip=1
|
||||
|
||||
cd rustc-$version-src
|
||||
|
||||
setup () {
|
||||
install ../config.toml ./config.toml
|
||||
sed -i "s/@verison@/"$version"/g" ./config.toml
|
||||
}
|
||||
|
||||
build () {
|
||||
python3 ./x.py build -j `nproc`
|
||||
}
|
||||
|
||||
package () {
|
||||
python3 ./x.py install -j `nproc`
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user