sighingnow / libclang

(Unofficial) Release libclang (clang.cindex) on pypi.
https://pypi.org/project/libclang
Other
81 stars 21 forks source link

recipe to cross-compile libclang for arm64 on macos-latest runner #56

Closed d-e-e-p closed 11 months ago

d-e-e-p commented 1 year ago

tested on x86_64 default github runner to produce an arm64 compatible libclang.dylib cmake with BUILD_SHARED_LIBS=ON builds a libclang.dylib with dependents, so the workaround here is to build .a archives and then assemble them into a single dylib.

see artifacts and log at: https://github.com/d-e-e-p/libclang/actions/runs/5095230952

kunaljaydesai commented 11 months ago

This fixed my issue - what is the process to get this merged and the package to be updated?

sighingnow commented 11 months ago

Merged. Thanks @d-e-e-p.

Will cut a release once CI generates the artifacts. A new release version will be uploaded this weekend.

sighingnow commented 11 months ago

Published to pypi: https://pypi.org/project/libclang/16.0.6/#files