[llvm] 8424d4f - [gn build] Manually port llvm/lib/Support/BLAKE3
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 24 12:06:24 PDT 2022
Author: Fangrui Song
Date: 2022-03-24T12:06:19-07:00
New Revision: 8424d4f641b186f30126c33f76f6a0fb619f903e
URL: https://github.com/llvm/llvm-project/commit/8424d4f641b186f30126c33f76f6a0fb619f903e
DIFF: https://github.com/llvm/llvm-project/commit/8424d4f641b186f30126c33f76f6a0fb619f903e.diff
LOG: [gn build] Manually port llvm/lib/Support/BLAKE3
Added:
Modified:
llvm/utils/gn/secondary/llvm/lib/Support/BUILD.gn
Removed:
################################################################################
diff --git a/llvm/utils/gn/secondary/llvm/lib/Support/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/Support/BUILD.gn
index 65b094ea5c80d..f7dff2e76778f 100644
--- a/llvm/utils/gn/secondary/llvm/lib/Support/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/lib/Support/BUILD.gn
@@ -45,6 +45,9 @@ static_library("Support") {
"ARMWinEH.cpp",
"Allocator.cpp",
"AutoConvert.cpp",
+ "BLAKE3/blake3.c",
+ "BLAKE3/blake3_dispatch.c",
+ "BLAKE3/blake3_portable.c",
"BinaryStreamError.cpp",
"BinaryStreamReader.cpp",
"BinaryStreamRef.cpp",
@@ -181,6 +184,8 @@ static_library("Support") {
"Watchdog.cpp",
]
+ defines = ["BLAKE3_NO_AVX512", "BLAKE3_NO_AVX2", "BLAKE3_NO_SSE41", "BLAKE3_NO_SSE2", "BLAKE3_USE_NEON=0"]
+
libs = []
# FIXME: llvm/Config/BUILD.gn currently always sets LLVM_WITH_Z3
More information about the llvm-commits
mailing list