To accomodate macOS universal configuration include the assembly files
and blake3_neon.c without a CMake check but instead guard their source
with architecture "#ifdef" checks.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Event Timeline
Comment Actions
We've just recently updated our version of LLVM (I know we're slow...), and this patch breaks our builds when building LLVM for macOS Universal and with LTO. Specifically, this is the error I get when building for such configuration.
error: archive member blake3_sse2_x86-64_unix.S.o is a MachO, while previous archive member blake3.c.o was an IR LLVM object
Is there anyway to support LTO configurations with this patch? I've added a temporary internal patch on top of our mirror of LLVM that disables the assembly files, but it would be nice if there's a way to have that be supported.