Skip to content
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

iamf-tools cross building #16

Open
yilun-zhangs opened this issue Dec 10, 2024 · 2 comments
Open

iamf-tools cross building #16

yilun-zhangs opened this issue Dec 10, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@yilun-zhangs
Copy link

@jwcullen
iamf-tools is compiled via bazel, could it support cross building with specified toolchain?
e.g. compile iamf-tool with mingw toolchain, generate windows target under ubuntu.

Thanks.

@jwcullen jwcullen added the enhancement New feature or request label Dec 12, 2024
@jwcullen
Copy link
Collaborator

jwcullen commented Dec 12, 2024

I see. I think it makes sense. Not sure when we can do it.

Bazel does support cross-compiling (see platforms). Maybe trying with --platforms or the legacy --crosstool_top flags it could be configured to do that type of build.

I'm not sure exactly what needs to change to make it work, but if you get something working we would accept a PR.

@nullr0ute
Copy link

Given libiamf uses CMake does it make sense to also use CMake for iamf-tools too as it supported cross compiling well and it would make for a consistent user experience.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants