5 Star 47 Fork 6

OpenCloudNeXt / DHL

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
compile_dpdk.sh 666 Bytes
一键复制 编辑 原始数据 按行查看 历史
Yipei Niu 提交于 2019-08-18 14:29 . build repo
#! /bin/bash
set -e
if [ -z "$RTE_TARGET" ]; then
echo "Please export \$RTE_TARGET. Or try running this without sudo."
exit 1
fi
if [ -z "$RTE_SDK" ]; then
echo "Please export \$RTE_SDK"
exit 1
fi
if [ -z "$DPDK_INSTALL_DIR" ]; then
echo "Please export \$DPDK_INSTALL_DIR"
exit 1
fi
# Validate sudo access
#sudo -v
# Compile dpdk
cd $RTE_SDK
echo "Compiling and installing dpdk in $RTE_SDK"
sleep 1
#make config T=$RTE_TARGET
#make T=$RTE_TARGET
# 1st method
make install T=$RTE_TARGET DESTDIR=$DPDK_INSTALL_DIR
# 2rd method
#make config T=$RTE_TARGET O=$RTE_TARGET
#make O=$RTE_TARGET
#make install O=$RTE_TARGET DESTDIR=$DPDK_INSTALL_DIR
C
1
https://gitee.com/opencloudnext/DHL.git
git@gitee.com:opencloudnext/DHL.git
opencloudnext
DHL
DHL
master

搜索帮助