How to build Universal binaries on MacOS? #2922
Labels
[build]
Area: Changes in build files
help wanted
Indicates that a maintainer wants help on an issue or pull request
Type: Question
Questions or things that require clarification
Hi,
I've managed to get our MacOS Devops pipeline to build a simple version of srt using the instructions for building on MacOS:
Which seems to work fine. (Outside of me needing to go fishing for the libraries and headers needed for including in a build package.)
But this appears to only build for the architecture of the build machine in question. So I've been trying to build with CMake instead, but without much luck.
I took our Linux build pipeline as a starting point (we also build on Windows in the same way) and added the necessary CMake arguments to build universal binaries:
(New lines for clarity)
But I'm hitting some linker issues that I haven't been able to figure out:
(etc etc... there's a few pages worth of these.)
Obviously all missing symbols are from the C++ standard library, but I haven't been able to figure out exactly what I'm missing.
So, I guess, my question is: What am I missing? :) Or is there a way to pass the necessary CMake command line arguments to configure?
The text was updated successfully, but these errors were encountered: