diff options
author | sharath <sharathkumarboyanapally@gmail.com> | 2019-01-21 18:28:22 +0530 |
---|---|---|
committer | sharath <sharathkumarboyanapally@gmail.com> | 2019-01-29 10:01:35 +0530 |
commit | 71b40478b341e21199bcdc1943a373270ee50d0e (patch) | |
tree | cea34d164876908835ba52a82ed7438d68730b24 /scripts | |
parent | 74c9aed15303d388d7d0429128bc3af96f7eb45c (diff) |
Feat: F-stack Integrationnone-dpdk
Change-Id: I0eec7617ff6782192bcbf6e4c41630f585bed54c
Signed-off-by: sharath <sharathkumarboyanapally@gmail.com>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/build.sh | 2 | ||||
-rwxr-xr-x | scripts/build_fstack.sh | 19 |
2 files changed, 21 insertions, 0 deletions
diff --git a/scripts/build.sh b/scripts/build.sh index eaa0f0e..11e89e4 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -61,6 +61,8 @@ if [ "${BUILD_ALL}" == "YES" ]; then bash -x $DMM_DIR/stacks/lwip_stack/vagrant/build.sh "from-base-build" || exit 1 #============build rsocket============================ bash -x $DMM_DIR/scripts/build_rsocket.sh || exit 1 + #============build F-Stack============================ + bash -x $DMM_DIR/scripts/build_fstack.sh || exit 1 #=======other new stacks build can be called from here echo "SUCCESSFULLY built all the stacks" fi diff --git a/scripts/build_fstack.sh b/scripts/build_fstack.sh new file mode 100755 index 0000000..3f8e351 --- /dev/null +++ b/scripts/build_fstack.sh @@ -0,0 +1,19 @@ +#!/bin/bash -x + +#build F-stack dependencies +sudo apt-get -y install libnuma-dev +sudo apt-get -y install libssl-dev + +#build F-stack +DMM_DIR=`dirname $(readlink -f $0)`/../ +BUILD_DIR=${DMM_DIR}/build + +cd ${BUILD_DIR} +sudo make dmm_fstack +if [ $? -eq 0 ]; then + echo "fstack build has SUCCESS" +else + echo "fstack build has FAILED" + exit 1 +fi +echo "fstack build finished" |