Changeset ac1aba4b
- Timestamp:
- Jun 6, 2022, 5:18:47 PM (2 years ago)
- Branches:
- ADT, ast-experimental, master, pthread-emulation, qualifiedEnum
- Children:
- 86c12d65, c8f5f7d
- Parents:
- f11296a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/jenkins/setup.sh.in
rf11296a rac1aba4b 29 29 function getrunpath() 30 30 { 31 local elfout=$(readelf -d $1 | grep "RUNPATH")31 local elfout=$(readelf -d $1 | grep -E "RPATH|RUNPATH") 32 32 regex='\[/([[:alpha:][:digit:]@/_.-]+)\]' 33 33 if [[ $elfout =~ $regex ]]; then … … 43 43 { 44 44 local deps=$(ldd $1) 45 retlcldeps=() 45 46 retsysdeps=() 46 retlcldeps=()47 47 while IFS= read -r line; do 48 regex1=' /([[:alpha:][:digit:]@/_.-]+)'49 regex2=' (libcfa[[:alpha:][:digit:].]+) => not found'48 regex1='(libcfa[[:alpha:][:digit:].]+)' 49 regex2='/([[:alpha:][:digit:]@/_.-]+)' 50 50 regex3='linux-vdso.so.1|linux-gate.so.1' 51 51 if [[ $line =~ $regex1 ]]; then 52 retlcldeps+=(${BASH_REMATCH[1]}) 53 elif [[ $line =~ $regex2 ]]; then 52 54 retsysdeps+=(${BASH_REMATCH[1]}) 53 elif [[ $line =~ $regex2 ]]; then54 retlcldeps+=(${BASH_REMATCH[1]})55 55 elif [[ $line =~ $regex3 ]]; then 56 56 # echo "ignoring '$line}': intrinsic"
Note: See TracChangeset
for help on using the changeset viewer.