Commit d49aa8ae authored by CHAMONT David's avatar CHAMONT David
Browse files

try to get back last summer environment

parent f4e9c716
......@@ -99,12 +99,22 @@ Building them require to build Boost.SIMD first.
* googletest 1.8.0
* R
#### Build
#### Build within the Docker image
For what concerns the external dependencies, if you have Docker installed
or what concerns the external dependencies, if you have Docker installed
on your machine, you can move the main Fast5x5 directory and type
`docker/run.sh`.
```bash
cd /path/to/Fast5x5/
docker/run.sh
mkdir build && cd build
cmake -D CMAKE_PREFIX_PATH=/opt/boost.simd/build/ ..
make
```
#### Build without Docker
```bash
cd /path/to/Fast5x5/
mkdir build && cd build
......
# This image is used to pack the needed externals for Fast5x5
FROM gcc:7.2
FROM gcc:6.2
# Ensure use of bash
SHELL ["/bin/bash","-c"]
......@@ -29,7 +29,9 @@ RUN export BOOST_VERSION="1.62.0" && export BOOST_VERSION_=${BOOST_VERSION//./_}
ENV BOOST_ROOT /opt/boost
# bSIMD
RUN git clone https://github.com/NumScale/boost.simd.git -b master /opt/boost.simd
#RUN git clone https://github.com/NumScale/boost.simd.git -b master /opt/boost.simd
COPY boost.simd /opt/boost.simd
RUN cd /opt/boost.simd && mkdir -p build && cd build && cmake ..
ENV BOOST_SIMD_ROOT /opt/boost.simd
# Use of BOOST and BOOST.SIMD
......
#!/bin/bash
tar xvfz boost.simd.tar.xz
docker build -t gitlab-registry.in2p3.fr/chamont/fast5x5 .
docker push gitlab-registry.in2p3.fr/chamont/fast5x5
rm -rf boot.simd
file(GLOB SRCS *.cpp)
enable_testing()
......
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