Installing universal binaries on Apple M1 using macports
Chris Jones
jonesc at hep.phy.cam.ac.uk
Tue Mar 30 11:40:15 UTC 2021
Hi,
Llvm/clang 10 does not work reliably on apple silicon. use llvm/clang 11 instead.
Chris
> On 30 Mar 2021, at 7:19 am, Sandeep Thakkar <sandeep.thakkar at enterprisedb.com> wrote:
>
>
> Hi,
>
> I'm installing llvm-10 on Apple M1 (macOS BigSur) with these changes in macports.conf:
>
> # custom changes
> buildfromsource always
> macosx_deployment_target 10.14
> macosx_sdk_version 11.1
>
> and the command I used is:
> % sudo port install llvm-10 +universal
>
> But, what I see is:
> % otool -l /opt/local/libexec/llvm-10/lib/libLLVM.dylib| grep "minos\|sdk"
> minos 11.0
> sdk 11.1
>
> The sdk version looks fine, but why the minos is 11.0? shouldn't it be 10.14 as expected? What am I missing?
>
> --
> Sandeep Thakkar
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20210330/ae9edb6f/attachment.htm>
More information about the macports-users
mailing list