Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 1ba3d88a authored by PRUVOST Florent's avatar PRUVOST Florent Committed by ci
Browse files

Tag everything we install

parent c728b45c
No related branches found
No related tags found
No related merge requests found
Pipeline #799222 passed
......@@ -72,6 +72,7 @@ RUN mkdir -p /home/gitlab/install
RUN cd $HOME && \
git clone https://github.com/ecrc/quark && \
cd quark/ && \
git checkout db4aef9a66a00487d849cf8591927dcebe18ef2f && \
sed -i -e "s#prefix=.*#prefix=/home/gitlab/install/quark#g" make.inc && \
sed -i -e "s#CFLAGS=.*#CFLAGS= -g -O2 -DADD_ -fPIC#g" make.inc && \
make && \
......@@ -85,6 +86,7 @@ RUN cd $HOME && \
git clone https://bitbucket.org/mfaverge/parsec.git && \
cd parsec && \
git checkout mymaster && \
git checkout 6022a61dc96c25f11dd2aeabff2a5b3d7bce867d && \
git submodule update && \
mkdir -p build-shm && \
cd build-shm && \
......@@ -115,7 +117,7 @@ RUN cd $HOME && \
ENV SIMGRID_DIR=/home/gitlab/install/simgrid
ENV PKG_CONFIG_PATH=$SIMGRID_DIR/lib/pkgconfig:$PKG_CONFIG_PATH
# Install StarPU
# Install StarPU 1.3
RUN cd $HOME && \
wget https://files.inria.fr/starpu/starpu-1.3.10/starpu-1.3.10.tar.gz && \
tar xvzf starpu-1.3.10.tar.gz && \
......@@ -132,7 +134,7 @@ RUN cd $HOME && \
ENV STARPU_DIR=/home/gitlab/install/starpu
ENV PKG_CONFIG_PATH=$STARPU_DIR/lib/pkgconfig:$PKG_CONFIG_PATH
# Install StarPU (master) with HIP
# Install StarPU 1.4 with HIP
ENV LD_LIBRARY_PATH=/opt/rocm/lib
ENV HIPCCFLAGS="-fPIC"
RUN cd $HOME && \
......@@ -141,12 +143,12 @@ RUN cd $HOME && \
cd starpu-1.4.0/ && \
./configure --prefix=/home/gitlab/install/starpu-hip --enable-debug --disable-cuda --enable-hip && \
make -j5 install && \
cd $HOME && rm starpu-1.4.0/ -rf
cd $HOME && rm starpu-1.4.0/ -rf && rm starpu-1.4.0.tar.gz
# Install Starpu (master) with HIP+CUDA
# Install Starpu 1.4 with HIP+CUDA
ENV HIPCUDA_DIR=/home/gitlab/hipcuda
ENV HIP_PLATFORM=nvidia
ENV ROCM_BRANCH=rocm-5.4.x
ENV ROCM_BRANCH=rocm-5.5.0
ENV PATH=$HIPCUDA_DIR/bin:$PATH
ENV LD_LIBRARY_PATH=$HIPCUDA_DIR/lib
RUN mkdir $HIPCUDA_DIR && \
......@@ -169,7 +171,7 @@ RUN cd $HOME && \
cd starpu-1.4.0/ && \
./configure --prefix=/home/gitlab/install/starpu-hipcuda --enable-debug --disable-cuda --enable-hip --with-hipblas=$HIPCUDA_DIR && \
make -j5 install && \
cd $HOME && rm starpu/ -rf
cd $HOME && rm starpu-1.4.0/ -rf && rm starpu-1.4.0.tar.gz
ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
ENV LD_LIBRARY_PATH=""
ENV HIP_PLATFORM=""
......@@ -178,6 +180,7 @@ ENV HIP_PLATFORM=""
RUN cd $HOME && \
git clone --recursive https://gitlab.inria.fr/solverstack/chameleon.git && \
cd chameleon/ && \
git checkout 0d7356bb08b24cd6dd9046076b6ce6e5286f353b && \
source ./.gitlab-ci-env.sh && \
mkdir build && \
cd build && \
......@@ -193,6 +196,7 @@ ENV PKG_CONFIG_PATH=$CHAMELEON_DIR/lib/pkgconfig:$PKG_CONFIG_PATH
RUN cd $HOME && \
git clone --recursive https://gitlab.inria.fr/solverstack/hqr.git && \
cd hqr/ && \
git checkout 9acae6d7001f97c47ad2cc2e559f3080ade6b788 && \
mkdir build && \
cd build && \
cmake .. -DCMAKE_INSTALL_PREFIX=/home/gitlab/install/hqr -DCMAKE_BUILD_TYPE=Debug -DBUILD_SHARED_LIBS=ON && \
......@@ -205,8 +209,9 @@ ENV PKG_CONFIG_PATH=$HQR_DIR/lib/pkgconfig:$PKG_CONFIG_PATH
# Install Fabulous
RUN cd $HOME && \
git clone --recursive -b develop https://gitlab.inria.fr/solverstack/fabulous.git && \
git clone --recursive https://gitlab.inria.fr/solverstack/fabulous.git && \
cd fabulous/ && \
git checkout 5b976edab6981cfa95d422960197ca2faaacf256 && \
mkdir build && \
cd build && \
cmake .. -DCMAKE_INSTALL_PREFIX=/home/gitlab/install/fabulous -DCMAKE_BUILD_TYPE=Debug -DBUILD_SHARED_LIBS=ON -DFABULOUS_BUILD_C_API=ON -DFABULOUS_BUILD_Fortran_API=ON && \
......@@ -221,6 +226,7 @@ ENV PKG_CONFIG_PATH=$FABULOUS_DIR/lib/pkgconfig:$PKG_CONFIG_PATH
RUN cd $HOME && \
git clone --recursive https://gitlab.inria.fr/solverstack/spm.git && \
cd spm/ && \
git checkout 2ba385c1fe61d30af5105de2b9d3c6704e1a0a3d && \
mkdir build && \
cd build && \
cmake .. -DCMAKE_INSTALL_PREFIX=/home/gitlab/install/spm -DCMAKE_BUILD_TYPE=Debug -DBUILD_SHARED_LIBS=ON -DSPM_INT64=OFF && \
......@@ -235,6 +241,7 @@ ENV PKG_CONFIG_PATH=$SPM_DIR/lib/pkgconfig:$PKG_CONFIG_PATH
RUN cd $HOME && \
git clone --recursive https://gitlab.inria.fr/solverstack/pastix.git && \
cd pastix/ && \
git checkout f174a885ee0bbde5074aaf08e555e7bb512519b1 && \
mkdir build && \
cd build && \
PARSEC_DIR=/home/gitlab/install/parsec-shm && \
......@@ -261,3 +268,4 @@ ENV FABULOUS_DIR=/home/gitlab/install/fabulous
ENV SPM_DIR=/home/gitlab/install/spm
ENV PASTIX_DIR=/home/gitlab/install/pastix
WORKDIR /builds
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment