You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
484 B
27 lines
484 B
#!/bin/bash
|
|
|
|
|
|
|
|
|
|
# 接收参数
|
|
TARGET=$1
|
|
|
|
|
|
|
|
|
|
echo -e "\n正在编译和安装 并行编程框架(TBB)……\n"
|
|
|
|
${SHELLROOT}/utils/begin_stage TBB tbb*_lin.tgz
|
|
cd ${SHELLROOT}/tempDIR/`echo tbb*_lin.tgz | sed 's/\*.*//'`*
|
|
|
|
cp -v ${SHELLROOT}/installLib/tbb-install.sh .
|
|
|
|
sleep 2
|
|
if ./tbb-install.sh $TARGET ; then
|
|
echo -e "\n * 并行编程框架(TBB),编译和安装成功\n"
|
|
else
|
|
echo -e "\n !!! 并行编程框架(TBB),编译和安装失败\n"
|
|
exit 1
|
|
fi
|
|
|
|
exit 0
|