Skip to content

Commit d37d75c

Browse files
committed
minor corrections
1 parent 1b86113 commit d37d75c

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/master-test-workflow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
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

.github/workflows/pr-development-workflow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

include/pytaskr/meson.build

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
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+
)
69
pybind11_dep = dependency('pybind11', required: true)
710

811
py.extension_module('taskr',

0 commit comments

Comments
 (0)