Skip to content
This repository was archived by the owner on Sep 17, 2020. It is now read-only.
This repository was archived by the owner on Sep 17, 2020. It is now read-only.

wheels with bundled libclang #2

@paleozogt

Description

@paleozogt

Currently the clang whl depends on libclang having been installed on the host system. This can be problematic if the wheel's python api mismatches the system libclang, or if its hard to get libclang installed on the system for some reason.

It would be pretty cool if the clang whl contained libclang, allowing it to be standalone and usable without any other setup.

To that end, I've started on a fork of this project that implements this feature: https://github.com/paleozogt/clang/tree/withlibs

It's integrated with GitLab CI. The latest build is here, with platform-specific whl artifacts here. It builds platform-specifc wheels for:

  • Mac OS X 10.11+ (libclang taken from Homebrew)
  • Windows 32-bit and 64-bit (libclang taken from LLVM installer exes)
  • manylinux1 32-bit and 64-bit (libclang taken from manylinux1 docker images)

It also runs the unit-tests for linux. While gitlab.com doesn't have Windows or Mac shared runners (yet), I have manually tested those wheels.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions