[all-commits] [llvm/llvm-project] f23182: [CMake][BLAKE3] Fix unused -mavx512vl warning when...
Fangrui Song via All-commits
all-commits at lists.llvm.org
Tue Jun 13 12:45:48 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f231829304d15dca0dad8bafe35c4277904db602
https://github.com/llvm/llvm-project/commit/f231829304d15dca0dad8bafe35c4277904db602
Author: Fangrui Song <i at maskray.me>
Date: 2023-06-13 (Tue, 13 Jun 2023)
Changed paths:
M llvm/lib/Support/BLAKE3/CMakeLists.txt
Log Message:
-----------
[CMake][BLAKE3] Fix unused -mavx512vl warning when CMAKE_OSX_ARCHITECTURES=arm64
This fixes
```
% ninja -C out/play LLVMSupport
ninja: Entering directory `out/play'
[151/158] Building ASM object lib/Support/BLAKE3/CMakeFiles/LLVMSupportBlake3.dir/blake3_avx512_x86-64_unix.S.o
clang: warning: argument unused during compilation: '-mavx512vl' [-Wunused-command-line-argument]
```
and applies `disable_blake3_x86_simd()`.
This fixes the root cause of commit 5160f6fefb0021a0b23e99c7cf621a330241c211 ("broke cross-builds of llvm from x86_64 to arm64 mac"...)
More information about the All-commits
mailing list