From 4a863897ce023eb0f83f1b2043b8f1de2c9a6536 Mon Sep 17 00:00:00 2001 From: Moritz Maxeiner <mm@ucw.sh> Date: Thu, 5 Sep 2024 18:07:00 +0200 Subject: [PATCH] Test --- centos/Dockerfile | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/centos/Dockerfile b/centos/Dockerfile index bbc8a5b..3c9225b 100644 --- a/centos/Dockerfile +++ b/centos/Dockerfile @@ -354,7 +354,7 @@ RUN version=1.6.0 && \ ninja -C build # pybind11 -ARG pybind11_VERSION=2.13.5 +ARG pybind11_VERSION=2.7.1 RUN source /etc/profile && \ cd /tmp && \ curl -sSL -o pybind11-${pybind11_VERSION}.tar.gz https://github.com/pybind/pybind11/archive/v${pybind11_VERSION}.tar.gz && \ @@ -468,6 +468,21 @@ RUN version=3.8.19 && \ rm -rf Python-${version}* && \ ldconfig +# pybind11 +ARG pybind11_VERSION=2.13.5 +RUN source /etc/profile && \ + cd /tmp && \ + curl -sSL -o pybind11-${pybind11_VERSION}.tar.gz https://github.com/pybind/pybind11/archive/v${pybind11_VERSION}.tar.gz && \ + tar -xf pybind11-${pybind11_VERSION}.tar.gz && \ + cd pybind11-${pybind11_VERSION} && \ + cmake -S. -B build -G Ninja \ + -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/local \ + -DPYBIND11_TEST=off \ + && \ + ninja -C build install && \ + cd .. && \ + rm -rf pybind11-${pybind11_VERSION}* + # Python 3.9 RUN version=3.9.19 && \ source /etc/profile && \ -- GitLab