[llvm] 9edee89 - [Support] [BLAKE3] Fix building for Cygwin
Martin Storsjö via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 6 12:55:19 PDT 2022
Author: Martin Storsjö
Date: 2022-04-06T22:54:26+03:00
New Revision: 9edee89b91f58e2afca945bc4ad2af8da5f27379
URL: https://github.com/llvm/llvm-project/commit/9edee89b91f58e2afca945bc4ad2af8da5f27379
DIFF: https://github.com/llvm/llvm-project/commit/9edee89b91f58e2afca945bc4ad2af8da5f27379.diff
LOG: [Support] [BLAKE3] Fix building for Cygwin
Use the windows-gnu assembly files on x86_64 Cygwin too.
This fixes https://github.com/llvm/llvm-project/issues/54685.
Differential Revision: https://reviews.llvm.org/D123187
Added:
Modified:
llvm/lib/Support/BLAKE3/CMakeLists.txt
Removed:
################################################################################
diff --git a/llvm/lib/Support/BLAKE3/CMakeLists.txt b/llvm/lib/Support/BLAKE3/CMakeLists.txt
index 5423e0ed689e2..3a98dbc3fd275 100644
--- a/llvm/lib/Support/BLAKE3/CMakeLists.txt
+++ b/llvm/lib/Support/BLAKE3/CMakeLists.txt
@@ -43,7 +43,7 @@ if (IS_X64 AND CAN_USE_ASSEMBLER)
blake3_avx2_x86-64_windows_msvc.asm
blake3_avx512_x86-64_windows_msvc.asm
)
- elseif(WIN32)
+ elseif(WIN32 OR CYGWIN)
list(APPEND LLVM_BLAKE3_FILES
blake3_sse2_x86-64_windows_gnu.S
blake3_sse41_x86-64_windows_gnu.S
More information about the llvm-commits
mailing list