[llvm-branch-commits] [llvm] 7e5b347 - Revert "[gn build] Guard the BLAKE3 assembly sources with platform (#70110)"

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Mar 6 10:33:13 PST 2026


Author: Arthur Eubanks
Date: 2026-03-06T10:33:09-08:00
New Revision: 7e5b3473ef79e8dd9e04bf7dd0a756efa62f3e9e

URL: https://github.com/llvm/llvm-project/commit/7e5b3473ef79e8dd9e04bf7dd0a756efa62f3e9e
DIFF: https://github.com/llvm/llvm-project/commit/7e5b3473ef79e8dd9e04bf7dd0a756efa62f3e9e.diff

LOG: Revert "[gn build] Guard the BLAKE3 assembly sources with platform (#70110)"

This reverts commit c47fb2d2b70841d00c5990582355632d6607bf51.

Added: 
    

Modified: 
    llvm/utils/gn/secondary/llvm/lib/Support/BLAKE3/BUILD.gn

Removed: 
    


################################################################################
diff  --git a/llvm/utils/gn/secondary/llvm/lib/Support/BLAKE3/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/Support/BLAKE3/BUILD.gn
index 18f382ea3086c..e980be728ed4e 100644
--- a/llvm/utils/gn/secondary/llvm/lib/Support/BLAKE3/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/lib/Support/BLAKE3/BUILD.gn
@@ -15,23 +15,16 @@ static_library("BLAKE3") {
   ]
 }
 
-if (current_cpu == "x64") {
-  source_set("hack") {
-    sources = [ "blake3_neon.c " ]
-    if (current_os == "linux") {
-      sources += [
-        "blake3_avx2_x86-64_unix.S",
-        "blake3_avx512_x86-64_unix.S",
-        "blake3_sse2_x86-64_unix.S",
-        "blake3_sse41_x86-64_unix.S",
-      ]
-    } else if (current_os == "win") {
-      sources += [
-        "blake3_avx2_x86-64_windows_gnu.S",
-        "blake3_avx512_x86-64_windows_gnu.S",
-        "blake3_sse2_x86-64_windows_gnu.S",
-        "blake3_sse41_x86-64_windows_gnu.S",
-      ]
-    }
-  }
+source_set("hack") {
+  sources = [
+    "blake3_avx2_x86-64_unix.S",
+    "blake3_avx2_x86-64_windows_gnu.S",
+    "blake3_avx512_x86-64_unix.S",
+    "blake3_avx512_x86-64_windows_gnu.S",
+    "blake3_neon.c",
+    "blake3_sse2_x86-64_unix.S",
+    "blake3_sse2_x86-64_windows_gnu.S",
+    "blake3_sse41_x86-64_unix.S",
+    "blake3_sse41_x86-64_windows_gnu.S",
+  ]
 }


        


More information about the llvm-branch-commits mailing list