Commit 5abbea5c authored by David Blyth's avatar David Blyth

Improved GenFit install

parent bef62431
# Author: David Blyth
# Description: Docker build for producing a base for ANL EIC software efforts
FROM dbcooper/arch:2018-02-16
FROM dbcooper/arch:2018-02-23
ARG BUILD_THREADS=5
......@@ -243,7 +243,6 @@ RUN git clone https://github.com/GenFit/GenFit.git $GENFIT_PATH \
&& mkdir build \
&& cd build \
&& cmake \
-DCMAKE_INSTALL_PREFIX=/usr/local \
-DCMAKE_BUILD_TYPE=Release \
../ \
&& make -j $BUILD_THREADS \
......@@ -251,6 +250,9 @@ RUN git clone https://github.com/GenFit/GenFit.git $GENFIT_PATH \
&& cd ../ \
&& rm -rf build
ENV ROOT_INCLUDE_PATH=/usr/include/eigen3:${ROOT_INCLUDE_PATH} \
LD_LIBRARY_PATH=/opt/GenFit/lib:${LD_LIBRARY_PATH}
# Convenience tools
RUN sudo pacman -S --noconfirm \
gdb \
......
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