[LLVMdev] llvm-config is broken ?
Óscar Fuentes
ofv at wanadoo.es
Fri Oct 26 18:17:56 PDT 2012
"陳韋任 (Wei-Ren Chen)" <chenwj at iis.sinica.edu.tw> writes:
> On Thu, Oct 25, 2012 at 01:24:23PM -0700, sunilsaggar wrote:
>> I am trying to compile llvm in AIX 7.1 machine..
>>
>> I was able to run "gmake libs-only" and it worked well. However, gmake
>> failed with the following error ..
>>
>> # pwd
>> /usr/llvm/llvm-3.1.src/tools
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> seems you're building in the source tree? Please note that
> LLVM does NOT recommand/support in source tree build [1].
>
> HTH,
> chenwj
>
> [1] http://llvm.org/docs/CMake.html#quick-start
The OP is using the configure+make build process. AFAIK it is ok to
build in-source with that method. CMake is different because the
makefiles generated by that tool would overwrite those distributed with
LLVM sources.
More information about the llvm-dev
mailing list