Created
April 10, 2022 15:27
-
-
Save rhaleblian/5f490047a983f01188b717b2049e40ad to your computer and use it in GitHub Desktop.
86box-apple-silicon-build.sh
This file contains hidden or 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
cmake -B build -S . --toolchain "./cmake/llvm-macos-aarch64.cmake" \ | |
-D VNC=OFF -D NEW_DYNAREC=ON -D QT=ON -D USE_QT6=ON \ | |
-D Qt6QCocoaIntegrationPlugin_DIR=/opt/homebrew/Cellar/qt/6.2.3_1/lib/cmake/Qt6Gui \ | |
-D Qt6QMacStylePlugin_DIR=/opt/homebrew/Cellar/qt/6.2.3_1/lib/cmake/Qt6Widgets \ | |
-D Qt6QICOPlugin_DIR=/opt/homebrew/Cellar/qt/6.2.3_1/lib/cmake/Qt6Gui \ | |
-D Qt6QICNSPlugin_DIR=/opt/homebrew/Cellar/qt/6.2.3_1/lib/cmake/Qt6Gui \ | |
--install-prefix /Users/$USER/Developer/86Box/build/src/ -DCMAKE_BUILD_TYPE=Release -G Ninja -DFAUDIO=ON | |
cmake --build build --target install && codesign --force --deep -s - ./build/src/86Box.app |
Those messages relate exactly to the oddness that makes me have to add all those -D
options to the command.
So you're close, and if the codebase has changed maybe my command is invalid now.
Check with the devs about whether there's a build process in the Jenkins CI instance -- they received a machine to build on so they may have formalized an official build workflow (so we don't need to devise one). Good luck!
Yeah I got one of those experimental builds to test, thanks!
great
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, after getting the build dependencies, I have this error when I execute your script to build 86Box for M1:
What could possibly be wrong? I double checked your script, double checked my homebrew qt6 locations and the files are there, so I can't understand why cmake can't find it there.