Verified Commit b0a11051 authored by Tobias WEBER's avatar Tobias WEBER
Browse files

updated mac scripts

parent 51f46aaa
......@@ -65,6 +65,7 @@ declare -a SRC_LIBS=(
"/usr/local/opt/minuit2/lib/libMinuit2.0.dylib"
"/usr/local/opt/boost/lib/libboost_system-mt.dylib"
"/usr/local/opt/boost/lib/libboost_filesystem-mt.dylib"
"/usr/local/opt/boost/lib/libboost_atomic-mt.dylib"
"/usr/local/opt/boost/lib/libboost_iostreams-mt.dylib"
"/usr/local/opt/boost/lib/libboost_program_options-mt.dylib"
"/usr/local/opt/boost-python3/lib/libboost_python39-mt.dylib"
......@@ -72,12 +73,15 @@ declare -a SRC_LIBS=(
"/usr/local/opt/libpng/lib/libpng16.16.dylib"
"/usr/local/opt/libjpeg/lib/libjpeg.9.dylib"
"/usr/local/opt/libtiff/lib/libtiff.5.dylib"
"/usr/local/opt/lapack/lib/liblapacke.3.dylib"
"/usr/local/opt/lapack/lib/liblapack.3.dylib"
"/usr/local/opt/lapack/lib/libblas.3.dylib"
"/usr/local/opt/gcc/lib/gcc/11/libgfortran.5.dylib"
"/usr/local/opt/gcc/lib/gcc/11/libquadmath.0.dylib"
"/usr/local/opt/gcc/lib/gcc/11/libgomp.1.dylib"
"/usr/local/opt/gcc/lib/gcc/11/libgcc_s.1.dylib"
)
# "/usr/local/opt/gcc/lib/gcc/11/libgfortran.5.dylib"
# "/usr/local/opt/gcc/lib/gcc/11/libquadmath.0.dylib"
# "/usr/local/opt/gcc/lib/gcc/11/libgomp.1.dylib"
# "/usr/local/opt/gcc/lib/gcc/11/libgcc_s.1.dylib"
# "/usr/local/opt/openblas/lib/libopenblas.0.dylib"
......@@ -231,5 +235,8 @@ if [ $clean_frameworks -ne 0 ]; then
rm -rfv ${DST_FRAMEWORK_DIR}/${qlib}.framework/Resources
rm -rfv ${DST_FRAMEWORK_DIR}/${qlib}.framework/${qlib}*
done
# remove old signatures
codesign --remove-signature ${DST_FRAMEWORK_DIR}/Python.framework/Versions/Current/Python
fi
# -----------------------------------------------------------------------------
......@@ -34,6 +34,7 @@ rm -f takin.dmg
echo -e "Cleaning temporary files ..."
find takin.app -name ".DS_Store" -exec rm -fv {} \;
find takin.app -name ".dir" -exec rm -fv {} \;
find takin.app -type d -name "__pycache__" -exec rm -rfv {} \;
echo -e "\nCreating a writable image ..."
if ! hdiutil create takin.dmg -srcfolder takin.app -fs UDF -format "UDRW" -volname "takin"; then
......
......@@ -34,7 +34,7 @@ TOOL=install_name_tool
STRIP=strip
QT_VER=$(ls /usr/local/Cellar/qt)
QT_VER=5.15.2_1
QT_VER=5.15.2_2
PY_VER=3.10
QT_NAME=qt@5
......@@ -131,6 +131,7 @@ declare -a changefrom=(
"/usr/local/opt/minuit2/lib/libMinuit2.0.dylib"
"/usr/local/opt/boost/lib/libboost_system-mt.dylib"
"/usr/local/opt/boost/lib/libboost_filesystem-mt.dylib"
"/usr/local/opt/boost/lib/libboost_atomic-mt.dylib"
"/usr/local/opt/boost/lib/libboost_iostreams-mt.dylib"
"/usr/local/opt/boost/lib/libboost_program_options-mt.dylib"
"/usr/local/opt/boost-python3/lib/libboost_python39-mt.dylib"
......@@ -139,15 +140,20 @@ declare -a changefrom=(
"/usr/local/opt/libjpeg/lib/libjpeg.9.dylib"
"/usr/local/opt/jpeg/lib/libjpeg.9.dylib"
"/usr/local/opt/libtiff/lib/libtiff.5.dylib"
"/usr/local/opt/gcc/lib/gcc/11/libgfortran.5.dylib"
"/usr/local/opt/gcc/lib/gcc/11/libgomp.1.dylib"
"/usr/local/opt/gcc/lib/gcc/11/libquadmath.0.dylib"
"/usr/local/Cellar/gcc/11.2.0_3/lib/gcc/11/libquadmath.0.dylib"
"/usr/local/opt/gcc/lib/gcc/11/libgcc_s.1.dylib"
"/usr/local/lib/gcc/11/libgcc_s.1.dylib"
"/usr/local/opt/lapack/lib/liblapacke.3.dylib"
"/usr/local/opt/lapack/lib/liblapack.3.dylib"
"@rpath/liblapack.3.dylib"
"/usr/local/opt/lapack/lib/libblas.3.dylib"
"@rpath/libblas.3.dylib"
)
# "/usr/local/opt/openblas/lib/libopenblas.0.dylib"
# "/usr/local/opt/gcc/lib/gcc/11/libgfortran.5.dylib"
# "/usr/local/opt/gcc/lib/gcc/11/libgomp.1.dylib"
# "/usr/local/opt/gcc/lib/gcc/11/libquadmath.0.dylib"
# "/usr/local/Cellar/gcc/11.2.0_3/lib/gcc/11/libquadmath.0.dylib"
# "/usr/local/opt/gcc/lib/gcc/11/libgcc_s.1.dylib"
# "/usr/local/lib/gcc/11/libgcc_s.1.dylib"
......@@ -209,6 +215,7 @@ declare -a changeto=(
"@executable_path/../Libraries/libMinuit2.0.dylib"
"@executable_path/../Libraries/libboost_system-mt.dylib"
"@executable_path/../Libraries/libboost_filesystem-mt.dylib"
"@executable_path/../Libraries/libboost_atomic-mt.dylib"
"@executable_path/../Libraries/libboost_iostreams-mt.dylib"
"@executable_path/../Libraries/libboost_program_options-mt.dylib"
"@executable_path/../Libraries/libboost_python39-mt.dylib"
......@@ -217,15 +224,20 @@ declare -a changeto=(
"@executable_path/../Libraries/libjpeg.9.dylib"
"@executable_path/../Libraries/libjpeg.9.dylib"
"@executable_path/../Libraries/libtiff.5.dylib"
"@executable_path/../Libraries/libgfortran.5.dylib"
"@executable_path/../Libraries/libgomp.1.dylib"
"@executable_path/../Libraries/libquadmath.0.dylib"
"@executable_path/../Libraries/libquadmath.0.dylib"
"@executable_path/../Libraries/libgcc_s.1.dylib"
"@executable_path/../Libraries/libgcc_s.1.dylib"
"@executable_path/../Libraries/liblapacke.3.dylib"
"@executable_path/../Libraries/liblapack.3.dylib"
"@executable_path/../Libraries/liblapack.3.dylib"
"@executable_path/../Libraries/libblas.3.dylib"
"@executable_path/../Libraries/libblas.3.dylib"
)
# "@executable_path/../Libraries/libopenblas.0.dylib"
# "@executable_path/../Libraries/libgfortran.5.dylib"
# "@executable_path/../Libraries/libgomp.1.dylib"
# "@executable_path/../Libraries/libquadmath.0.dylib"
# "@executable_path/../Libraries/libquadmath.0.dylib"
# "@executable_path/../Libraries/libgcc_s.1.dylib"
# "@executable_path/../Libraries/libgcc_s.1.dylib"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment