Skip to content

Commit

Permalink
Merge pull request #58 from Deadpikle/feature/silicon
Browse files Browse the repository at this point in the history
Add support for Apple Silicon
  • Loading branch information
faithfracture authored Dec 8, 2020
2 parents f4b5f09 + 66fd622 commit 19a1280
Show file tree
Hide file tree
Showing 3 changed files with 221 additions and 16 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ jobs:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: maxim-lobanov/[email protected]
with:
xcode-version: latest-stable
- run: bash boost.sh
- name: Upload built boost.xcframework
uses: actions/upload-artifact@v2
Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Apple-Boost-BuildScript
Script for building Boost for Apple platforms (iOS, iOS Simulator, tvOS, tvOS Simulator, OS X)
Script for building Boost for Apple platforms (iOS, iOS Simulator, tvOS, tvOS Simulator, macOS)

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

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

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

0 comments on commit 19a1280

Please sign in to comment.