Commit 9646a31b authored by LAMBERT Jean-charles's avatar LAMBERT Jean-charles Committed by LAMBERT Jean-charles
Browse files

fix centos8

parent c20b528b
......@@ -95,7 +95,7 @@ centos7 :
image: portus.lam.fr/jclamber/glnemo2/centos7
only :
variables:
- $ONEBUILD == "1"
- $BUILD == "1"
script:
# build
- CI/scripts/build.sh
......
......@@ -5,7 +5,7 @@ rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8 &&\
yum -y install dnf-plugins-core &&\
yum config-manager --set-enabled PowerTools &&\
yum -y update &&\
yum -y install qt5-qtbase-devel.x86_64 wget make gcc-c++ git cfitsio-devel mesa-libGLU-devel.x86_64 zlib-devel libidn libtirpc-devel glm-devel hdf5-devel &&\
yum -y install qt5-qtbase-devel.x86_64 wget make gcc-c++ git cfitsio-devel mesa-libGLU-devel.x86_64 zlib-devel libidn libtirpc-devel rpm-build glm-devel hdf5-devel &&\
wget http://heasarc.gsfc.nasa.gov/fitsio/ccfits/CCfits-2.4.tar.gz && tar zxvf CCfits-2.4.tar.gz && chown -R root:root CCfits && cd CCfits && ./configure --enable-static=yes --enable-shared=no --with-cfitsio-include=/usr/include/cfitsio && make && make install && cd .. && rm -rf CCfits CCfits-2.4.tar.gz &&\
wget https://cmake.org/files/v3.2/cmake-3.2.3-Linux-x86_64.sh && chmod +x cmake-3.2.3-Linux-x86_64.sh && ./cmake-3.2.3-Linux-x86_64.sh --prefix=/usr/local --skip-license && rm -f cmake-3.2.3-Linux-x86_64.sh
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment