From 7a44a7ee399ca490a6b082dded4616e154673fe2 Mon Sep 17 00:00:00 2001 From: Skyler Saleh Date: Sat, 1 May 2021 18:09:28 -0700 Subject: [PATCH] Readme: Update macOS build instructions 1) Place information about universal builds after single architecture builds since universal builds are harder to setup the environment for. 2) Specify that new arguments should be provided instead of direct script modification for universal builds. --- Readme.md | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/Readme.md b/Readme.md index 1b9cd7b872..4a16b75fc9 100644 --- a/Readme.md +++ b/Readme.md @@ -64,19 +64,8 @@ will inform you if a bundled library is used or if you need to install any missing packages yourself. ### macOS Build Steps: -A script is provided to build Universal binaries supporting both x64 and ARM in the same -application bundle using the following steps: -1. `mkdir build` -2. `cd build` -3. `python ../BuildMacOSUniversalBinary.py` -4. Universal binaries will be available in the `universal` folder - -Doing this requires installation of library dependencies for both x64 and ARM (or universal library -equivalents) and may require modification of the config portion of the script to point to the -library locations - -A binary supporting a single architecture can be built as well using the following steps: +A binary supporting a single architecture can be built using the following steps: 1. `mkdir build` 2. `cd build` @@ -85,6 +74,18 @@ A binary supporting a single architecture can be built as well using the followi An application bundle will be created in `./Binaries`. +A script is also provided to build universal binaries supporting both x64 and ARM in the same +application bundle using the following steps: + +1. `mkdir build` +2. `cd build` +3. `python ../BuildMacOSUniversalBinary.py` +4. Universal binaries will be available in the `universal` folder + +Doing this is more complex as it requires installation of library dependencies for both x64 and ARM (or universal library +equivalents) and may require specifying additional arguments to point to relevant library locations. +Execute BuildMacOSUniversalBinary.py --help for more details. + ### Linux Global Build Steps: To install to your system.