From: Eric Bavier <ericbavier@openmailbox.org>
To: Dennis Mungai <dmngaie@gmail.com>
Cc: guix-devel@gnu.org,
Guix-devel
<guix-devel-bounces+ericbavier=openmailbox.org@gnu.org>
Subject: Re: [PATCH]:Resend: Add LLVM, clang and clang-runtime-3.8 to GNU Guix
Date: Fri, 27 May 2016 09:09:23 -0500 [thread overview]
Message-ID: <5acf393a17d0ddf9ab4a92fbde9950dc@openmailbox.org> (raw)
In-Reply-To: <CAKKYfmHAyMHhREUpdtvtoxjE8re_33bwWPsP5jU2SZ0i4Mxv7g@mail.gmail.com>
On 2016-05-26 15:44, Dennis Mungai wrote:
> See corrected patch, as attached.
> +(define-public clang-3.8
> + (clang-from-llvm llvm-3.8 clang-runtime-3.8
> +
> >"1ybcac8hlr9vl3wg8s4v6cp0c0qgqnwprsv85lihbkq3vqv94504"))
Did you successfully build clang 3.8 with this patch? I ask because I
am currently trying to do the same (while also upgrading 3.6 to 3.6.2
and adding clang 3.7.1), but found that the clang-libc-search.patch
that's used in clang-from-llvm does not apply to clang 3.8 source.
`~Eric
>
>
>
> On 26 May 2016 at 23:13, Roel Janssen <roel@gnu.org> wrote:
>> Hello Dennis,
>>
>> Welcome and thank you for the patch.
>>
>> Dennis Mungai writes:
>>
>>> +(define-public llvm-3.8
>>> + (package (inherit llvm)
>>> + (version "3.8.0")
>>> + (source
>>> + (origin
>>> + (method url-fetch)
>>> + (uri (string-append "http://llvm.org/releases/"
>>> + version "/llvm-" version ".src.tar.xz"))
>>> + (sha256
>>> + (base32
>>> + "0ikfq0gxac8xpvxj23l4hk8f12ydx48fljgrz1gl9xp0ks704nsm"))))
>>> + (native-inputs
>>> + `(("python" ,python-wrapper)
>>> + ("perl" ,perl)
>>> + ("libffi" ,libffi)
>>> + ("zlib" ,zlib)))
>>
>> One space between the string and the unquote is enough.
>>
>>> + (arguments
>>> + `(#:configure-flags '("-DCMAKE_SKIP_BUILD_RPATH=FALSE"
>>> + "-DCMAKE_BUILD_WITH_INSTALL_RPATH=FALSE"
>>> + "-DLLVM_ENABLE_PIC=ON"
>>> + ;"-DLLVM_ENABLE_RTTI=ON"
>>> + "-DLLVM_ENABLE_WERROR=OFF"
>>> + ;;"-DLLVM_REQUIRES_RTTI=ON"
>>
>> Could you remove the options you commented out?
>>
>>> + )))))
>>
>> These should be positioned directly after "-DLLVM_ENABLE_WERROR=OFF".
>>
>>> +
>>> +(define-public clang-runtime-3.8
>>> + (clang-runtime-from-llvm
>>> + llvm-3.8
>>> + "1c2nkp9563873ffz22qmhc0wakgj428pch8rmhym8agjamz3ily8"))
>>> +
>>> +(define-public clang-3.8
>>> + (clang-from-llvm llvm-3.8 clang-runtime-3.8
>>> +
>>> "1ybcac8hlr9vl3wg8s4v6cp0c0qgqnwprsv85lihbkq3vqv94504"))
>>> --
>>> 2.7.4
>>
>> Thank you,
>> Roel Janssen
--
`~Eric
next prev parent reply other threads:[~2016-05-27 14:09 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-26 19:45 [PATCH]:Resend: Add LLVM, clang and clang-runtime-3.8 to GNU Guix Dennis Mungai
2016-05-26 20:13 ` Roel Janssen
2016-05-26 20:44 ` Dennis Mungai
2016-05-27 14:09 ` Eric Bavier [this message]
2016-05-27 15:07 ` Dennis Mungai
2016-05-28 9:22 ` Roel Janssen
2016-05-28 15:30 ` Ludovic Courtès
2016-05-30 22:39 ` Dennis Mungai
2016-06-10 15:42 ` Ludovic Courtès
2016-06-10 16:38 ` Pjotr Prins
2016-06-12 10:17 ` Dennis Mungai
2016-06-12 16:30 ` Ludovic Courtès
2016-06-30 18:15 ` Dennis Mungai
2016-06-30 20:44 ` Dennis Mungai
2016-07-05 20:48 ` Roel Janssen
2016-07-05 21:20 ` Dennis Mungai
2016-07-05 21:43 ` Roel Janssen
2016-07-06 4:55 ` Ricardo Wurmus
2016-07-06 11:54 ` Efraim Flashner
2016-07-06 18:08 ` Eric Bavier
2016-07-07 5:06 ` [PATCH 1/5] gnu: llvm: Update to 3.5.2 ericbavier
2016-07-07 5:06 ` [PATCH 2/5] gnu: llvm: Add "license:" prefix ericbavier
2016-07-07 5:06 ` [PATCH 3/5] gnu: llvm: Add libffi and zlib inputs ericbavier
2016-07-07 5:06 ` [PATCH 4/5] gnu: llvm: Update to 3.7.1 ericbavier
2016-07-07 5:06 ` [PATCH 5/5] gnu: llvm: Update to 3.8.0 ericbavier
2016-07-11 8:28 ` [PATCH 1/5] gnu: llvm: Update to 3.5.2 Ludovic Courtès
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5acf393a17d0ddf9ab4a92fbde9950dc@openmailbox.org \
--to=ericbavier@openmailbox.org \
--cc=dmngaie@gmail.com \
--cc=guix-devel-bounces+ericbavier=openmailbox.org@gnu.org \
--cc=guix-devel@gnu.org \
/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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).