mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-19 11:24:18 +08:00
Clean up compilation of Rust
This commit is contained in:
parent
8de4e0f20e
commit
22c98abf79
@ -9,7 +9,6 @@ docs = false
|
||||
submodules = false
|
||||
|
||||
[rust]
|
||||
codegen-units = 0
|
||||
use-jemalloc = false
|
||||
backtrace = false
|
||||
rpath = false
|
||||
|
||||
@ -35,7 +35,7 @@ function recipe_fetch {
|
||||
function recipe_prepare {
|
||||
rm -rf "$LLVM_PREFIX"
|
||||
mkdir -p "$LLVM_PREFIX"
|
||||
|
||||
|
||||
rm -rf "$LLVM_BUILD"
|
||||
mkdir "$LLVM_BUILD"
|
||||
}
|
||||
@ -53,8 +53,7 @@ function recipe_build {
|
||||
make install
|
||||
popd
|
||||
|
||||
cp ../{config.toml,llvm-config} ./
|
||||
python x.py build
|
||||
python x.py build --config ../config.toml --jobs $(nproc)
|
||||
skip=1
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user