From: Eric Bavier <ericbavier@openmailbox.org>
To: Andy Wingo <wingo@igalia.com>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH] gnu: Simplify LLVM build.
Date: Mon, 17 Aug 2015 03:43:38 -0500 [thread overview]
Message-ID: <20150817034338.5918ffdd@openmailbox.org> (raw)
In-Reply-To: <87r3n2o2ed.fsf@igalia.com>
Hello Andy,
Thanks for taking a closer look at this!
On Mon, 17 Aug 2015 08:27:38 +0200
Andy Wingo <wingo@igalia.com> wrote:
> From db066d194d3b8359eddd0149234bfad29c11542d Mon Sep 17 00:00:00 2001
> From: Andy Wingo <wingo@igalia.com>
> Date: Mon, 17 Aug 2015 08:26:07 +0200
> Subject: [PATCH] gnu: Simplify LLVM build.
>
> * gnu/packages/llvm.scm (llvm): Simplify build.
Could this perhaps be a bit more descriptive? It also doesn't
follow our standard. Maybe:
gnu: llvm: Simplify build rpath handling.
* gnu/packages/llvm.scm (llvm)[arguments]: Remove phases argument.
Add to configure-flags "-DCMAKE_SKIP_BUILD_RPATH=FALSE" and
"-DCMAKE_BUILD_WITH_INSTALL_RPATH=FALSE".
`~Eric
> ---
> gnu/packages/llvm.scm | 20 ++------------------
> 1 file changed, 2 insertions(+), 18 deletions(-)
>
> diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm
> index 9e06a64..2c96e9d 100644
> --- a/gnu/packages/llvm.scm
> +++ b/gnu/packages/llvm.scm
> @@ -49,24 +49,8 @@
> `(("python" ,python-wrapper)
> ("perl" ,perl)))
> (arguments
> - `(#:phases (alist-cons-before
> - 'build 'link-lib-for-build-exec
> - (lambda* (#:key outputs #:allow-other-keys)
> - ;; This is a hacky fix that will allow binaries
> to run
> - ;; before being installed.
> -DCMAKE_SKIP_BUILD_RPATH=FALSE
> - ;; seems to not help. Nixpkgs does the same.
> - (let* ((out (assoc-ref outputs "out"))
> - (out-lib (string-append out "/lib"))
> - (build-lib (string-append (getcwd)
> "/lib")))
> - (mkdir-p out)
> - (symlink build-lib out-lib)))
> - (alist-cons-after
> - 'build 'cleanup-out
> - (lambda* (#:key outputs #:allow-other-keys)
> - ;; Cleanup the symlink that was created
> previously. Let
> - ;; the install phase repopulate out.
> - (delete-file-recursively (assoc-ref outputs
> "out")))
> - %standard-phases))))
> + `(#:configure-flags '("-DCMAKE_SKIP_BUILD_RPATH=FALSE"
> "-DCMAKE_BUILD_WITH_INSTALL_RPATH=FALSE")))
> (home-page "http://www.llvm.org") (synopsis "Optimizing compiler
> infrastructure") (description
next prev parent reply other threads:[~2015-08-17 13:36 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-17 6:27 [PATCH] gnu: Simplify LLVM build Andy Wingo
2015-08-17 8:43 ` Eric Bavier [this message]
2015-08-17 13:56 ` Andy Wingo
2015-08-21 21:16 ` Mark H Weaver
2015-08-24 7:46 ` Andy Wingo
2015-08-24 15:50 ` Mark H Weaver
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150817034338.5918ffdd@openmailbox.org \
--to=ericbavier@openmailbox.org \
--cc=guix-devel@gnu.org \
--cc=wingo@igalia.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.