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
562 B

  1. #!/bin/bash
  2. # 接收参数
  3. TARGET=$1
  4. echo -e "\n正在编译和安装 英特尔高性能光线追踪内核(Embree)……\n"
  5. ${SHELLROOT}/utils/begin_stage Embree embree-*.tar.gz
  6. cd ${SHELLROOT}/tempDIR/`echo embree-*.tar.gz | sed 's/\*.*//'`*
  7. cp -v ${SHELLROOT}/installLib/embree-install.sh .
  8. sleep 2
  9. if ./embree-install.sh $TARGET ; then
  10. echo -e "\n * 英特尔高性能光线追踪内核(Embree),编译和安装成功\n"
  11. else
  12. echo -e "\n !!! 英特尔高性能光线追踪内核(Embree),编译和安装失败\n"
  13. exit 1
  14. fi
  15. exit 0