📦 | Package info | ||
---|---|---|---|
🔙 | Parent Directory | - | |
cat << EOF > config.toml # see config.toml.example for more possible options [llvm] targets = "X86" # When using system llvm prefer shared libraries link-shared = true [build] # install cargo as well as rust extended = true [install] prefix = "/usr" docdir = "share/doc/rustc-1.25.0" [rust] channel = "stable" rpath = false # get reasonably clean output from the test harness quiet-tests = true # BLFS does not install the FileCheck executable from llvm, # so disable codegen tests codegen-tests = false [target.x86_64-unknown-linux-gnu] # delete this *section* if you are not using system llvm. # 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" EOF
export RUSTFLAGS="$RUSTFLAGS -C link-args=-lffi" && ./x.py build
DESTDIR=\${PWD}/install ./x.py install chown -R root:root install && cp -a install/* /
Comments:
Blobs in source code! Not self complete! Ignored!