<div dir="auto">Why can't we use CMAKE_BUILD_TYPE?</div><div class="gmail_extra"><br><div class="gmail_quote">On Jul 31, 2017 8:50 PM, "Brian Gesiak via llvm-commits" <<a href="mailto:llvm-commits@lists.llvm.org" target="_blank">llvm-commits@lists.llvm.org</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Douglas,<br>
<br>
Sorry for the delay, I finally built and ran check-lit using a Visual<br>
Studio configuration. I can confirm I'm also seeing the error.<br>
<br>
Victor, perhaps you don't see the error because FileCheck exists on<br>
your system PATH? On my machine, running simply 'FileCheck --help' on<br>
the command line produces an error, unless I pass the full path to<br>
FileCheck.exe.<br>
<br>
As for the cause of the issue: I added the following debug statement<br>
to see what was going on:<br>
<a href="https://gist.github.com/modocache/20afa965f9d4d53431c8c39e01a7ba34" rel="noreferrer" target="_blank">https://gist.github.com/<wbr>modocache/<wbr>20afa965f9d4d53431c8c39e01a7ba<wbr>34</a>,<br>
and came to the same conclusion you did: the output shows that<br>
"C:/Users/modocache/Source/fb/<wbr>llvm/build/$(Configuration)/<wbr>bin" is<br>
being added to my PATH. I imagine "$(Configuration)" here is the<br>
source of the error -- this should have been replaced at some point<br>
with "Debug" or "Release" or something, I expect.<br>
<br>
I'll look around at the LLVM CMake to see where "$(Configuration)" is<br>
coming from, or whether it can be expanded somehow.<br>
<br>
- Brian<br>
______________________________<wbr>_________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@lists.llvm.org">llvm-commits@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/llvm-commits</a><br>
</blockquote></div></div>