-
Notifications
You must be signed in to change notification settings - Fork 234
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
At present we only learn if mac builds fail when we run the bb-publish workflow. Ultimately it would be nice to build bb for mac as part of the rest of our build workflow. We can do this with cross-compilation from linux to mac. Developers should read and be aware of [Apples License](https://www.apple.com/legal/sla/docs/xcode.pdf) terms before using this functionality. - Added support for Apple arm64 and amd64 cross-compilation to CmakePresets. `darwin-arm64` and `darwin-amd64`. - Updated `serialize.hpp` so we can still build on Apple. (it's a kludge, we shouldn't be serializing `size_t`). - Updated `build-image` to include osxcross. - `osxcross` and `foundry` are both published so they shouldn't need to be rebuilt. However this does mean if they need updating we have a manual process to follow e.g. `make foundry` on both an x86 and arm machine. - Add new target to bb Earthfile that can cross-compile `bb`.
- Loading branch information
1 parent
ef2589a
commit 6cc924d
Showing
5 changed files
with
142 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters