From 435f893abbc6ffae85a1e6fd688a3e8b4b23662d Mon Sep 17 00:00:00 2001
From: Jorrit Schaap <schaap@astron.nl>
Date: Tue, 8 Aug 2023 12:04:19 +0200
Subject: [PATCH] replicating old jenkings build env with casacore 2.1.0 and
 blitz staticaly linked

---
 Docker/lofar-ci/Dockerfile_ci_mac | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Docker/lofar-ci/Dockerfile_ci_mac b/Docker/lofar-ci/Dockerfile_ci_mac
index 767b3a4c3bf..367340fda60 100644
--- a/Docker/lofar-ci/Dockerfile_ci_mac
+++ b/Docker/lofar-ci/Dockerfile_ci_mac
@@ -33,7 +33,7 @@ USER lofarsys
 
 RUN echo "Installing Casacore..." && \
     mkdir -p /opt/3rdparty_sources/ && cd /opt/3rdparty_sources/ && \
-    git clone --branch v3.2.0 https://github.com/casacore/casacore.git casacore && \
+    git clone --branch v2.1.0 https://github.com/casacore/casacore.git casacore && \
     mkdir casacore/build/ && cd casacore/build/ && \
     cmake -DCMAKE_INSTALL_PREFIX=/opt/casacore -DBUILD_PYTHON3=ON -DBUILD_PYTHON=OFF -DPYTHON_EXECUTABLE=/usr/bin/python3 -DUSE_OPENMP=ON -DUSE_FFTW3=TRUE -DUSE_HDF5=ON -DCMAKE_BUILD_TYPE=Release .. && \
     make -j 8 && \
@@ -43,7 +43,7 @@ RUN echo "Installing Blitz++" && \
     mkdir -p /opt/3rdparty_sources/ && cd /opt/3rdparty_sources/ && \
     git clone --depth 1 https://github.com/blitzpp/blitz.git blitz && \
     cd blitz && mkdir -p build && cd build && \
-    cmake3 -DCMAKE_INSTALL_PREFIX=/opt/blitz/ .. && \
+    cmake3 -DCMAKE_INSTALL_PREFIX=/opt/blitz/ -DBUILD_SHARED_LIBS=OFF .. && \
     make -j 8 lib && \
     make install
 
-- 
GitLab