This repository was archived by the owner on Aug 5, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 10 files changed +23
-19
lines changed Expand file tree Collapse file tree 10 files changed +23
-19
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ FHE-Workspace
1111
1212# Block dependencies that are automatically fetched in the build script
1313DEPENDENCIES /NTL
14- DEPENDENCIES /ntl-11.4.3 .tar.gz
14+ DEPENDENCIES /ntl- * .tar.gz
1515
1616DEPENDENCIES /HElib
1717DEPENDENCIES /HElib-v1.0.2.tar.gz
Original file line number Diff line number Diff line change 2525# Current versions we build against
2626#
2727# NTL Library
28- NTL_version=' 11.4.3 '
28+ NTL_version=' 11.5.1 '
2929# HELib Library
3030HElib_version=' v2.1.0'
3131HElib_cmake_lists_version=' 2.1.0'
Original file line number Diff line number Diff line change @@ -15,13 +15,15 @@ USER root
1515WORKDIR /root
1616
1717# Install pre-reqs for building code-server
18- RUN apk add --no-cache openssl python3 pkgconfig xterm libx11-dev libxkbfile-dev libsecret-dev nodejs yarn
18+ RUN apk add --no-cache openssl python3 pkgconfig xterm libx11-dev libxkbfile-dev libsecret-dev
19+ RUN apk add nodejs yarn
1920
2021# Install code-server so we can access vscode from a container context...
2122RUN yarn global add node-gyp
2223RUN yarn global add node-pty
23- RUN yarn global add code-server
24+ # RUN yarn global add code-server
2425
26+ RUN curl -fsSL https://code-server.dev/install.sh | sh -s -- --version 3.9.1
2527# Create a directory to hold the VSCode user data when running as root
2628RUN mkdir -p /opt/IBM/IDE-Data
2729RUN chown -R fhe:fhe /opt/IBM/IDE-Data
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ RUN mkdir -p /opt/IBM/FHE-distro
3535COPY ./DEPENDENCIES/NTL /opt/IBM/FHE-distro/NTL
3636WORKDIR /opt/IBM/FHE-distro/NTL
3737RUN cd ./src && \
38- ./configure SHARED=on NTL_GMP_LIP=on NTL_THREADS=on NTL_THREAD_BOOST=on && \
38+ ./configure SHARED=on NTL_GMP_LIP=on NTL_THREADS=on NTL_THREAD_BOOST=on NTL_RANDOM_AES256CTR=on && \
3939 make -j4 && \
4040 make install && \
4141 ldconfig / && \
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ RUN mkdir -p /opt/IBM/FHE-distro
5151COPY ./DEPENDENCIES/NTL /opt/IBM/FHE-distro/NTL
5252WORKDIR /opt/IBM/FHE-distro/NTL
5353RUN cd ./src && \
54- ./configure SHARED=on NTL_GMP_LIP=on NTL_THREADS=on NTL_THREAD_BOOST=on && \
54+ ./configure SHARED=on NTL_GMP_LIP=on NTL_THREADS=on NTL_THREAD_BOOST=on NTL_RANDOM_AES256CTR=on && \
5555 make -j4 && \
5656 make install && \
5757 ldconfig && \
Original file line number Diff line number Diff line change @@ -27,13 +27,14 @@ RUN yum -y install \
2727RUN yum clean packages
2828
2929# Istall Node.js v12+
30- RUN curl -fsSL https://nodejs.org/dist/v12.18.2 /node-v12.18.2 -linux-s390x.tar.xz | tar --no-same-owner -Jxf -
31- RUN cp -pr ./node-v12.18.2 -linux-s390x/bin \
32- ./node-v12.18.2 -linux-s390x/include \
33- ./node-v12.18.2 -linux-s390x/lib \
34- ./node-v12.18.2 -linux-s390x/share \
30+ RUN curl -fsSL https://nodejs.org/dist/v14.17.3 /node-v14.17.3 -linux-s390x.tar.xz | tar --no-same-owner -Jxf -
31+ RUN cp -pr ./node-v14.17.3 -linux-s390x/bin \
32+ ./node-v14.17.3 -linux-s390x/include \
33+ ./node-v14.17.3 -linux-s390x/lib \
34+ ./node-v14.17.3 -linux-s390x/share \
3535 /usr/local
3636
37+ RUN npm install --global yarn
3738# Install code-server so we can access vscode from a container context...
3839#RUN curl -fsSL https://code-server.dev/install.sh | sh 2>&1
3940RUN curl -fsSL https://code-server.dev/install.sh | sh -s -- --version 3.9.1
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ RUN mkdir -p /opt/IBM/FHE-distro
3939COPY ./DEPENDENCIES/NTL /opt/IBM/FHE-distro/NTL
4040WORKDIR /opt/IBM/FHE-distro/NTL
4141RUN cd ./src && \
42- ./configure SHARED=on NTL_GMP_LIP=on NTL_THREADS=on NTL_THREAD_BOOST=on && \
42+ ./configure SHARED=on NTL_GMP_LIP=on NTL_THREADS=on NTL_THREAD_BOOST=on NTL_RANDOM_AES256CTR=on && \
4343 make -j4 && \
4444 make install && \
4545 ldconfig && \
Original file line number Diff line number Diff line change @@ -28,13 +28,14 @@ RUN DEBIAN_FRONTEND=noninteractive apt install -y \
2828 libsecret-1-dev
2929
3030# Istall Node.js v12+
31- RUN curl -fsSL https://nodejs.org/dist/v12.18.2 /node-v12.18.2 -linux-s390x.tar.xz | tar --no-same-owner -Jxf -
32- RUN cp -pr ./node-v12.18.2 -linux-s390x/bin \
33- ./node-v12.18.2 -linux-s390x/include \
34- ./node-v12.18.2 -linux-s390x/lib \
35- ./node-v12.18.2 -linux-s390x/share \
31+ RUN curl -fsSL https://nodejs.org/dist/v14.17.3 /node-v14.17.3 -linux-s390x.tar.xz | tar --no-same-owner -Jxf -
32+ RUN cp -pr ./node-v14.17.3 -linux-s390x/bin \
33+ ./node-v14.17.3 -linux-s390x/include \
34+ ./node-v14.17.3 -linux-s390x/lib \
35+ ./node-v14.17.3 -linux-s390x/share \
3636 /usr/local
3737
38+ RUN npm install --global yarn
3839# Install code-server so we can access vscode from a container context...
3940#RUN curl -fsSL https://code-server.dev/install.sh | sh 2>&1
4041RUN curl -fsSL https://code-server.dev/install.sh | sh -s -- --version 3.9.1 2>&1
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ RUN mkdir -p /opt/IBM/FHE-distro
6464COPY ./DEPENDENCIES/NTL /opt/IBM/FHE-distro/NTL
6565WORKDIR /opt/IBM/FHE-distro/NTL
6666RUN cd ./src && \
67- ./configure SHARED=on NTL_GMP_LIP=on NTL_THREADS=on NTL_THREAD_BOOST=on && \
67+ ./configure SHARED=on NTL_GMP_LIP=on NTL_THREADS=on NTL_THREAD_BOOST=on NTL_RANDOM_AES256CTR=on && \
6868 make -j4 && \
6969 make install && \
7070 ldconfig && \
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ if [[ "$BUILD_TYPE" == "S390" ]]; then
6666 echo ' S390 Stuff $BUILD_TYPE'
6767 test_toolkit " ubuntu"
6868 test_toolkit " fedora"
69- test_toolkit " alpine"
69+ # test_toolkit "alpine"
7070
7171else
7272 test_toolkit " ubuntu"
You can’t perform that action at this time.
0 commit comments