diff options
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" |