File tree Expand file tree Collapse file tree 3 files changed +30
-0
lines changed
Expand file tree Collapse file tree 3 files changed +30
-0
lines changed Original file line number Diff line number Diff line change 4242
4343 - name : Build Pybind11
4444 run : |
45+ sudo apt-get update
46+ sudo apt-get install -y python3-pytest
47+
4548 /usr/bin/python3 -m pip install --upgrade pip pytest
4649
4750 cd extern/pybind11
Original file line number Diff line number Diff line change @@ -272,6 +272,9 @@ jobs:
272272
273273 - name : Build Pybind11
274274 run : |
275+ sudo apt-get update
276+ sudo apt-get install -y python3-pytest
277+
275278 /usr/bin/python3 -m pip install --upgrade pip pytest
276279
277280 cd extern/pybind11
Original file line number Diff line number Diff line change 77 - x86
88 - infiniband
99 script :
10+ # Build Pybind11
11+ - sudo apt-get update
12+ - sudo apt-get install -y python3-pytest
13+ - /usr/bin/python3 -m pip install --upgrade pip pytest
14+ - cd extern/pybind11
15+ - mkdir -p build
16+ - cd build
17+ - cmake .. -DPython_EXECUTABLE=/usr/bin/python3
18+ - make check -j"$(nproc)"
19+ - mkdir -p mock_install/share/pkgconfig
20+ - |
21+ cat <<EOF > mock_install/share/pkgconfig/pybind11.pc
22+ prefix=$(pwd)/..
23+ includedir=\${prefix}/include
24+
25+ Name: pybind11
26+ Description: Seamless operability between C++11 and Python
27+ Version: 2.13.6
28+ Cflags: -I\${includedir}
29+ EOF
30+ - export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$(pwd)/mock_install/share/pkgconfig"
31+
32+ # TaskR build process
33+ - cd ../../../..
1034 - export HOME=/home/hicr
1135 - source /home/hicr/.hicr-env.sh
1236 - echo "Building TaskR..."
You can’t perform that action at this time.
0 commit comments