Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 1.7 KB

README.md

File metadata and controls

35 lines (24 loc) · 1.7 KB

Clang Build Extension

Gitter Build Status Coverage Status

Clang Build Ext Version Clang Build Ext Python Versions

Clang Build Ext Downloads Per Day Clang Build Ext Downloads Per Week Clang Build Ext Downloads Per Month

The clang-build-ext extension builds Python extensions using a Clang compiler stack. Either system LLVM/Clang or karellen-llvm-clang package can be used.

Beyond compiler the additional functionality is currently undocumented.

How to Use

Add the following to the setup.py script:

from setuptools import setup
from karellen.clang_build_ext import ClangBuildExt, ClangBuildClib

...

setup(
..., 
cmdclass={"build_ext": ClangBuildExt,
          "build_clib": ClangBuildClib},)
)