-
Notifications
You must be signed in to change notification settings - Fork 143
add iOS and armv8 build #1014
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
add iOS and armv8 build #1014
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
14d10fe
Add ruy submodule
XapaJIaMnu 300a8e9
Initial bits
XapaJIaMnu 8f8fa56
Add simd utils
XapaJIaMnu 70ab9c6
First bits working
XapaJIaMnu 3ac5fac
Remove m64
XapaJIaMnu 0128e5d
check in changes
vrnmthr f001ab4
simd change
vrnmthr 9b6a278
update simd
vrnmthr db8312d
fix TranslateService
vrnmthr dc6566b
more changes
vrnmthr c4efce7
update simd to master
vrnmthr 0261395
update sentencepiece commit
vrnmthr 10e78c0
replace spdlog includes
vrnmthr ff97193
memory map configs correctly
vrnmthr 41dbe2d
remove -march native
1a113da
Merge branch 'vamathur/ios' of https://github.com/marian-nmt/marian-d…
87a974a
update sp to latest
vrnmthr b2b3e26
don't use -march
vrnmthr f2bbd2f
Merge branch 'master' into vamathur/ios
vrnmthr 8124cf0
add comment explaining build
vrnmthr 480cfa8
Merge branch 'vamathur/ios' of https://github.com/marian-nmt/marian-d…
7604996
revert spdlog changes
ebdfcba
resolve comments
vrnmthr d052891
address comment
vrnmthr File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,43 @@ | ||
| name: iOS | ||
|
|
||
| on: | ||
| push: | ||
| branches: [ master ] | ||
| pull_request: | ||
| branches: [ master ] | ||
|
|
||
| jobs: | ||
| build-macos: | ||
| name: iOS CPU-only | ||
| runs-on: macos-12 | ||
|
|
||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v2 | ||
| with: | ||
| submodules: recursive | ||
|
|
||
| - name: Install dependencies | ||
| run: brew install boost openblas openssl protobuf | ||
|
|
||
| - name: Configure CMake | ||
| run: | | ||
| export LDFLAGS="-L/usr/local/opt/openblas/lib" | ||
| export CPPFLAGS="-I/usr/local/opt/openblas/include" | ||
| mkdir -p build | ||
| cd build | ||
| cmake .. \ | ||
| -DCOMPILE_CPU=on \ | ||
| -DCOMPILE_CUDA=off \ | ||
| -DCOMPILE_EXAMPLES=on \ | ||
| -DCOMPILE_SERVER=off \ | ||
| -DCOMPILE_TESTS=on \ | ||
| -DUSE_SENTENCEPIECE=on \ | ||
| -DCMAKE_TOOLCHAIN_FILE=../cmake/ios.toolchain.cmake \ | ||
| -DUSE_SENTENCEPIECE=on \ | ||
| -DPLATFORM=OS64 \ | ||
| -DDEPLOYMENT_TARGET=13.0 | ||
|
|
||
| - name: Compile | ||
| working-directory: build | ||
| run: cmake --build . --config Release | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.