mirror of
https://github.com/izzy2lost/Torch.git
synced 2026-07-06 00:18:35 -07:00
hmm try something else
This commit is contained in:
@@ -12,7 +12,7 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
config: [Release, Debug]
|
||||
toolchain: [v143, clangcl]
|
||||
toolchain: [torch/cmake/toolchain/windows-msvc.cmake, clangcl]
|
||||
standalone: [OFF, ON]
|
||||
generate: [Visual Studio 17 2022, Ninja]
|
||||
arch: [x64, Win32]
|
||||
@@ -33,7 +33,7 @@ jobs:
|
||||
arch: ${{ matrix.arch }}
|
||||
# only use default toolchain for Ninja
|
||||
- name: Build Ninja msvc
|
||||
if: ${{ matrix.generate == 'Ninja' && matrix.toolchain == 'v143' }}
|
||||
if: ${{ matrix.generate == 'Ninja' && matrix.toolchain == 'torch/cmake/toolchain/windows-msvc.cmake' }}
|
||||
run: |
|
||||
cmake -S . -B "build/${{ matrix.arch }}" -G "${{ matrix.generate }}" -DCMAKE_BUILD_TYPE:STRING=${{ matrix.config }} -DUSE_STANDALONE=${{ matrix.standalone }}
|
||||
cmake --build ./build/${{ matrix.arch }} --config ${{ matrix.config }} --parallel 10
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
set(CMAKE_GENERATOR_TOOLSET "v143")
|
||||
Reference in New Issue
Block a user