Re: Enabling universal building of libFLAC
Martijn van Beurden <[email protected]> Sun, 18 Sep 2022 13:26:15 +0200
| Newsgroups | gmane.comp.audio.compression.flac.devel |
|---|---|
| Message-ID | <CADQbU68shuQ_kU3sFb1JGpv8svehHFx2AUxMN89Md+UKB_OAfQ@mail.gmail.com> |
Op zo 18 sep. 2022 11:55 schreef Cristian Adam <[email protected]>: > Hi, > > Building with CMake for both x86_64 and aarch64 for MacOS is as easy as > setting the CMake configuration > variable: "-DCMAKE_OSX_ARCHITECTURES=x86_64;arm64" when configuring the > project. > That might be enough to make CMake understand whats going on, but with the current way FLAC uses CMake, I doubt it will be able to get things building optimally. For example, CMake sets FLAC__CPU_ARM64. To what should it set this in the case of an universal build? That's why I think both building systems and the code need some work before this works correctly. > _______________________________________________ flac-dev mailing list [email protected] http://lists.xiph.org/mailman/listinfo/flac-dev