[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Please build the JIT branch
From: |
Max Brister |
Subject: |
Re: Please build the JIT branch |
Date: |
Thu, 12 Jul 2012 12:38:46 -0500 |
On Thu, Jul 12, 2012 at 12:35 PM, Doug Stewart <address@hidden> wrote:
>
>
> On Thu, Jul 12, 2012 at 1:05 PM, Doug Stewart <address@hidden> wrote:
>>
>>
>>
>> On Thu, Jul 12, 2012 at 12:47 PM, Max Brister <address@hidden> wrote:
>>>
>>> On Thu, Jul 12, 2012 at 8:37 AM, Doug Stewart <address@hidden>
>>> wrote:
>>> >>>
>>> >> On Ubuntu 12.04 with LLVM 3.0
>>> >> ./configure LLVM_CONFIG=/usr/bin/llvm-config-3.0
>>> >>
>>> >>
>>> >> /Fotis
>>> >
>>> >
>>> >
>>> > I also have
>>> >
>>> > Ubuntu 12.04 with LLVM 3.0
>>> > ./configure LLVM_CONFIG=/usr/bin/llvm-config-3.0
>>> >
>>> > But I get this: see attached file.
>>> >
>>> > Any ideas???
>>> > Doug
>>>
>>> What is the output of `llvm-config-3.0 --includedir'? Is
>>> llvm/LLVMContext.h in that directory?
>>>
>>> Max Brister
>>
>>
>> Yes
>>
>> address@hidden:~$ llvm-config-3.0 --includedir
>> /usr/lib/llvm-3.0/include
>>
>> and
>> LLVMContext.h is in
>> /usr/lib/llvm-3.0/include/llvm
>>
>> what should I do now?
>> --
>> DAS
>>
>> https://linuxcounter.net/user/206392.html
>
>
>
> Down farther in config.log I found this:
>
> | #include <llvm/LLVMContext.h>
> configure:36687: result: no
> configure:36687: WARNING: llvm/LLVMContext.h: accepted by the compiler,
> rejected by the preprocessor!
> configure:36687: WARNING: llvm/LLVMContext.h: proceeding with the compiler's
> result
> configure:36687: checking for llvm/LLVMContext.h
> configure:36687: result: yes
> configure:36690: checking for llvm::getGlobalContext in llvm/LLVMContext.h
> configure:36711: g++ -c -isystem /usr/lib/llvm-3.0/include -g -O2
> -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS conftest.cpp >&5
> configure:36711: $? = 0
> configure:36713: result: yes
> configure:36814: checking hdf5.h usability
> configure:36814: gcc -c -g -O2 -pthread conftest.c >&5
> configure:36814: $? = 0
> configure:36814: result: yes
> configure:36814: checking hdf5.h presence
> configure:36814: gcc -E conftest.c
> configure:36814: $? = 0
> configure:36814: result: yes
>
>
> Any ideas?
> --
> DAS
It looks to me like I'm using CXXFLAGS and CPPFLAGS inappropriately. I
think I need to put the include command in the CPPFLAGS that way
autoconf includes it when checking for llvm/LLVMContext.h with the
preprocessor. I'm preparing a patch now, it just takes a while to run
autoconf to test my patch.
Max Brister
- Re: Please build the JIT branch, (continued)
- Re: Please build the JIT branch, marco atzeri, 2012/07/10
- Re: Please build the JIT branch, Jordi GutiƩrrez Hermoso, 2012/07/10
- Re: Please build the JIT branch, Max Brister, 2012/07/10
- Re: Please build the JIT branch, marco atzeri, 2012/07/12
- Re: Please build the JIT branch, fotios, 2012/07/12
- Re: Please build the JIT branch, Doug Stewart, 2012/07/12
- Re: Please build the JIT branch, Max Brister, 2012/07/12
- Re: Please build the JIT branch, fotios, 2012/07/12
- Re: Please build the JIT branch, Doug Stewart, 2012/07/12
- Re: Please build the JIT branch, Doug Stewart, 2012/07/12
- Re: Please build the JIT branch,
Max Brister <=
- Re: Please build the JIT branch, Max Brister, 2012/07/12
- Re: Please build the JIT branch, Doug Stewart, 2012/07/12
- Re: Please build the JIT branch, Doug Stewart, 2012/07/12
- Re: Please build the JIT branch, Michael Goffioul, 2012/07/13
- Re: Please build the JIT branch, Michael Goffioul, 2012/07/13
- Re: Please build the JIT branch, Michael Goffioul, 2012/07/13
- Re: Please build the JIT branch, Michael Goffioul, 2012/07/13
- Re: Please build the JIT branch, Michael Goffioul, 2012/07/13
- Re: Please build the JIT branch, Michael Goffioul, 2012/07/13
- Re: Please build the JIT branch, Max Brister, 2012/07/14