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.
This commit is contained in:
parent
9163312779
commit
7a44a7ee39
25
Readme.md
25
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.
|
missing packages yourself.
|
||||||
|
|
||||||
### macOS Build Steps:
|
### 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`
|
A binary supporting a single architecture can be built using the following steps:
|
||||||
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:
|
|
||||||
|
|
||||||
1. `mkdir build`
|
1. `mkdir build`
|
||||||
2. `cd 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`.
|
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:
|
### Linux Global Build Steps:
|
||||||
|
|
||||||
To install to your system.
|
To install to your system.
|
||||||
|
|
Loading…
Reference in New Issue