<div dir="ltr"><div>The requirements for libc on Windows are similar to libcxx on Windows. As in, you have to additionally pass -DLLVM_FORCE_BUILD_RUNTIME=libc to cmake and we need clang-cl to build. Also, it currently only works for Windows on x86_64. The full instructions on how to get it working on Windows are available here: <a href="https://github.com/llvm/llvm-project/tree/main/libc/config/windows">https://github.com/llvm/llvm-project/tree/main/libc/config/windows</a></div><div><br></div><div>We used to have a bot connected to staging, but I just went looking for it and it has vanished. Very likely it was lost during the outage from a few weeks back. I will work on bringing it back up and hook it up to the production master soon.</div><div><br></div><div>Thanks,<br>Siva Chandra</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Sep 27, 2021 at 11:24 AM Mehdi AMINI via libc-dev <<a href="mailto:libc-dev@lists.llvm.org">libc-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
We configured Phabricator pre-merge testing to be more fine grain in<br>
selecting the tests to run.<br>
As such when a patch touches libc, it'll try to run `ninja check-libc`<br>
instead of `check-all`. This works well on linux, but somehow it does<br>
not on Windows.<br>
<br>
Here is one log for example:<br>
<a href="https://buildkite.com/llvm-project/premerge-checks/builds/58009" rel="noreferrer" target="_blank">https://buildkite.com/llvm-project/premerge-checks/builds/58009</a><br>
<br>
The libc project is correctly enabled in CMake:<br>
<br>
-- libc project is enabled<br>
<br>
But then it fails with:<br>
<br>
ninja: error: unknown target 'check-libc', did you mean 'check-lit'?<br>
<br>
<br>
Does anyone know why? I can find anything Windows specific in the<br>
various CMakeLists.txt in the libc folder of the repo.<br>
<br>
thanks,<br>
<br>
-- <br>
Mehdi<br>
_______________________________________________<br>
libc-dev mailing list<br>
<a href="mailto:libc-dev@lists.llvm.org" target="_blank">libc-dev@lists.llvm.org</a><br>
<a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/libc-dev" rel="noreferrer" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/libc-dev</a><br>
</blockquote></div></div>