sighingnow / libclang

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

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

Closed d-e-e-p closed 1 year 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 1 year ago

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

sighingnow commented 1 year 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 1 year ago

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