[clangd-dev] Compiling clangd to WebAssembly
Ilya Biryukov via clangd-dev
clangd-dev at lists.llvm.org
Mon Mar 25 02:32:26 PDT 2019
Hi Jonathan,
We don't have any clangd-specific extensions to the buildsystem used by
LLVM, the CMakeLists.txt inside clangd directories merely list the
libraries and binaries we need to build.
I don't think any of clangd developers ever tried building it for
WebAssembly, so we're probably not of much help here.
You might have better luck asking on the LLVM and clang mailing lists
(llvm-dev and cfe-dev, respectively). If anyone successfully built clang
for WebAssembly, building clangd the same way should probably work.
On Sun, Mar 24, 2019 at 8:11 PM Jonathan Beri via clangd-dev <
clangd-dev at lists.llvm.org> wrote:
> Hi all,
>
> As a learning exercise I am trying to compile clangd as a WebAssembly
> target, with the eventual goal of using it as a Language Server in
> conjunction with monaco <https://microsoft.github.io/monaco-editor/>, the
> code editor behind Visual Studio Code.
>
> So far I've successfully built all combinations of LLVM, clang and clangd
> on macOS and Ubuntu. The build system is very easy to use, but rather
> complex to understand for someone with limited experience like myself.
>
> Are there any pointers to help me better understand clangd's Makefile?
> Walking up the tree of parent files and environment variables hasn't
> brought any clarity.
>
> P.S. before I got any further, has anyone else tried this?
>
> Cheers,
> Jonathan Beri.
> _______________________________________________
> clangd-dev mailing list
> clangd-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/clangd-dev
>
--
Regards,
Ilya Biryukov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/clangd-dev/attachments/20190325/bade66f5/attachment.html>
More information about the clangd-dev
mailing list