Skip to content

Building with heremetic_toolchain_cc #6287

@ananay-22

Description

@ananay-22

MediaPipe Solution (you are using)

All

Programming language

All

Are you willing to contribute it

Yes

Describe the feature and the current behaviour/state

Currently it seems like you have to build mediapipe on different machines based on what you want to support (apple vs windows vs linux). I setup a new project pulling mediapipe and have tried to get remote builds working which lets me build all platforms from one command line - which does work but my apple nodes are the weakest in my RBE configuration and unfortunately I do have to build quite a bit of the framework on macos a second time along with linux so that my tools work with the macos platform. I was wondering if we can migrate off to rules_heremetic_cc so that their underlying zig compiler can build a huge chunk of the macos codebase on a powerful central linux worker (and the same for windows) and then do platform specific things like codesigning on the macos and windows workers.

Will this change the current API? How?

It will not change the api

Who will benefit with this feature?

anyone who wants to build out multiple platforms simultaneously and/or anyone looking to use remote builds on multiple platforms

Please specify the use cases for this feature

Easier remote builds down the line

Any Other info

I'm a bit new to do this and have been trying to setup remote builds as an independant project - not sure if I have tunnel vision or am missing something that makes this feature request impossible. I think the big reason is that it is a compiler change and could lead to build output behaviour changes - so thorough testing would need to happen

Metadata

Metadata

Assignees

Labels

type:featureEnhancement in the New Functionality or Request for a New Solution

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions