Skip to content

Commit acda5b4

Browse files
committed
fix CI
1 parent 59aa38f commit acda5b4

File tree

3 files changed

+21
-33
lines changed

3 files changed

+21
-33
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -721,39 +721,6 @@ jobs:
721721
cmake --build build --config Release -j %NINJA_JOBS% -t ggml
722722
cmake --build build --config Release
723723
724-
windows-latest-cmake-sycl:
725-
runs-on: windows-latest
726-
727-
defaults:
728-
run:
729-
shell: bash
730-
731-
env:
732-
WINDOWS_BASEKIT_URL: https://registrationcenter-download.intel.com/akdlm/IRC_NAS/7cd9bba0-7aab-4e30-b3ae-2221006a4a05/intel-oneapi-base-toolkit-2025.1.1.34_offline.exe
733-
WINDOWS_DPCPP_MKL: intel.oneapi.win.cpp-dpcpp-common:intel.oneapi.win.mkl.devel:intel.oneapi.win.dnnl:intel.oneapi.win.tbb.devel
734-
ONEAPI_ROOT: "C:/Program Files (x86)/Intel/oneAPI"
735-
steps:
736-
- name: Clone
737-
id: checkout
738-
uses: actions/checkout@v4
739-
740-
- name: ccache
741-
uses: hendrikmuhs/[email protected]
742-
with:
743-
key: windows-latest-cmake-sycl
744-
variant: ccache
745-
evict-old-files: 1d
746-
747-
- name: Install
748-
run: |
749-
scripts/install-oneapi.bat $WINDOWS_BASEKIT_URL $WINDOWS_DPCPP_MKL
750-
751-
# TODO: add libcurl support ; we will also need to modify win-build-sycl.bat to accept user-specified args
752-
753-
- name: Build
754-
id: cmake_build
755-
run: examples/sycl/win-build-sycl.bat
756-
757724
windows-latest-cmake-hip:
758725
if: ${{ github.event.inputs.create_release != 'true' }}
759726
runs-on: windows-latest

cmake/arm64-windows-llvm.cmake

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
set( CMAKE_SYSTEM_NAME Windows )
2+
set( CMAKE_SYSTEM_PROCESSOR arm64 )
3+
4+
set( target arm64-pc-windows-msvc )
5+
6+
set( CMAKE_C_COMPILER clang )
7+
set( CMAKE_CXX_COMPILER clang++ )
8+
9+
set( CMAKE_C_COMPILER_TARGET ${target} )
10+
set( CMAKE_CXX_COMPILER_TARGET ${target} )
11+
12+
set( arch_c_flags "-march=armv8.7-a -fvectorize -ffp-model=fast -fno-finite-math-only" )
13+
set( warn_c_flags "-Wno-format -Wno-unused-variable -Wno-unused-function -Wno-gnu-zero-variadic-macro-arguments" )
14+
15+
set( CMAKE_C_FLAGS_INIT "${arch_c_flags} ${warn_c_flags}" )
16+
set( CMAKE_CXX_FLAGS_INIT "${arch_c_flags} ${warn_c_flags}" )

cmake/x64-windows-llvm.cmake

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
set( CMAKE_SYSTEM_NAME Windows )
2+
set( CMAKE_SYSTEM_PROCESSOR x86_64 )
3+
4+
set( CMAKE_C_COMPILER clang )
5+
set( CMAKE_CXX_COMPILER clang++ )

0 commit comments

Comments
 (0)