From 22c98abf7939aa3dff85b59b4e608bf902c6ecbc Mon Sep 17 00:00:00 2001 From: Jeremy Soller <jackpot51@gmail.com> Date: Mon, 13 Nov 2017 21:10:34 -0700 Subject: [PATCH] Clean up compilation of Rust --- recipes/rust/config.toml | 1 - recipes/rust/recipe.sh | 5 ++--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/recipes/rust/config.toml b/recipes/rust/config.toml index 14828f7e9..795350968 100644 --- a/recipes/rust/config.toml +++ b/recipes/rust/config.toml @@ -9,7 +9,6 @@ docs = false submodules = false [rust] -codegen-units = 0 use-jemalloc = false backtrace = false rpath = false diff --git a/recipes/rust/recipe.sh b/recipes/rust/recipe.sh index b7410e3a4..1dcc4c016 100644 --- a/recipes/rust/recipe.sh +++ b/recipes/rust/recipe.sh @@ -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 } -- GitLab