-
Notifications
You must be signed in to change notification settings - Fork 126
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merged PR 33078: Merge public master with internal master
This mostly adds @<Varun Mathur>'s changes from public master to internal. I did an automatic merge and need to go through those changes myself. I think there is an issue in translator.h which I will fix. @<Varun Mathur> can you check if things work for you here?
- Loading branch information
Showing
26 changed files
with
1,393 additions
and
48 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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 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 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 |
---|---|---|
@@ -1 +1 @@ | ||
v1.12.25 | ||
v1.12.26 |
This file contains 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.