-
Notifications
You must be signed in to change notification settings - Fork 191
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #294 from FreeFem/release-v4.14
Release version 4.14
- Loading branch information
Showing
78 changed files
with
2,491 additions
and
516 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
#!/bin/bash | ||
## change path gfortran lib in freefem install | ||
## usage : change-dylibgfortran oldlibdir newlibdir libnam1 libnam2 list of dylyb file pathname to change ... | ||
## F. hecht sep. 2023 on MoOS Ventura , Monterey | ||
## remark the file $oldlibdir/$libnam1 , ... must exist ... | ||
olddir=$1 | ||
shift | ||
newdir=$1 | ||
shift | ||
lib1=$1 | ||
shift | ||
lib2=$1 | ||
shift | ||
lib3=$1 | ||
shift | ||
fi | ||
|
||
if test -f "$olddir/$lib1" -a -f "$olddir/$lib2" -a -f "$olddir/$lib3" \ | ||
-a -f "$newdir/$lib1" -a -f "$newdir/$lib2" -a -f "$newdir/$lib3" ; then | ||
for ff in $@; do | ||
ch=0 | ||
for lib in $lib1 $lib2 $lib3; do | ||
old=$olddir/$lib | ||
new=$newdir/$lib | ||
nnl=`otool -L $ff|grep $lib|awk '{print $1}'` | ||
case $nnl in | ||
/* ) old=$nnl | ||
esac | ||
# echo "old .. " $old $nnl | ||
# otool -L $ff|awk "/$lib/ "'{print $1}' | ||
nn=`otool -L $ff|grep $old|wc -l` | ||
# echo "nn=" $nn $nnl $old | ||
otool -L $ff| grep brew | ||
if test $nn -ne 0 ; then | ||
# echo ..change $old to $new in $ff | ||
ch=1 | ||
echo change $old to $new1 in $ff | ||
install_name_tool -change $old $new $ff | ||
fi | ||
done | ||
if test $ch -eq 1 ; then | ||
codesign --remove-signature $ff | ||
codesign -s - $ff | ||
fi | ||
done | ||
else | ||
echo "$olddir/$lib1" "$olddir/$lib2" "$olddir/$lib3" do some not exist! | ||
echo "$newdir/$lib1" "$newdir/$lib2" "$newdir/$lib3" do not exist! | ||
fi |
Oops, something went wrong.