Patchwork [06/12] gnu: llvm: Enable install utils.

login
register
mail settings
Submitter David Craven
Date Dec. 11, 2016, 5:25 p.m.
Message ID <20161211172537.23315-7-david@craven.ch>
Download mbox | patch
Permalink /patch/18356/
State New
Headers show

Comments

David Craven - Dec. 11, 2016, 5:25 p.m.
* gnu/packages/llvm.scm (llvm)[arguments]: Add -DLLVM_INStALL_UTILS=ON
  to configure-flags.
---
 gnu/packages/llvm.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Ludovic Courtès - Dec. 13, 2016, 10:50 p.m.
David Craven <david@craven.ch> skribis:

> * gnu/packages/llvm.scm (llvm)[arguments]: Add -DLLVM_INStALL_UTILS=ON
>   to configure-flags.
> ---
>  gnu/packages/llvm.scm | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm
> index 96679bf97..c425108c9 100644
> --- a/gnu/packages/llvm.scm
> +++ b/gnu/packages/llvm.scm
> @@ -60,7 +60,8 @@
>       `(#:configure-flags '("-DCMAKE_SKIP_BUILD_RPATH=FALSE"
>                             "-DCMAKE_BUILD_WITH_INSTALL_RPATH=FALSE"
>                             "-DBUILD_SHARED_LIBS:BOOL=TRUE"
> -                           "-DLLVM_ENABLE_FFI:BOOL=TRUE")
> +                           "-DLLVM_ENABLE_FFI:BOOL=TRUE"
> +                           "-DLLVM_INSTALL_UTILS=ON") ; Needed for rustc.

If the closure size increase is “reasonable”, go ahead!

Thanks,
Ludo’.

Patch

diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm
index 96679bf97..c425108c9 100644
--- a/gnu/packages/llvm.scm
+++ b/gnu/packages/llvm.scm
@@ -60,7 +60,8 @@ 
      `(#:configure-flags '("-DCMAKE_SKIP_BUILD_RPATH=FALSE"
                            "-DCMAKE_BUILD_WITH_INSTALL_RPATH=FALSE"
                            "-DBUILD_SHARED_LIBS:BOOL=TRUE"
-                           "-DLLVM_ENABLE_FFI:BOOL=TRUE")
+                           "-DLLVM_ENABLE_FFI:BOOL=TRUE"
+                           "-DLLVM_INSTALL_UTILS=ON") ; Needed for rustc.
 
        ;; Don't use '-g' during the build, to save space.
        #:build-type "Release"