From 74690b48b23dc96ff592559f64ff3fb1613da335 Mon Sep 17 00:00:00 2001 From: Corentin Le Molgat Date: Wed, 25 Oct 2023 10:09:19 +0200 Subject: [PATCH] cmake(ci): fix pybind11_protobuf missing in system_deps targets --- cmake/docker/system_deps/python.Dockerfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/cmake/docker/system_deps/python.Dockerfile b/cmake/docker/system_deps/python.Dockerfile index b250329725..ee8f4d5904 100644 --- a/cmake/docker/system_deps/python.Dockerfile +++ b/cmake/docker/system_deps/python.Dockerfile @@ -3,15 +3,18 @@ ENV PATH=/root/.local/bin:$PATH RUN pacman -Syu --noconfirm pybind11 RUN pacman -Syu --noconfirm python \ python-setuptools python-wheel python-virtualenv \ - python-pip python-protobuf -RUN python -m pip install mypy_protobuf + python-pip python-protobuf python-numpy python-pandas +RUN python -m pip install --break-system-package \ + absl-py mypy mypy-protobuf FROM env AS devel WORKDIR /home/project COPY . . FROM devel AS build +# Archlinux do not provide pybind11 protobuf package RUN cmake -S. -Bbuild -DBUILD_DEPS=OFF \ + -DBUILD_pybind11_protobuf=ON \ -DUSE_COINOR=ON -DUSE_GLPK=ON -DUSE_SCIP=ON \ -DBUILD_PYTHON=ON \ -DBUILD_CXX_SAMPLES=OFF -DBUILD_CXX_EXAMPLES=OFF