mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2026-09-04 03:51:05 +02:00
bf0040e15f
* CI: Use LLVM's OpenMP over MSFT_DEBUG_non_redist on Windows
Currently, we ship the non-redist debug version of microsoft's libomp.
This PR changes this to official LLVM's release, also packaging
the license as needed.
* Remove LLVM SHA from job name to increase legibility
* Add temp validations to CI
* Revert "Add temp validations to CI"
This reverts commit eef97c88b5bac280803ebb3c3b7bb09f89b0fd88.
* Build OpenMP in CI
* Make OpenMP fetch self-contained in cmake and cache in CI
* Robustify Licens-packaging
1. Ship OpenMP license, not LLVM's.
2. Invalidate cache also on checksum of the license
* Remove stale reference in docs/build.md
* No longer package base license in release
This was scope-creep
* Add explanatory comment to OpenMP license
* Remove arm64 smoke
Forgot this during conflict resolution during rebase of
c54c0e9cf6
* Remove GGML_OPENMP_FETCH_CACHE_DIR as requested by @CISC
* whitespace changes
18 lines
635 B
CMake
18 lines
635 B
CMake
set( CMAKE_SYSTEM_NAME Windows )
|
|
set( CMAKE_SYSTEM_PROCESSOR arm64 )
|
|
|
|
set( target arm64-pc-windows-msvc )
|
|
|
|
set( CMAKE_C_COMPILER clang )
|
|
set( CMAKE_CXX_COMPILER clang++ )
|
|
|
|
set( CMAKE_C_COMPILER_TARGET ${target} )
|
|
set( CMAKE_CXX_COMPILER_TARGET ${target} )
|
|
set( CMAKE_ASM_COMPILER_TARGET ${target} )
|
|
|
|
set( arch_c_flags "-march=armv8.7-a -fvectorize -ffp-model=fast -fno-finite-math-only" )
|
|
set( warn_c_flags "-Wno-format -Wno-unused-variable -Wno-unused-function -Wno-gnu-zero-variadic-macro-arguments" )
|
|
|
|
set( CMAKE_C_FLAGS_INIT "${arch_c_flags} ${warn_c_flags}" )
|
|
set( CMAKE_CXX_FLAGS_INIT "${arch_c_flags} ${warn_c_flags}" )
|