-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
github_ci: add more graviton3 images
Add more test images for Graviton3 runners. Signed-off-by: Matias Elo <matias.elo@nokia.com>
- Loading branch information
Showing
3 changed files
with
111 additions
and
0 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
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,52 @@ | ||
FROM ubuntu:20.04 | ||
|
||
ENV DPDK_VERSION=v19.11.14 \ | ||
RTE_ARCH=arm64 \ | ||
RTE_TARGET=arm64-armv8a-linuxapp-gcc | ||
|
||
RUN apt-get update | ||
|
||
RUN apt-get install -yy --no-install-recommends \ | ||
software-properties-common \ | ||
dirmngr \ | ||
gnupg-agent | ||
|
||
RUN apt-get update --fix-missing | ||
|
||
RUN apt-get install -yy \ | ||
autoconf \ | ||
automake \ | ||
build-essential \ | ||
ccache \ | ||
clang \ | ||
gcc \ | ||
gcc-10 \ | ||
git \ | ||
iproute2 \ | ||
kmod \ | ||
libcli-dev \ | ||
libconfig-dev \ | ||
libcunit1-dev \ | ||
libibverbs-dev \ | ||
libnuma-dev \ | ||
libpcap-dev \ | ||
libssl-dev \ | ||
libstdc++-10-dev \ | ||
libtool \ | ||
make \ | ||
net-tools \ | ||
sudo | ||
|
||
RUN cd $HOME && \ | ||
git clone http://dpdk.org/git/dpdk-stable --branch ${DPDK_VERSION} --depth 1 ./dpdk && \ | ||
cd dpdk && \ | ||
make config T=${RTE_TARGET} O=${RTE_TARGET} && \ | ||
cd ${RTE_TARGET} && \ | ||
sed -ri 's,(CONFIG_RTE_LIBRTE_PMD_PCAP=).*,\1y,' .config && \ | ||
sed -ri 's,(CONFIG_RTE_LIBRTE_PMD_OPENSSL=).*,\1y,' .config && \ | ||
sed -ri 's,(CONFIG_RTE_EAL_IGB_UIO=).*,\1n,' .config && \ | ||
sed -ri 's,(CONFIG_RTE_KNI_KMOD=).*,\1n,' .config && \ | ||
cd .. && \ | ||
make -j $(nproc) install T=${RTE_TARGET} DESTDIR=/usr EXTRA_CFLAGS="-fPIC" && \ | ||
cd $HOME && \ | ||
rm -r ./dpdk |
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,57 @@ | ||
FROM ubuntu:20.04 | ||
|
||
ENV DPDK_VERSION=v20.11.10 \ | ||
AARCH64_CRYPTOLIB_TAG=2445f0e | ||
|
||
RUN apt-get update | ||
|
||
RUN apt-get install -yy --no-install-recommends \ | ||
software-properties-common \ | ||
dirmngr \ | ||
gnupg-agent | ||
|
||
RUN apt-get update --fix-missing | ||
|
||
RUN apt-get install -yy \ | ||
autoconf \ | ||
automake \ | ||
ccache \ | ||
clang \ | ||
gcc \ | ||
gcc-10 \ | ||
git \ | ||
iproute2 \ | ||
kmod \ | ||
libcli-dev \ | ||
libconfig-dev \ | ||
libcunit1-dev \ | ||
libpcap-dev \ | ||
libssl-dev \ | ||
libstdc++-10-dev \ | ||
libtool \ | ||
make \ | ||
meson \ | ||
net-tools \ | ||
ninja-build \ | ||
python3-pip \ | ||
sudo | ||
|
||
RUN cd $HOME && \ | ||
git clone http://dpdk.org/git/dpdk-stable --branch ${DPDK_VERSION} --depth 1 ./dpdk && \ | ||
cd dpdk && \ | ||
meson setup build && \ | ||
cd build && \ | ||
meson configure -Ddisable_apps=* && \ | ||
meson configure -Dtests=false && \ | ||
meson configure -Ddisable_drivers=baseband/*,event/*,raw/* && \ | ||
ninja install && \ | ||
ldconfig && \ | ||
cd $HOME && \ | ||
rm -r ./dpdk | ||
|
||
RUN cd $HOME && \ | ||
git clone https://github.com/ARM-software/AArch64cryptolib --depth 1 ./aarch64cryptolib && \ | ||
cd aarch64cryptolib && \ | ||
git checkout ${AARCH64_CRYPTOLIB_TAG} && \ | ||
make OPT=big && \ | ||
cd - |