diff options
author | fuzzard <fuzzard@kodi.tv> | 2021-08-16 19:08:19 +1000 |
---|---|---|
committer | fuzzard <fuzzard@kodi.tv> | 2021-08-16 19:26:47 +1000 |
commit | 53f62db51a8ff558ca5c69aa5ef8ab8e69934dae (patch) | |
tree | e1918c6b9f184291e79cd093d6ead9a7cdc15e77 /docs | |
parent | 67ca9191bd574fdd3191596dc3a198ff1b8c3b96 (diff) |
[Docs][OSX] Apple silicon depends build instructions
Diffstat (limited to 'docs')
-rw-r--r-- | docs/README.macOS.md | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/docs/README.macOS.md b/docs/README.macOS.md index d482f44c9b..8d383cb9ca 100644 --- a/docs/README.macOS.md +++ b/docs/README.macOS.md @@ -83,13 +83,20 @@ Kodi can be built as either a 32bit or 64bit program. The dependencies are built **TIP:** Look for comments starting with `Or ...` and only execute the command(s) you need. **NOTE:** `--with-platform` is mandatory for all Apple platforms -Configure build: +Configure build (x86 intel): ``` cd $HOME/kodi/tools/depends ./bootstrap ./configure --host=x86_64-apple-darwin --with-platform=macos ``` +Configure build (apple silicon): +``` +cd $HOME/kodi/tools/depends +./bootstrap +./configure --host=aarch64-apple-darwin --with-platform=macos +``` + Build tools and dependencies: ``` make -j$(getconf _NPROCESSORS_ONLN) @@ -161,7 +168,7 @@ Change to build directory: cd $HOME/kodi-build ``` -Generate Xcode project: +Generate Xcode project (x86_64 intel): ``` /Users/Shared/xbmc-depends/x86_64-darwin17.5.0-native/bin/cmake -G Xcode -DCMAKE_TOOLCHAIN_FILE=/Users/Shared/xbmc-depends/macosx10.13_x86_64-target-debug/share/Toolchain.cmake ../kodi ``` |