conda-forge / cuda-nvcc-feedstock

A conda-smithy repository for cuda-nvcc.
BSD 3-Clause "New" or "Revised" License
1 stars 11 forks source link

[WIP] Add cross-compilation #11

Closed jakirkham closed 1 year ago

jakirkham commented 1 year ago

Attempts to configure packages here to allow for cross-compilation.

This is completely untested and still needs more work. There are also some conda-build issues to sort out (though re-rendering seems to mostly work).

The activation script will also need updates. Possibly other changes still remain.


Checklist

conda-forge-webservices[bot] commented 1 year ago

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

jakirkham commented 1 year ago

Looks like there are some ARM package linking issues that need investigation

Edit: Trying to fix in commit ( https://github.com/conda-forge/cuda-nvcc-feedstock/commit/5357ebc7c9dd8502b63bd18c8dd0e027b4e4a18d )

h-vetinari commented 1 year ago

The activation script will also need updates. Possibly other changes still remain.

Suggest to check out https://github.com/conda-forge/nvcc-feedstock/pull/96 for inspiration, e.g. about activation. Cross-compilation will be necessary to migrate arrow to CUDA 12 (though I guess we could drop aarch/ppc initially if absolutely necessary).