File tree Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -157,15 +157,15 @@ jobs:
157
157
matrix :
158
158
include :
159
159
- build : ' avx2'
160
- defines : ' -DLLAMA_BUILD_SERVER=ON'
160
+ defines : ' -DLLAMA_BUILD_SERVER=ON -DLLAMA_NATIVE=OFF '
161
161
- build : ' avx'
162
- defines : ' -DLLAMA_BUILD_SERVER=ON -DLLAMA_AVX2=OFF'
162
+ defines : ' -DLLAMA_BUILD_SERVER=ON -DLLAMA_NATIVE=OFF - DLLAMA_AVX2=OFF'
163
163
- build : ' avx512'
164
- defines : ' -DLLAMA_BUILD_SERVER=ON -DLLAMA_AVX512=ON -DBUILD_SHARED_LIBS=ON'
164
+ defines : ' -DLLAMA_BUILD_SERVER=ON -DLLAMA_NATIVE=OFF - DLLAMA_AVX512=ON -DBUILD_SHARED_LIBS=ON'
165
165
- build : ' clblast'
166
- defines : ' -DLLAMA_BUILD_SERVER=ON -DLLAMA_CLBLAST=ON -DCMAKE_PREFIX_PATH="$env:RUNNER_TEMP/clblast"'
166
+ defines : ' -DLLAMA_BUILD_SERVER=ON -DLLAMA_NATIVE=OFF - DLLAMA_CLBLAST=ON -DCMAKE_PREFIX_PATH="$env:RUNNER_TEMP/clblast"'
167
167
- build : ' openblas'
168
- defines : ' -DLLAMA_BUILD_SERVER=ON -DLLAMA_BLAS=ON -DLLAMA_BLAS_VENDOR=OpenBLAS -DBLAS_INCLUDE_DIRS="$env:RUNNER_TEMP/openblas/include" -DBLAS_LIBRARIES="$env:RUNNER_TEMP/openblas/lib/openblas.lib"'
168
+ defines : ' -DLLAMA_BUILD_SERVER=ON -DLLAMA_NATIVE=OFF - DLLAMA_BLAS=ON -DLLAMA_BLAS_VENDOR=OpenBLAS -DBLAS_INCLUDE_DIRS="$env:RUNNER_TEMP/openblas/include" -DBLAS_LIBRARIES="$env:RUNNER_TEMP/openblas/lib/openblas.lib"'
169
169
170
170
steps :
171
171
- name : Clone
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ endif()
38
38
39
39
# general
40
40
option (LLAMA_STATIC "llama: static link libraries" OFF )
41
- option (LLAMA_NATIVE "llama: enable -march=native flag" OFF )
41
+ option (LLAMA_NATIVE "llama: enable -march=native flag" ON )
42
42
option (LLAMA_LTO "llama: enable link time optimization" OFF )
43
43
44
44
# debug
@@ -109,8 +109,7 @@ else()
109
109
message (WARNING "Git repository not found; to enable automatic generation of build info, make sure Git is installed and the project is a Git repository." )
110
110
endif ()
111
111
112
- MESSAGE ("NATIVE=" ${LLAMA_NATIVE} " MSVC=" ${MSVC} )
113
- IF (LLAMA_NATIVE AND MSVC )
112
+ IF (LLAMA_NATIVE )
114
113
include (cmake/FindSIMD.cmake )
115
114
ENDIF ()
116
115
You can’t perform that action at this time.
0 commit comments