[llvm-commits] [PATCH] Re-introduce llvm::sys::getHostTriple() function.

Peter Collingbourne peter at pcc.me.uk
Tue Jan 8 11:58:00 PST 2013


On Sat, Jan 05, 2013 at 01:16:00AM +0000, Kaylor, Andrew wrote:
> I can test your patch on Windows if you can find a way to get it to be consistent.  I looked into something like that before and the best I could come up with was to disable the MCJIT tests in cases that I expected to have problems.  It seemed that in the build files the host triple and the target triple were specified using different naming schemes and I couldn't figure out a simple way to convert one to the other.  In your case, since you just want to always use the host triple (but possibly with the 32/64-bit conversion) it might be easier.

Can you please test the patch I sent out?  I decided that exposing the
triple via llvm-config was probably the best way for lit to access it.

Thanks,
-- 
Peter



More information about the llvm-commits mailing list