Skip to content
Snippets Groups Projects
Commit 37693e9c authored by calrama's avatar calrama
Browse files

Test

parent 491b3f09
No related branches found
No related tags found
No related merge requests found
Pipeline #62008 failed
......@@ -353,25 +353,10 @@ RUN version=1.6.0 && \
rm /opt/mxnet-1.6.0-manual-cuda-arch-flags.patch && \
ninja -C build
# 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}*
# pylon (Basler cameras)
ARG pylon_VERSION=5.2.0.13457
RUN cd /tmp && \
curl -sSLO https://www.baslerweb.com/fp-1551786516/media/downloads/software/pylon_software/pylon-${pylon_VERSION}-x86_64.tar.gz && \
curl -sSLO https://www2.baslerweb.com/media/downloads/software/pylon_software/pylon-${pylon_VERSION}-x86_64.tar.gz && \
tar -xf pylon-${pylon_VERSION}-x86_64.tar.gz && \
cd pylon-${pylon_VERSION}-x86_64 && \
tar -xf pylonSDK-${pylon_VERSION}-x86_64.tar.gz && \
......@@ -380,6 +365,9 @@ RUN cd /tmp && \
rm -rf pylon-${pylon_VERSION}*
ADD bash/pylon.sh /etc/profile.d/pylon.sh
# Remove non-vault yum repos
RUN rm /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-SCLo-scl.repo /etc/yum.repos.d/CentOS-SCLo-scl-rh.repo
# CGAL
ARG CGAL_VERSION=5.2
RUN yum install -y \
......@@ -468,6 +456,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 && \
......@@ -608,9 +611,6 @@ RUN python3.12 -m pip --no-cache-dir install -U pip && \
h5py \
deprecation
# Remove non-vault yum repos
RUN rm /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-SCLo-scl.repo /etc/yum.repos.d/CentOS-SCLo-scl-rh.repo
# Additional development dependencies
RUN yum install -y \
patchelf \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment