-
-
Notifications
You must be signed in to change notification settings - Fork 605
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[REQUEST] Add LLVM support #490
Comments
I think you saw my previous PR which was a bit hasty. I've read your opinion on adding another build system to the mix. I'm pretty sure I've read in those comments that you want to wait for better This is just for llvm support and I don't care a lot what build system is used, however as you saw in my other PR I used cmake to do prepare this. The build file is here for @jan-guenter and maybe you to have a look at. It doesn't check if a flag is supported but it adds flags based on the compiler in use with generator expressions. Neat feature. ;) |
Yeah sure, go for it. 👍🏼
I'm not sure I necessarily agree with this though, as far as I know only |
You're right, specifically it's just the |
I've encountered two problems today on another machine:
I won't open a PR until I figured that out unless you want something like a work in progress PR. |
@stwnt |
Due to missing implementations in llvm
btop
didn't support llvm based compilation for some time.It's now more or less possible to compile
btop
, with some tricks, with llvm and clang. I myself got a few llvm/musl system and I'd like to usebtop
on them aswell without a dependecy on gcc.Ad support for llvm base compilation in the makefile.
When llvm's
<ranges>
implementation is complete we should rollback some workarounds.Notes:
We need to use libc++ because clang cannot compile
libstdc++'s
<ranges>
because it relies on concept which are not yet ready in clang.We need to enable libc++'s experimental features for
<ranges>
to work properly.We need to edit some flags passed to the compiler which are not known by clang.
If this gets accepted I can open a PR.
The text was updated successfully, but these errors were encountered: