Skip to content

Commit 19a1280

Browse files
Merge pull request #58 from Deadpikle/feature/silicon
Add support for Apple Silicon
2 parents f4b5f09 + 66fd622 commit 19a1280

File tree

3 files changed

+221
-16
lines changed

3 files changed

+221
-16
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ jobs:
2222
runs-on: macos-latest
2323
steps:
2424
- uses: actions/checkout@v2
25+
- uses: maxim-lobanov/[email protected]
26+
with:
27+
xcode-version: latest-stable
2528
- run: bash boost.sh
2629
- name: Upload built boost.xcframework
2730
uses: actions/upload-artifact@v2

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Apple-Boost-BuildScript
2-
Script for building Boost for Apple platforms (iOS, iOS Simulator, tvOS, tvOS Simulator, OS X)
2+
Script for building Boost for Apple platforms (iOS, iOS Simulator, tvOS, tvOS Simulator, macOS)
33

44
This is a new location for my previous GIST:
55
https://gist.github.com/faithfracture/c629ae4c7168216a9856
66

7-
Builds a Boost framework for iOS, iOS Simulator, tvOS, tvOS Simulator, and macOS.
7+
Builds a Boost framework for iOS, iOS Simulator, tvOS, tvOS Simulator, and macOS (including Apple Silicon).
88
Creates a set of universal libraries that can be used on iOS/tvOS/macOS and in the
99
iOS/tvOS simulators. Then creates a pseudo-framework to make using boost in Xcode
1010
less painful.
@@ -19,6 +19,8 @@ To configure the script, define:
1919
MIN_TVOS_VERSION: Minimum tvOS Target Version (e.g. 11.0)
2020
MACOS_SDK_VERSION: macOS SDK version (e.g. 10.14)
2121
MIN_MACOS_VERSION: Minimum macOS Target Version (e.g. 10.12)
22+
MACOS_SILICON_SDK_VERSION: macOS SDK version for Apple Silicon (e.g. 11.0)
23+
MIN_MACOS_SILICON_VERSION: Minimum macOS Target Version for Apple Silicon (e.g. 11.0)
2224
```
2325

2426
If a boost tarball (a file named “boost_$BOOST_VERSION2.tar.bz2”) does not

0 commit comments

Comments
 (0)