Skip to content

Commit

Permalink
Fixed building HOL manuals with PolyML (and not in --otknl)
Browse files Browse the repository at this point in the history
  • Loading branch information
binghe authored and mn200 committed May 3, 2024
1 parent 27e4453 commit 4387c34
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions developers/docker-ci/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,12 @@ RUN ${SML} < tools/smart-configure.sml
RUN bin/build ${BUILDOPTS}

# Building HOL manuals when PolyML is used
RUN if [ "poly" == "${SML}"] ; then \
cd Manual && ../bin/Holmake -j2; \
RUN if [ "poly" = "${SML}" ]; then \
if echo ${BUILDOPTS} | grep -q "otknl"; then \
echo Skip manual building; \
else \
cd Manual; ../bin/Holmake -j2; \
fi \
fi

# This can be overrided by "docker run <command>"
Expand Down

0 comments on commit 4387c34

Please sign in to comment.