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.thak...@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 > >