Skip to content

Commit

Permalink
Fixed docker logic.
Browse files Browse the repository at this point in the history
  • Loading branch information
tuxfan committed Apr 4, 2018
1 parent 8424dfa commit 5692890
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
4 changes: 4 additions & 0 deletions config/project.cmake
Expand Up @@ -194,6 +194,10 @@ if(ENABLE_OPENSSL)
endif()
endif()

if(ENABLE_CALIPER)
list(APPEND FLECSI_LIBRARY_DEPENDENCIES ${Caliper_LIBRARIES})
endif()

#------------------------------------------------------------------------------#
# Runtime models
#------------------------------------------------------------------------------#
Expand Down
9 changes: 2 additions & 7 deletions docker/Dockerfile
Expand Up @@ -35,19 +35,14 @@ USER flecsi
WORKDIR /home/flecsi/flecsi
RUN mkdir build

RUN if [ "$RUNTIME" == "hpx" ]; then \
export ENABLE_TUTORIAL=OFF; \
else \
export ENABLE_TUTORIAL=ON; \
fi

WORKDIR build
RUN ccache -z
RUN cmake \
-DENABLE_LEGION=$LEGION \
-DFLECSI_RUNTIME_MODEL=$RUNTIME \
${MINIMAL:+-DCMAKE_DISABLE_FIND_PACKAGE_METIS=ON} \
-DFLECSI_ENABLE_TUTORIAL=$ENABLE_TUTORIAL \
-DFLECSI_ENABLE_TUTORIAL=$([ "$RUNTIME" = "hpx" ] && \
echo OFF || echo ON) \
-DENABLE_UNIT_TESTS=ON \
-DENABLE_PARMETIS=ON \
-DENABLE_COLORING=ON \
Expand Down

0 comments on commit 5692890

Please sign in to comment.