Skip to content
Snippets Groups Projects
Commit 340603a8 authored by calrama's avatar calrama
Browse files

centos-7: centos glm is broken, replace with custom

broken meaning it doesn't install cmake configuration files, so
find_package(glm) does not work
parent 11b444fc
No related branches found
No related tags found
No related merge requests found
......@@ -309,6 +309,19 @@ RUN version=4.14.2 && \
cd .. && \
rm -rf CGAL-${version}*
# glm
RUN version=0.9.9.5 && \
cd /tmp && \
curl -sSLO https://github.com/g-truc/glm/releases/download/${version}/glm-${version}.zip && \
unzip glm-${version}.zip && \
cd glm && \
cmake -S. -B build -G Ninja \
-DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/local \
&& \
ninja -C build install && \
cd .. && \
rm -rf glm*
# SSL access to custom pypiserver
ADD agki-nas01.imp.fu-berlin.de-ca-cert.crt /etc/pki/ca-trust/source/anchors/agki-nas01.imp.fu-berlin.de-ca-cert.crt
RUN update-ca-trust
......@@ -322,6 +335,6 @@ RUN yum install -y \
# Additional development dependencies
RUN yum install -y \
libepoxy-devel \
glm-devel \
&& \
yum clean all
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment