<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p>I'll add them locally so I can get up and running, and add it to the queue of things to upstream when we're stable. I'm glad I wasn't missing anything. I suppose a majority of bots just build out-of-the-box and wouldn't catch something like this.</p>
<p><br>
</p>
<p>Thanks much,<br>
</p>
<p>J.B. Nagurne</p>
<p>Code Generation</p>
<p>Texas Instruments<br>
</p>
<br>
<div style="color: rgb(0, 0, 0);">
<div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> Tom Stellard <tstellar@redhat.com><br>
<b>Sent:</b> Monday, February 18, 2019 9:00 PM<br>
<b>To:</b> Nagurne, James; cfe-dev@lists.llvm.org<br>
<b>Subject:</b> [EXTERNAL] Re: [cfe-dev] Regression testing with lit on a constrained toolchain</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">On 02/18/2019 05:13 PM, Nagurne, James via cfe-dev wrote:<br>
> Forgive me if this is common knowledge amongst the more experienced here, but I’m currently confused by the lit regression tests.<br>
> <br>
> I’m currently working to validate a Clang/LLVM toolchain, hosted on a Mac OS, which only supports a select number of baremetal ARM targets.<br>
> <br>
>  <br>
> <br>
> Specifically, the test Driver/darwin-ld-dedup.c fails due to not having available targets compatible with ‘x86_64-apple-macosx10.6.0’. As far as I’m concerned, this target is a do-not-care for me.<br>
> <br>
> Another that seems suspect is Index/pch-from-libclang.c, which also sets the triple directly to x86_64-apple-darwin.<br>
> <br>
>  <br>
> <br>
> My target triple does indeed look correct (arch is arm), and the host triple is x86_64-apple-darwin*.<br>
> <br>
>  <br>
> <br>
> Lit supports REQUIRED checking the target triple, but such checks just don’t appear in these failing tests.<br>
> <br>
> Is this not a common enough problem, or might I be missing something fundamental in my understanding?<br>
> <br>
<br>
It's a bug, those tests should also have 'x86-registered-target' added<br>
to their REQUIRES.<br>
<br>
-Tom<br>
<br>
>  <br>
> Thanks,<br>
> <br>
> J.B. Nagurne<br>
> <br>
> Code Generation<br>
> <br>
> Texas Instruments<br>
> <br>
> <br>
> <br>
> _______________________________________________<br>
> cfe-dev mailing list<br>
> cfe-dev@lists.llvm.org<br>
> <a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev" id="LPlnk738203" previewremoved="true">
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev</a><br>
> <br>
<br>
</div>
</span></font></div>
</div>
</body>
</html>