[PATCH] D123187: [Support] [BLAKE3] Fix building for Cygwin
Martin Storsjö via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 6 00:15:02 PDT 2022
mstorsjo created this revision.
mstorsjo added a reviewer: akyrtzi.
Herald added subscribers: dexonsmith, pengfei, hiraditya, mgorny.
Herald added a project: All.
mstorsjo requested review of this revision.
Herald added a project: LLVM.
Use the windows-gnu assembly files on x86_64 Cygwin too.
This fixes https://github.com/llvm/llvm-project/issues/54685.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D123187
Files:
llvm/lib/Support/BLAKE3/CMakeLists.txt
Index: llvm/lib/Support/BLAKE3/CMakeLists.txt
===================================================================
--- llvm/lib/Support/BLAKE3/CMakeLists.txt
+++ llvm/lib/Support/BLAKE3/CMakeLists.txt
@@ -43,7 +43,7 @@
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D123187.420725.patch
Type: text/x-patch
Size: 473 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220406/f5ac2c76/attachment.bin>
More information about the llvm-commits
mailing list