Replies: 2 comments
-
Hi, unfortunately it will likely won't work with LLVM 12 or later, keeping the development up to date takes up way too many time than I currently have, I might see if it compiles when I get to my ubuntu machine. Another problem is that building a debug version takes up roughly 70 GB of disk space both for LLVM and Clang (so 140 GB in total), and I always have disk space issues. Developing without debug info is basically impossible, it is impossible to tell how to use AST nodes or what they could do or other useful properties. Now about macOS: In the meantime you could try using docker image, however when I tried it on Windows because the itself was built in Linux environment it was generating bindings for Linux target which obviously won't work in less than trivial scenarios. As for shipping binaries - again, the problem is that this will require enormous resources to build the LLVM and Clang and this is unlikely doable with github actions. Summary:
Other than that both D (ldc2) and LLVM/Clang (with modules) should work just fine. |
Beta Was this translation helpful? Give feedback.
-
I've updated the tool to support clang14, currently in develop branch, will merge later if CI runs ok. |
Beta Was this translation helpful? Give feedback.
-
Will it be possible to publish binaries for popular combinations?
like x86_64 Ubuntu, arm64 macOS?
So users won't need to build LLVM by themself. Like LDC making Releases of their compiler.
Also documentation mentioned that supported versions of LLVM till 11. However, macOS already has 14. And even LDC supported LLVM 14 (15 and 16 WIP). Does this lib work on newer versions of LLVM?
Can anyone confirm work on M1 macOS?
Beta Was this translation helpful? Give feedback.
All reactions