buck2
buck2 copied to clipboard
Apple toolchain not working
Is there any working example using the apple toolchains? I converted a buck project to buck2 but I'm running into the following error when just trying to build a simple apple_library
target:
1: Error looking up configured node none//buck2/platform/toolchain:apple-default (prelude//platforms:default#213ed1b7ab869379) (prelude//platforms:default#213ed1b7ab869379)
(my .buckconfig
aliases fbsource
to none
).
Does the apple toolchain work at all for non-FB developers?
We haven't got the Apple toolchain working for non-FB developers - it points at internal things we haven't yet made available. It's on our todo list, but with no guarantee of when.
CC @milend @chatura-atapattu @blackm00n
@ndmitchell Thanks for the response! Unfortunately buck1 stopped working for me with the release of Xcode 14.3 and I'd definitely love to switch to buck2 as the architecture seems much easier to work with. Let me know if I can help out in any way!
@jboley: As @ndmitchell has said, we haven't yet found the bandwidth to open-source the remaining Apple bits. It's something we care about and it's on our roadmap but we've had higher priority work take precedence.
Unfortunately buck1 stopped working for me with the release of Xcode 14.3
@jboley: It's unfortunate that we stopped pushing Buck1 commits since late last year but it's certainly possible to fix Buck1 to work with Xcode 14.3.
Let me know if I can help out in any way!
Thank you for the offer – the best thing to do for now is to just wait until we open-source the remaining parts. Appreciate the patience.
@milend Hey! Do you have some roadmap or some expectation about releasing the remaining parts of Apple platform code? Looking forward to to see the improvements of Buck2 on iOS development lifecycle. Also, would love to help if needed :)
@milend Hey! Do you have some roadmap or some expectation about releasing the remaining parts of Apple platform code?
This work is currently scheduled to be completed by the end of 2023 – although no promises, this depends on internal priorities etc.
Also, would love to help if needed :)
Thank you for the kind offer, really appreciate it! If we need some help, I'll definitely reach out on this thread.
@milend , is there a roadmap with milestones for closing the gaps between internal and open-sourced versions of buck2? Having a matrix containing a list of platforms that are currently fully supported and a list of platforms (ios, java, android) that are planned to be supported would be super helpful. cc @ndmitchell
@milend , is there a roadmap with milestones for closing the gaps between internal and open-sourced versions of buck2?
There's no public roadmap that we can share. We cannot commit to any specific timelines as prioritisation depends on lots of internal constraints.
Having said that, we're open sourcing more of the Apple bits every single week, so we're making progress towards having things working end-to-end.
Having a matrix containing a list of platforms that are currently fully supported and a list of platforms (ios, java, android) that are planned to be supported would be super helpful. cc @ndmitchell
I can only speak for Apple platforms - those are 100% planned to be supported and fully open-source, it's just a question of time as we open up all the pieces.
We plan to support everything on that list, and basically everything in the prelude that has rules for should eventually work both internally and open source.