Skip to content

Commit

Permalink
[gn build] ugly hack to work around sync script for now
Browse files Browse the repository at this point in the history
  • Loading branch information
nico committed Mar 24, 2022
1 parent 7b498be commit 973acc3
Showing 1 changed file with 18 additions and 5 deletions.
23 changes: 18 additions & 5 deletions llvm/utils/gn/secondary/llvm/lib/Support/BLAKE3/BUILD.gn
@@ -1,10 +1,6 @@
static_library("BLAKE3") {
output_name = "LLVMSupportBlake3"
sources = [
"blake3.c",
"blake3_dispatch.c",
"blake3_portable.c",
]
sources = [ "blake3.c", "blake3_dispatch.c", "blake3_portable.c" ]
defines = [
"BLAKE3_NO_AVX512",
"BLAKE3_NO_AVX2",
Expand All @@ -13,3 +9,20 @@ static_library("BLAKE3") {
"BLAKE3_USE_NEON=0",
]
}

source_set("hack") {
sources = [
"BLAKE3/blake3.c",
"BLAKE3/blake3_avx2_x86-64_unix.S",
"BLAKE3/blake3_avx2_x86-64_windows_gnu.S",
"BLAKE3/blake3_avx512_x86-64_unix.S",
"BLAKE3/blake3_avx512_x86-64_windows_gnu.S",
"BLAKE3/blake3_dispatch.c",
"BLAKE3/blake3_neon.c",
"BLAKE3/blake3_portable.c",
"BLAKE3/blake3_sse2_x86-64_unix.S",
"BLAKE3/blake3_sse2_x86-64_windows_gnu.S",
"BLAKE3/blake3_sse41_x86-64_unix.S",
"BLAKE3/blake3_sse41_x86-64_windows_gnu.S",
]
}

0 comments on commit 973acc3

Please sign in to comment.