-
Notifications
You must be signed in to change notification settings - Fork 200
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #679 from lyndonhenry/master
New MPI execution engine for -e option.
- Loading branch information
Showing
55 changed files
with
2,138 additions
and
1,513 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,3 +43,6 @@ cmake-build-debug/ | |
*.deb | ||
#macosx | ||
.DS_Store | ||
|
||
stamp-h1 | ||
/CMakeLists.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
ARG SOUFFLE_DOCKER_BASE_IMAGE | ||
|
||
FROM ${SOUFFLE_DOCKER_BASE_IMAGE} | ||
|
||
ARG CC | ||
ARG CXX | ||
|
||
ARG SOUFFLE_CATEGORY | ||
ARG SOUFFLE_CONFS | ||
ARG SOUFFLE_CONFIGURE_OPTIONS | ||
ARG SOUFFLE_MAKE_JOBS | ||
|
||
ENV CC="${CC}" | ||
ENV CXX="${CXX}" | ||
|
||
ENV SOUFFLE_CATEGORY="${SOUFFLE_CATEGORY}" | ||
ENV SOUFFLE_CONFS="${SOUFFLE_CONFS}" | ||
ENV SOUFFLE_CONFIGURE_OPTIONS="${SOUFFLE_CONFIGURE_OPTIONS}" | ||
ENV SOUFFLE_MAKE_JOBS="${SOUFFLE_MAKE_JOBS}" | ||
|
||
COPY . /home/souffle/souffle | ||
|
||
WORKDIR /home/souffle/souffle | ||
|
||
USER root | ||
|
||
RUN chown -R souffle . | ||
|
||
USER souffle | ||
|
||
RUN ./bootstrap | ||
RUN ./configure ${SOUFFLE_CONFIGURE_OPTIONS} | ||
RUN make -j${SOUFFLE_MAKE_JOBS} | ||
|
||
ENTRYPOINT ["./.travis/run_docker.sh", "souffle"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
#!/bin/bash | ||
|
||
set -ouex pipefail | ||
|
||
if [ $# == 0 ] | ||
then | ||
SOUFFLE_DOCKER_TAG="$(echo ${SOUFFLE_DOCKER_BASE_IMAGE} | sed 's/-base/-test/g')" | ||
docker build \ | ||
--tag ${SOUFFLE_DOCKER_TAG} \ | ||
--file .travis/Dockerfile \ | ||
--build-arg CC="${CC}" \ | ||
--build-arg CXX="${CXX}" \ | ||
--build-arg SOUFFLE_CATEGORY="${SOUFFLE_CATEGORY}" \ | ||
--build-arg SOUFFLE_CONFS="${SOUFFLE_CONFS}" \ | ||
--build-arg SOUFFLE_CONFIGURE_OPTIONS="${SOUFFLE_CONFIGURE_OPTIONS}" \ | ||
--build-arg SOUFFLE_DOCKER_BASE_IMAGE="${SOUFFLE_DOCKER_BASE_IMAGE}" \ | ||
--build-arg SOUFFLE_MAKE_JOBS="${SOUFFLE_MAKE_JOBS}" \ | ||
. | ||
docker run \ | ||
--interactive \ | ||
--tty \ | ||
${SOUFFLE_DOCKER_TAG} | ||
else | ||
ulimit -c unlimited -S | ||
if [[ "${SOUFFLE_CATEGORY}" != *"Unit"* ]] | ||
then | ||
cd tests | ||
fi | ||
TESTSUITEFLAGS="-j${SOUFFLE_MAKE_JOBS}" make check -j${SOUFFLE_MAKE_JOBS} | ||
fi |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.