[llvm] r197394 - [CMake] Introduce LLVM_RUNTIME_OUTPUT_INTDIR and LLVM_LIBRARY_OUTPUT_INTDIR to reduce references to CMAKE_CFG_INTDIR.

NAKAMURA Takumi geek4civic at gmail.com
Mon Dec 16 16:14:22 PST 2013


Dmitri, I supposed clang standalone build has been broken forawhile.
I'll investigate.

2013/12/17 Dmitri Gribenko <gribozavr at gmail.com>:
> On Mon, Dec 16, 2013 at 8:03 AM, NAKAMURA Takumi <geek4civic at gmail.com> wrote:
>> Author: chapuni
>> Date: Mon Dec 16 10:03:08 2013
>> New Revision: 197394
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=197394&view=rev
>> Log:
>> [CMake] Introduce LLVM_RUNTIME_OUTPUT_INTDIR and LLVM_LIBRARY_OUTPUT_INTDIR to reduce references to CMAKE_CFG_INTDIR.
>>
>> Each of them forms like;
>>   ${CMAKE_BINARY_DIR}/bin/${CMAKE_CFG_INTDIR}
>>   ${CMAKE_BINARY_DIR}/lib/${CMAKE_CFG_INTDIR}
>
> Hello Nakamura,
>
> I'm sorry, but this breaks separate Clang/LLVM build -- when LLVM and
> Clang are contained in different source directories, and build
> directories are separate as well.  To reproduce, make sure to
> configure Clang with -DLLVM_INCLUDE_TESTS=YES.
>
> Dmitri
>
> --
> main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
> (j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/



More information about the cfe-commits mailing list