[llvm-commits] [llvm] r119064 - /llvm/trunk/CMakeLists.txt
Chris Lattner
clattner at apple.com
Sun Nov 14 12:54:05 PST 2010
On Nov 14, 2010, at 12:52 PM, Oscar Fuentes wrote:
>>
>> Since this commit conflicts with the patch I attached there, here's a new one.
>
> - if( EXISTS ${LLVM_MAIN_SRC_DIR}/lib/Target/${t}/*AsmPrinter.cpp )
> + file(GLOB ASMPRINTER_FILE ${LLVM_MAIN_SRC_DIR}/lib/Target/${t}/*AsmPrinter.cpp )
> + if( EXISTS ${ASMPRINTER_FILE} )
>
> This is 100% right either. In the case where zero or more than one files
> matches the glob expression, the semantics of if( EXISTS ... ) is not
> well defined. I'll commit a fix ASAP.
Arg, ok. I just committed Frits' patch. I'll leave the proper fix to you Oscar, thanks :)
-Chris
More information about the llvm-commits
mailing list