Skip to content

Commit 8424d4f

Browse files
committed
[gn build] Manually port llvm/lib/Support/BLAKE3
1 parent c5f7890 commit 8424d4f

File tree

1 file changed

+5
-0
lines changed
  • llvm/utils/gn/secondary/llvm/lib/Support

1 file changed

+5
-0
lines changed

llvm/utils/gn/secondary/llvm/lib/Support/BUILD.gn

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ static_library("Support") {
4545
"ARMWinEH.cpp",
4646
"Allocator.cpp",
4747
"AutoConvert.cpp",
48+
"BLAKE3/blake3.c",
49+
"BLAKE3/blake3_dispatch.c",
50+
"BLAKE3/blake3_portable.c",
4851
"BinaryStreamError.cpp",
4952
"BinaryStreamReader.cpp",
5053
"BinaryStreamRef.cpp",
@@ -181,6 +184,8 @@ static_library("Support") {
181184
"Watchdog.cpp",
182185
]
183186

187+
defines = ["BLAKE3_NO_AVX512", "BLAKE3_NO_AVX2", "BLAKE3_NO_SSE41", "BLAKE3_NO_SSE2", "BLAKE3_USE_NEON=0"]
188+
184189
libs = []
185190

186191
# FIXME: llvm/Config/BUILD.gn currently always sets LLVM_WITH_Z3

0 commit comments

Comments
 (0)