From 5c17da18035d02f7f324aed36226c9d20251b691 Mon Sep 17 00:00:00 2001 From: Faruk D Date: Tue, 2 Oct 2018 01:45:42 +0200 Subject: [PATCH] fix cmake arguments --- build-tests/compile_sagecal.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/build-tests/compile_sagecal.sh b/build-tests/compile_sagecal.sh index a082996..cb89254 100755 --- a/build-tests/compile_sagecal.sh +++ b/build-tests/compile_sagecal.sh @@ -16,10 +16,12 @@ OPTS='' case $IMAGE in ubuntu) + echo 'Building for Ubuntu' CMAKE_EXE=$(which cmake) OPTS='' ;; sl7) + echo 'Building for Scientific Linux' CMAKE_EXE=$(which cmake3) OPTS='-DUSE_FFTW3=ON \ -DCMAKE_INSTALL_PREFIX=/opt/casacore \ @@ -51,8 +53,7 @@ echo 'ls -asl /travis/workdir/$BUILD_DIR: ' ls -asl /travis/workdir/$BUILD_DIR -$CMAKE_EXE /travis/workdir -DCMAKE_INSTALL_PREFIX=/opt/sagecal \ - $OPTS +$CMAKE_EXE /travis/workdir -DCMAKE_INSTALL_PREFIX=/opt/sagecal $OPTS make -j4 && \ make install && \