mirror of
https://github.com/wassname/ray.git
synced 2026-07-03 06:36:36 +08:00
Move common C extension module into a different C file. (#35)
* Move common C extension module into a different C file so that the actual definitions can be more easily included in other C extensions. * Rename common_extension_module -> common_module.
This commit is contained in:
committed by
Philipp Moritz
parent
90a6a99b03
commit
7be1a93d64
+1
-1
@@ -1,7 +1,7 @@
|
||||
from setuptools import setup, find_packages, Extension
|
||||
|
||||
common_module = Extension("common",
|
||||
sources=["common_extension.c"],
|
||||
sources=["common_module.c", "common_extension.c"],
|
||||
include_dirs=["../../", "../../thirdparty"],
|
||||
extra_objects=["../../build/libcommon.a"],
|
||||
extra_compile_args=["--std=c99", "-Werror"])
|
||||
|
||||
Reference in New Issue
Block a user