You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

check_objs.sh 840 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. #!/bin/bash
  2. while read OBJ; do
  3. if echo "$OBJ"|grep "_$" >/dev/null
  4. then
  5. [ "$OBJ" = "caxpyc_" ] && continue
  6. [ "$OBJ" = "zaxpyc_" ] && continue
  7. [ "$OBJ" = "blas_thread_shutdown_" ] && continue
  8. O1=$(echo "$OBJ"|sed -e 's/_$//' )
  9. if grep -w "$O1" exports/gensymbol >/dev/null
  10. then
  11. true
  12. else
  13. echo "$O1"
  14. fi
  15. continue
  16. fi
  17. if echo "$OBJ"|grep "^cblas" >/dev/null
  18. then
  19. if grep -w "$OBJ" exports/gensymbol >/dev/null
  20. then
  21. true
  22. else
  23. echo "$OBJ"
  24. fi
  25. continue
  26. fi
  27. if echo "$OBJ"|grep "^LAPACKE" >/dev/null
  28. then
  29. if grep -w "$OBJ" exports/gensymbol >/dev/null
  30. then
  31. true
  32. else
  33. echo "$OBJ"
  34. fi
  35. continue
  36. fi
  37. if echo "$OBJ"|grep "^lapack" >/dev/null
  38. then
  39. if grep -w "$OBJ" exports/gensymbol >/dev/null
  40. then
  41. true
  42. else
  43. echo "$OBJ"
  44. fi
  45. fi
  46. done