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

Improved GenFit install

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