Skip to content

Commit 6c76592

Browse files
committed
docker SEAL HE fixes
1 parent 9c96e1c commit 6c76592

File tree

4 files changed

+12
-8
lines changed

4 files changed

+12
-8
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,3 +154,6 @@ scripts/resource/output
154154
# docker tests
155155
docker/mountFolder/*.bin
156156
docker/mountFolder/*.bin.mtd
157+
158+
SEAL-*/
159+

docker/entrypoint.sh

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,10 @@ mvn -ntp -B test -D maven.test.skip=false -D automatedtestbase.outputbuffering=t
3535
| grep -v 'WARNING: Using incubator modules' | tee $log
3636

3737
# Merge Federated test runs.
38+
# if merged jacoco exist temporarily rename to not overwrite.
3839
[ -f target/jacoco.exec ] && mv target/jacoco.exec target/jacoco_main.exec
39-
mvn -ntp -B jacoco:merge
40-
41-
# Merge Federated test runs.
42-
[ -f target/jacoco.exec ] && mv target/jacoco.exec target/jacoco_main.exec
43-
mvn -ntp -B jacoco:merge
40+
# merge jacoco files.
41+
mvn -ntp -B jacoco:merge 2>&1 | grep -E "BUILD|Total time:|Building SystemDS|jacoco"
4442

4543
grep_args="SUCCESS"
4644
grepvals="$( tail -n 100 $log | grep $grep_args)"

docker/testsysds.Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,10 @@ RUN Rscript installDependencies.R \
7979
&& rm -f installDependencies.R
8080

8181
# Copy SEAL
82-
COPY --from=seal-build /seal-install /usr/local
82+
COPY --from=seal-build /seal-install/lib/ /usr/local/lib/
83+
COPY --from=seal-build /seal-install/include/ /usr/local/include/
84+
85+
ENV LD_LIBRARY_PATH=/usr/local/lib/
8386

8487
# Finally copy the entrypoint script
8588
# This is last to enable quick updates to the script after initial local build.

src/main/cpp/build_HE.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
#
2121
#-------------------------------------------------------------
2222

23-
echo "Build Homomorphic Encryption Liberary: "
23+
echo "Build Homomorphic Encryption Library: "
2424

2525
# compile HE
2626
cmake he/ -B HE -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER=g++
@@ -29,4 +29,4 @@ rm -R HE
2929

3030
echo ""
3131

32-
echo "Sucessfull install of Homomorphic Encryption Liberary SEAL"
32+
echo "Successful install of Homomorphic Encryption Library SEAL"

0 commit comments

Comments
 (0)