Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Scientific Software
Takin
core
Commits
9a8cffcc
Verified
Commit
9a8cffcc
authored
Mar 23, 2021
by
Tobias WEBER
Browse files
mac: updated build scripts
parent
5db9043f
Changes
2
Hide whitespace changes
Inline
Side-by-side
setup_mac/clean_py.sh
View file @
9a8cffcc
...
...
@@ -48,5 +48,15 @@ find ${PRG}/Contents/Frameworks/Python.framework -name "*.so" -exec strip -v {}
find
${
PRG
}
/Contents/Frameworks/Python.framework
-name
"*.dylib"
-exec
strip
-v
{}
\;
-print
# app
#
remove
app
rm
-rfv
${
PRG
}
/Contents/Frameworks/Python.framework/Versions/Current/Resources/Python.app
# remove tests
rm
-rfv
${
PRG
}
/Contents/Frameworks/Python.framework/Versions/3.9/lib/python3.9/test
# remove headers
#rm -rfv ${PRG}/Contents/Frameworks/Python.framework/Versions/3.9/include
#rm -fv ${PRG}/Contents/Frameworks/Python.framework/Headers
# remove binaries
#rm -rfv ${PRG}/Contents/Frameworks/Python.framework/Versions/3.9/bin
setup_mac/fix_names.sh
View file @
9a8cffcc
...
...
@@ -13,12 +13,13 @@ TOOL=install_name_tool
STRIP
=
strip
QT_VER
=
$(
ls
/usr/local/Cellar/qt
)
#QT_VER=5.15.2
PY_VER
=
3.9
QT_NAME
=
qt@5
echo
-e
"Qt version:
${
QT_VER
}
"
echo
-e
"Py version:
${
PY_VER
}
"
# files whose linkage is to be changed
declare
-a
filestochange
=(
"
${
PRG
}
/Contents/Frameworks/QtCore.framework/Versions/5/QtCore"
...
...
@@ -53,45 +54,45 @@ declare -a filestochange=(
# original symbols
declare
-a
changefrom
=(
"/usr/local/Cellar/qt/
${
QT_VER
}
/lib/QtCore.framework/Versions/5/QtCore"
"/usr/local/Cellar/
qt5
/
${
QT_VER
}
/lib/QtCore.framework/Versions/5/QtCore"
"/usr/local/Cellar/
${
QT_NAME
}
/
${
QT_VER
}
/lib/QtCore.framework/Versions/5/QtCore"
"/usr/local/opt/qt/lib/QtCore.framework/Versions/5/QtCore"
"/usr/local/opt/
qt5
/lib/QtCore.framework/Versions/5/QtCore"
"/usr/local/opt/
${
QT_NAME
}
/lib/QtCore.framework/Versions/5/QtCore"
"/usr/local/Cellar/qt/
${
QT_VER
}
/lib/QtGui.framework/Versions/5/QtGui"
"/usr/local/Cellar/
qt5
/
${
QT_VER
}
/lib/QtGui.framework/Versions/5/QtGui"
"/usr/local/Cellar/
${
QT_NAME
}
/
${
QT_VER
}
/lib/QtGui.framework/Versions/5/QtGui"
"/usr/local/opt/qt/lib/QtGui.framework/Versions/5/QtGui"
"/usr/local/opt/
qt5
/lib/QtGui.framework/Versions/5/QtGui"
"/usr/local/opt/
${
QT_NAME
}
/lib/QtGui.framework/Versions/5/QtGui"
"/usr/local/Cellar/qt/
${
QT_VER
}
/lib/QtWidgets.framework/Versions/5/QtWidgets"
"/usr/local/Cellar/
qt5
/
${
QT_VER
}
/lib/QtWidgets.framework/Versions/5/QtWidgets"
"/usr/local/Cellar/
${
QT_NAME
}
/
${
QT_VER
}
/lib/QtWidgets.framework/Versions/5/QtWidgets"
"/usr/local/opt/qt/lib/QtWidgets.framework/Versions/5/QtWidgets"
"/usr/local/opt/
qt5
/lib/QtWidgets.framework/Versions/5/QtWidgets"
"/usr/local/opt/
${
QT_NAME
}
/lib/QtWidgets.framework/Versions/5/QtWidgets"
"/usr/local/Cellar/qt/
${
QT_VER
}
/lib/QtOpenGL.framework/Versions/5/QtOpenGL"
"/usr/local/Cellar/
qt5
/
${
QT_VER
}
/lib/QtOpenGL.framework/Versions/5/QtOpenGL"
"/usr/local/Cellar/
${
QT_NAME
}
/
${
QT_VER
}
/lib/QtOpenGL.framework/Versions/5/QtOpenGL"
"/usr/local/opt/qt/lib/QtOpenGL.framework/Versions/5/QtOpenGL"
"/usr/local/opt/
qt5
/lib/QtOpenGL.framework/Versions/5/QtOpenGL"
"/usr/local/opt/
${
QT_NAME
}
/lib/QtOpenGL.framework/Versions/5/QtOpenGL"
"/usr/local/Cellar/qt/
${
QT_VER
}
/lib/QtConcurrent.framework/Versions/5/QtConcurrent"
"/usr/local/Cellar/
qt5
/
${
QT_VER
}
/lib/QtConcurrent.framework/Versions/5/QtConcurrent"
"/usr/local/Cellar/
${
QT_NAME
}
/
${
QT_VER
}
/lib/QtConcurrent.framework/Versions/5/QtConcurrent"
"/usr/local/opt/qt/lib/QtConcurrent.framework/Versions/5/QtConcurrent"
"/usr/local/opt/
qt5
/lib/QtConcurrent.framework/Versions/5/QtConcurrent"
"/usr/local/opt/
${
QT_NAME
}
/lib/QtConcurrent.framework/Versions/5/QtConcurrent"
"/usr/local/Cellar/qt/
${
QT_VER
}
/lib/QtXml.framework/Versions/5/QtXml"
"/usr/local/Cellar/
qt5
/
${
QT_VER
}
/lib/QtXml.framework/Versions/5/QtXml"
"/usr/local/Cellar/
${
QT_NAME
}
/
${
QT_VER
}
/lib/QtXml.framework/Versions/5/QtXml"
"/usr/local/opt/qt/lib/QtXml.framework/Versions/5/QtXml"
"/usr/local/opt/
qt5
/lib/QtXml.framework/Versions/5/QtXml"
"/usr/local/opt/
${
QT_NAME
}
/lib/QtXml.framework/Versions/5/QtXml"
"/usr/local/Cellar/qt/
${
QT_VER
}
/lib/QtXmlPatterns.framework/Versions/5/QtXmlPatterns"
"/usr/local/Cellar/
qt5
/
${
QT_VER
}
/lib/QtXmlPatterns.framework/Versions/5/QtXmlPatterns"
"/usr/local/Cellar/
${
QT_NAME
}
/
${
QT_VER
}
/lib/QtXmlPatterns.framework/Versions/5/QtXmlPatterns"
"/usr/local/opt/qt/lib/QtXmlPatterns.framework/Versions/5/QtXmlPatterns"
"/usr/local/opt/
qt5
/lib/QtXmlPatterns.framework/Versions/5/QtXmlPatterns"
"/usr/local/opt/
${
QT_NAME
}
/lib/QtXmlPatterns.framework/Versions/5/QtXmlPatterns"
"/usr/local/Cellar/qt/
${
QT_VER
}
/lib/QtSvg.framework/Versions/5/QtSvg"
"/usr/local/Cellar/
qt5
/
${
QT_VER
}
/lib/QtSvg.framework/Versions/5/QtSvg"
"/usr/local/Cellar/
${
QT_NAME
}
/
${
QT_VER
}
/lib/QtSvg.framework/Versions/5/QtSvg"
"/usr/local/opt/qt/lib/QtSvg.framework/Versions/5/QtSvg"
"/usr/local/opt/
qt5
/lib/QtSvg.framework/Versions/5/QtSvg"
"/usr/local/opt/
${
QT_NAME
}
/lib/QtSvg.framework/Versions/5/QtSvg"
"/usr/local/Cellar/qt/
${
QT_VER
}
/lib/QtPrintSupport.framework/Versions/5/QtPrintSupport"
"/usr/local/Cellar/
qt5
/
${
QT_VER
}
/lib/QtPrintSupport.framework/Versions/5/QtPrintSupport"
"/usr/local/Cellar/
${
QT_NAME
}
/
${
QT_VER
}
/lib/QtPrintSupport.framework/Versions/5/QtPrintSupport"
"/usr/local/opt/qt/lib/QtPrintSupport.framework/Versions/5/QtPrintSupport"
"/usr/local/opt/
qt5
/lib/QtPrintSupport.framework/Versions/5/QtPrintSupport"
"/usr/local/opt/
${
QT_NAME
}
/lib/QtPrintSupport.framework/Versions/5/QtPrintSupport"
"/usr/local/Cellar/qt/
${
QT_VER
}
/lib/QtDBus.framework/Versions/5/QtDBus"
"/usr/local/Cellar/
qt5
/
${
QT_VER
}
/lib/QtDBus.framework/Versions/5/QtDBus"
"/usr/local/Cellar/
${
QT_NAME
}
/
${
QT_VER
}
/lib/QtDBus.framework/Versions/5/QtDBus"
"/usr/local/opt/qt/lib/QtDBus.framework/Versions/5/QtDBus"
"/usr/local/opt/
qt5
/lib/QtDBus.framework/Versions/5/QtDBus"
"/usr/local/opt/
${
QT_NAME
}
/lib/QtDBus.framework/Versions/5/QtDBus"
"/usr/local/opt/qwt/lib/qwt.framework/Versions/6/qwt"
"/usr/local/opt/python@
${
PY_VER
}
/Frameworks/Python.framework/Versions/
${
PY_VER
}
/Python"
"/usr/local/opt/minuit2/lib/libMinuit2.0.dylib"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment