[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH]:Resend: Add LLVM, clang and clang-runtime-3.8 to GNU Guix
From: |
Dennis Mungai |
Subject: |
Re: [PATCH]:Resend: Add LLVM, clang and clang-runtime-3.8 to GNU Guix |
Date: |
Fri, 27 May 2016 18:07:50 +0300 |
Yes, I did.
I'll inspect this shortly and give you feedback.
On 27 May 2016 at 17:09, Eric Bavier <address@hidden> wrote:
> 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 <address@hidden> 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
- [PATCH]:Resend: Add LLVM, clang and clang-runtime-3.8 to GNU Guix, Dennis Mungai, 2016/05/26
- Re: [PATCH]:Resend: Add LLVM, clang and clang-runtime-3.8 to GNU Guix, Roel Janssen, 2016/05/26
- Re: [PATCH]:Resend: Add LLVM, clang and clang-runtime-3.8 to GNU Guix, Dennis Mungai, 2016/05/26
- Re: [PATCH]:Resend: Add LLVM, clang and clang-runtime-3.8 to GNU Guix, Eric Bavier, 2016/05/27
- Re: [PATCH]:Resend: Add LLVM, clang and clang-runtime-3.8 to GNU Guix,
Dennis Mungai <=
- Re: [PATCH]:Resend: Add LLVM, clang and clang-runtime-3.8 to GNU Guix, Roel Janssen, 2016/05/28
- Re: [PATCH]:Resend: Add LLVM, clang and clang-runtime-3.8 to GNU Guix, Ludovic Courtès, 2016/05/28
- Re: [PATCH]:Resend: Add LLVM, clang and clang-runtime-3.8 to GNU Guix, Dennis Mungai, 2016/05/30