File tree 1 file changed +14
-1
lines changed
utils/bazel/llvm-project-overlay/llvm 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -185,7 +185,12 @@ cc_library(
185
185
"lib/Support/Unix/*.h" ,
186
186
"lib/Support/Unix/*.inc" ,
187
187
]),
188
- }),
188
+ }) + [
189
+ "lib/Support/BLAKE3/blake3_impl.h" ,
190
+ "lib/Support/BLAKE3/blake3.c" ,
191
+ "lib/Support/BLAKE3/blake3_dispatch.c" ,
192
+ "lib/Support/BLAKE3/blake3_portable.c" ,
193
+ ],
189
194
hdrs = glob ([
190
195
"include/llvm/Support/**/*.h" ,
191
196
"include/llvm/ADT/*.h" ,
@@ -199,11 +204,19 @@ cc_library(
199
204
"include/llvm-c/ExternC.h" ,
200
205
"include/llvm-c/Support.h" ,
201
206
"include/llvm-c/Types.h" ,
207
+ "include/llvm-c/blake3.h" ,
202
208
"include/llvm/ExecutionEngine/JITSymbol.h" ,
203
209
"include/llvm/Support/Extension.def" ,
204
210
"include/llvm/Support/VCSRevision.h" ,
205
211
],
206
212
copts = llvm_copts ,
213
+ defines = [
214
+ "BLAKE3_NO_AVX2" ,
215
+ "BLAKE3_NO_AVX512" ,
216
+ "BLAKE3_NO_SSE2" ,
217
+ "BLAKE3_NO_SSE41" ,
218
+ "BLAKE3_USE_NEON=0" ,
219
+ ],
207
220
includes = ["include" ],
208
221
linkopts = select ({
209
222
"@bazel_tools//src/conditions:windows" : [],
You can’t perform that action at this time.
0 commit comments