File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4545 cd extern/pybind11
4646 mkdir -p build
4747 cd build
48- cmake ..
48+ cmake .. -DPython_EXECUTABLE=/usr/bin/python3
4949 make check -j"$(nproc)"
5050
5151 mkdir -p mock_install/share/pkgconfig
Original file line number Diff line number Diff line change @@ -275,7 +275,7 @@ jobs:
275275 cd extern/pybind11
276276 mkdir -p build
277277 cd build
278- cmake ..
278+ cmake .. -DPython_EXECUTABLE=/usr/bin/python3
279279 make check -j"$(nproc)"
280280
281281 mkdir -p mock_install/share/pkgconfig
Original file line number Diff line number Diff line change 22# Manually compile like this:
33# c++ -O3 -Wall -shared -std=c++11 -fPIC $(python3-config --includes) -Iextern/pybind11/include example.cpp -o example$(python3-config --extension-suffix)
44
5- py = import (' python' ).find_installation(pure : false )
5+ py = import (' python' ).find_installation(
6+ python_executable : ' /usr/bin/python3' ,
7+ pure : false
8+ )
69pybind11_dep = dependency (' pybind11' , required : true )
710
811py.extension_module(' taskr' ,
You can’t perform that action at this time.
0 commit comments