Hello, I am trying to get things working, however last post regarding the subject I found here from 2022. I am on M2 Pro, I was able to build all the prequsities however compiling Mesa with options set seems to be tricky and I get errors.
I am attaching meson build options log pastebin dot com / gXbPR7ku
Tricky first part is here
> C compiler for the host machine: cc (clang 15.0.0 "Apple clang version 15.0.0 (clang-1500.3.9.4)")
> C linker for the host machine: cc ld64 1053.12
> -----------
> Detecting archiver via: `llvm-ar-15 --version` -> [Errno 2] No such file or directory: 'llvm-ar-15'
> -----------
> Detecting archiver via: `llvm-ar --version` -> 0
> stdout:
> LLVM (http://llvm.org/):
> LLVM version 19.1.0
> Optimized build.
> -----------
> C++ compiler for the host machine: c++ (clang 15.0.0 "Apple clang version 15.0.0 (clang-1500.3.9.4)")
> C++ linker for the host machine: c++ ld64 1053.12
> C compiler for the build machine: cc (clang 15.0.0 "Apple clang version 15.0.0 (clang-1500.3.9.4)")
> C linker for the build machine: cc ld64 1053.12
> -----------
> Detecting archiver via: `llvm-ar-15 --version` -> [Errno 2] No such file or directory: 'llvm-ar-15'
> -----------
> Detecting archiver via: `llvm-ar --version` -> 0
> stdout:
> LLVM (http://llvm.org/):
> LLVM version 19.1.0
> Optimized build.
> -----------
I don’t get it . Why he is detecting clang 15.0.0 while I have 19 installed for macports and set as default?
Why it want llvm-ar-15 while i have llvm-19?
Then of course several things does not compile “-mtls-dialect=gnu2” and ‘-mtls-dialect=desc’ are both unkown argument so there should be a switch to turn them off on Macos but I don’t see it.
I would really like to move forward with this code and finally get Zink working on MacOS mainly for porting CasparCG-server. ANy help appreciated.