From 5ed6345902100aa6fc7d9528f5c8abdc0d3f0e3f Mon Sep 17 00:00:00 2001 From: Luis Farias Date: Mon, 25 Nov 2019 09:53:52 -0800 Subject: [PATCH] ODULOW CI Support and Information Added example_odulow_build.txt, build_ci.sh and updated Makefile to illustrate on how to get the odulow fhi_lib dependencies, setup global variables for shell scripts and makefiles to build fhi_lib using gcc. Change-Id: Ib992f45857d9d32ccecb95cc9cee0e2f20b26e93 Signed-off-by: Luis Farias --- example_odulow_build.txt | 44 +++++++++++++++++++++++++ fhi_lib/lib/Makefile | 42 ++++++++++++++++++++++-- fhi_lib/lib/build_ci.sh | 83 ++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 166 insertions(+), 3 deletions(-) create mode 100644 example_odulow_build.txt create mode 100644 fhi_lib/lib/build_ci.sh diff --git a/example_odulow_build.txt b/example_odulow_build.txt new file mode 100644 index 0000000..8ef4f8d --- /dev/null +++ b/example_odulow_build.txt @@ -0,0 +1,44 @@ +#! /bin/bash +# This is an example on how the different dependencies of the odulow fhi_lib can be brought into a build server +# which currently is the only module being built under odulow. +# In the example illustrated here we use a Centos OS in the server so the user should adopt the proper procedures +# for their target OS if it is different than Centos +cd /etc/yum.repos.d/ +mkdir backup; +mv *.repo backup; + +curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo +yum makecache + +yum install vim gcc-c++ libhugetlbfs* libstdc++* kernel-devel numa* gcc git mlocate xorg-x11-server-Xorg -y +cd /home +mkdir odu_low_test +cd /home/odu_low_test + +wget http://fast.dpdk.org/rel/dpdk-18.08.1.tar.xz +xz -d dpdk-18.08.1.tar.xz +tar -xvf dpdk-18.08.1.tar +mv dpdk-stable-18.08.1 dpdk-18.08 + +cd dpdk-18.08/usertools/ + +./dpdk-setup.sh<