File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -163,7 +163,7 @@ jobs:
163163 - build : " avx512"
164164 defines : " -DGGML_NATIVE=OFF -DGGML_AVX512=ON -DGGML_AVX=ON -DGGML_AVX2=ON -DSD_BUILD_SHARED_LIBS=ON"
165165 - build : " cuda12"
166- defines : " -DSD_CUDA=ON -DSD_BUILD_SHARED_LIBS=ON -DCMAKE_CUDA_ARCHITECTURES='61;70;75;80;86;89;90;100;120'"
166+ defines : " -DSD_CUDA=ON -DSD_BUILD_SHARED_LIBS=ON -DCMAKE_CUDA_ARCHITECTURES='61;70;75;80;86;89;90;100;120' -DCMAKE_CUDA_FLAGS='-Xcudafe \" --diag_suppress=177 \" -Xcudafe \" --diag_suppress=550 \" ' "
167167 - build : ' vulkan'
168168 defines : " -DSD_VULKAN=ON -DSD_BUILD_SHARED_LIBS=ON"
169169 steps :
@@ -191,13 +191,17 @@ jobs:
191191 Add-Content $env:GITHUB_ENV "VULKAN_SDK=C:\VulkanSDK\${env:VULKAN_VERSION}"
192192 Add-Content $env:GITHUB_PATH "C:\VulkanSDK\${env:VULKAN_VERSION}\bin"
193193
194+ - name : Activate MSVC environment
195+ id : msvc_dev_cmd
196+ uses : ilammy/msvc-dev-cmd@v1
197+
194198 - name : Build
195199 id : cmake_build
196200 run : |
197201 mkdir build
198202 cd build
199- cmake .. ${{ matrix.defines }}
200- cmake --build . --config Release
203+ cmake .. -DCMAKE_CXX_FLAGS='/bigobj' -G Ninja -DCMAKE_C_COMPILER=cl.exe -DCMAKE_CXX_COMPILER=cl.exe ${{ matrix.defines }}
204+ cmake --build .
201205
202206 - name : Check AVX512F support
203207 id : check_avx512f
You can’t perform that action at this time.
0 commit comments