mirror of
https://github.com/google/sentencepiece.git
synced 2024-12-28 18:54:18 +03:00
use /MD to build wheel package on windows
This commit is contained in:
parent
573cc39aab
commit
d0d1066dbf
4
.github/workflows/wheel.yml
vendored
4
.github/workflows/wheel.yml
vendored
@ -35,9 +35,9 @@ jobs:
|
||||
- name: Build for Windows
|
||||
if: runner.os == 'Windows'
|
||||
run: |
|
||||
cmake -A Win32 -B ${{github.workspace}}/build_win32 -DSPM_ENABLE_SHARED=OFF -DSPM_ENABLE_MSVC_MT_BUILD=ON -DCMAKE_INSTALL_PREFIX=${{github.workspace}}/build/root_win32
|
||||
cmake -A Win32 -B ${{github.workspace}}/build_win32 -DSPM_ENABLE_SHARED=OFF -DCMAKE_INSTALL_PREFIX=${{github.workspace}}/build/root_win32
|
||||
cmake --build ${{github.workspace}}/build_win32 --config Release --target install --parallel 8
|
||||
cmake -A x64 -B ${{github.workspace}}/build_amd64 -DSPM_ENABLE_SHARED=OFF -DSPM_ENABLE_MSVC_MT_BUILD=ON -DCMAKE_INSTALL_PREFIX=${{github.workspace}}/build/root_amd64
|
||||
cmake -A x64 -B ${{github.workspace}}/build_amd64 -DSPM_ENABLE_SHARED=OFF -DCMAKE_INSTALL_PREFIX=${{github.workspace}}/build/root_amd64
|
||||
cmake --build ${{github.workspace}}/build_amd64 --config Release --target install --parallel 8
|
||||
|
||||
- name: Build for Mac
|
||||
|
Loading…
Reference in New Issue
Block a user