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