Clone of mesa.
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

prepare-artifacts.sh 787B

1234567891011121314151617181920212223242526272829
  1. #!/bin/bash
  2. set -e
  3. set -o xtrace
  4. # Delete 2MB of includes from artifacts.
  5. rm -rf install/include
  6. # Strip the drivers in the artifacts to cut 80% of the artifacts size.
  7. if [ -n "$CROSS" ]; then
  8. STRIP=`sed -n -E "s/strip\s*=\s*'(.*)'/\1/p" "$CROSS_FILE"`
  9. if [ -z "$STRIP" ]; then
  10. echo "Failed to find strip command in cross file"
  11. exit 1
  12. fi
  13. else
  14. STRIP="strip"
  15. fi
  16. find install -name \*.so -exec $STRIP {} \;
  17. # Test runs don't pull down the git tree, so put the dEQP helper
  18. # script and associated bits there.
  19. mkdir -p artifacts/
  20. cp -Rp .gitlab-ci/deqp* artifacts/
  21. # cp -Rp src/freedreno/ci/expected* artifacts/
  22. # Tar up the install dir so that symlinks and hardlinks aren't each
  23. # packed separately in the zip file.
  24. tar -cf artifacts/install.tar install