Skip to content
Snippets Groups Projects
Commit 937ed939 authored by Frederik Hennig's avatar Frederik Hennig
Browse files

fix include paths

parent 4370b2bc
No related branches found
No related tags found
1 merge request!445Object-Oriented CPU JIT API and Prototype Implementation
Pipeline #72861 failed
......@@ -44,17 +44,22 @@ class CpuJit(JitBase):
# Include Directories
import pybind11 as pb11
self._pybind11_include = pb11.get_include()
pybind11_include = pb11.get_include()
import sysconfig
self._py_include = sysconfig.get_path("include")
python_include = sysconfig.get_path("include")
from ...include import get_pystencils_include_path
pystencils_include = get_pystencils_include_path()
self._cxx_fixed_flags = [
"-shared",
"-fPIC",
f"-I{self._py_include}",
f"-I{self._pybind11_include}",
f"-I{python_include}",
f"-I{pybind11_include}",
f"-I{pystencils_include}"
]
@property
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment