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

ARM pyflamegpu binary wheels (Cross-compilation) #1174

Open
ptheywood opened this issue Jan 16, 2024 · 0 comments
Open

ARM pyflamegpu binary wheels (Cross-compilation) #1174

ptheywood opened this issue Jan 16, 2024 · 0 comments
Labels

Comments

@ptheywood
Copy link
Member

Grace-Hopper and Jetson systems have an ARM host, rather than x86-64.

Github actions does not provide ARM runners, so cross compilation would be the best option for generating binary wheels for ARM with our current CI setup.

We know that current (v2.0.0-rc.1) FLAME GPU 2 can be built nativley and executed on ARM (both jetson and grace-hoppper), but have not previously attempted cross-compilation.

CMake does support corss compialtion via Tollchain files, but we would likely also have to change use of find_library/find_file/find_path. We may also need to make CMake changes based on CMAKE_HOST_SYSTEM env vars etc.

Only supporting Linux->linux cross compilation would make life much simpler.

https://cmake.org/cmake/help/book/mastering-cmake/chapter/Cross%20Compiling%20With%20CMake.html

CMAKE_CROSSCOMPILING will almost certainly be relevant.

This will have some overlap with changes required for #1131 (conda-forge uses cross compilation by default, but we overrode relevant settings somewhere to make our find_package etc behave propperly in a non-cross compilation case.

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

No branches or pull requests

1 participant