Skip to content
Snippets Groups Projects

Feature ruby24

Merged Jens Henrik Goebbert requested to merge feature_ruby24 into master
1 file
+ 39
5
Compare changes
  • Side-by-side
  • Inline
@@ -28,16 +28,16 @@ RUN yum -y install valgrind \
# install additional compiler (LLVM, GCC)
RUN yum -y install centos-release-scl \
&& yum clean all
# enabled with "scl enable llvm-toolset-7 bash"
RUN yum -y install llvm-toolset-7 \
&& yum clean all
# enabled with "scl enable llvm-toolset-7-clang-tools-extra bash"
RUN yum -y install llvm-toolset-7-clang-tools-extra \
RUN yum -y install llvm-toolset-7 llvm-toolset-7-clang-tools-extra \
&& yum clean all
# enabled with "scl enable devtoolset-7 bash"
RUN yum -y install devtoolset-7-gcc-c++ \
&& yum clean all
# enable with "sc1 enable rh-ruby24 bash"
RUN yum -y install rh-ruby24 rh-ruby24-ruby-devel \
&& yum clean all
# install makedepend
RUN yum -y install makedepend \
&& yum clean all
@@ -65,6 +65,8 @@ RUN yum -y install lcov \
&& yum clean all
RUN pip install gcovr
RUN pip3 install gcovr
RUN pip install anybadge
RUN pip3 install anybadge
# install libX11 development
RUN yum -y install libX11-devel libXext-devel libXtst-devel \
@@ -80,9 +82,17 @@ RUN yum -y install libGLU libGLU-devel \
RUN yum -y install bzip2-devel \
&& yum clean all
# install libxml2 development
RUN yum -y install libxml2-devel \
&& yum clean all
# install 3rd party libs
##########################
# install static web-page generator Jekyll
RUN source scl_source enable rh-ruby24 \
&& gem install jekyll bundler
## install VisIt in /opt/visit
#ARG visit_version_dot=2.11.0
#ARG visit_version_slash=2_11_0
@@ -110,6 +120,30 @@ RUN yum -y install bzip2-devel \
#ENV PATH $VISIT_ROOT/bin:$PATH
#ENV LD_LIBRARY_PATH $VISIT_ROOT/lib:$LD_LIBRARY_PATH
# install MUST in /opt/boost
ARG must_version=1.6-rc1
ARG must_inst=/opt/must
RUN mkdir -p ${must_inst}/source \
&& cd ${must_inst}/source \
&& wget https://doc.itc.rwth-aachen.de/download/attachments/7373495/MUST-v${must_version}.tar.gz \
&& tar --no-same-owner -xzf MUST-v${must_version}.tar.gz \
&& rm MUST-v${must_version}.tar.gz
RUN mkdir -p ${must_inst}/build \
&& cd ${must_inst}/build \
&& source /etc/profile.d/modules.sh \
&& module add mpi/openmpi-x86_64 \
&& CC=$(which gcc) CXX=$(which g++) FC=$(which gfortran) \
&& cmake3 ../source/MUST-v1.6-rc1 \
-DCMAKE_INSTALL_PREFIX=/opt/must \
-DCMAKE_BUILD_TYPE=Release \
&& make install
ENV MUST_ROOT ${must_inst}
ENV MUST_VERSION ${must_version}
ENV PATH $MUST_ROOT/bin:$PATH
ENV LD_LIBRARY_PATH $MUST_ROOT/lib:$LD_LIBRARY_PATH
# install boost in /opt/boost
ARG boost_version_dot=1.67.0
ARG boost_version_slash=1_67_0
Loading