[Mesa-users] build_and_test FAILED error with mesa-r12778, Mac M1 Pro
RICHARD H D TOWNSEND
townsend at astro.wisc.edu
Thu Aug 3 17:39:35 UTC 2023
Hi Sarah —
Hmm, that’s disappointing. Fundamentally, the issue here is that you’re trying to install a version of MESA that was released prior to Apple’s development of the new M1 processors — which isn’t guaranteed to work.
Are you absolutely wedded to MESA r12778? And do you need the code to run natively rather than using Apple’s Rosetta translation layer (which converts Intel code to M1 code)?
cheers,
Rich
> On Aug 3, 2023, at 12:31 PM, Sarah Thiele <sarah.thiele at princeton.edu> wrote:
>
> Hi Rich,
>
> Just gave that a try - looks like it creates the same error (I also reinstalled XQuartz and double checked Xcode was installed, did a ./clean and restarted the kernel before ./install-ing).
>
> - Sarah
>
> On Thu, Aug 3, 2023 at 1:20 PM RICHARD H D TOWNSEND <townsend at astro.wisc.edu> wrote:
> Dear Sarah —
>
> Given that you’re trying to compile an older version of MESA (r12778), I recommend you try an older version of the M1 SDK — specifically, mesasdk-aarch64-macos-22.6.1.pkg. Give that a whirl and let us know how you get on.
>
> cheers,
>
> Rich
>
> > On Aug 3, 2023, at 11:59 AM, Sarah Thiele via Mesa-users <mesa-users at lists.mesastar.org> wrote:
> >
> > Hello all,
> >
> > I am trying to install mesa-r12778 on a Macbook M1 Pro (OS 12.6.1). I've downloaded mesa sdk 23.05.1 (mesasdk-aarch64-macos-23.7.2.pkg). I encounter a build_and_test FAILED error when it is testing num (see attached .txt file with the terminal output of ./install). I believe I've installed all necessary prereqs. I also tried using NuDocker, but ran into some issues which I can explain if it's better to go that route.
> >
> > Additionally here is the output to the following:
> >
> > uname -a:
> >
> > Darwin PU-VR7QKX3JGD 21.6.0 Darwin Kernel Version 21.6.0: Thu Sep 29 20:13:56 PDT 2022; root:xnu-8020.240.7~1/RELEASE_ARM64_T6000 arm64
> >
> > gfortran -v:
> > Using built-in specs.
> > COLLECT_GCC=/Applications/mesasdk/bin/gfortran.exec
> > COLLECT_LTO_WRAPPER=/Applications/mesasdk/bin/../libexec/gcc/aarch64-apple-darwin20/13.1.0/lto-wrapper
> > Target: aarch64-apple-darwin20
> > Configured with: /opt/sdk2-tmp/build/gcc/configure CC=clang CXX=clang++ --build=aarch64-apple-darwin20 --host=aarch64-apple-darwin20 --target=aarch64-apple-darwin20 --prefix=/opt/sdk2-tmp/mesasdk --with-gmp=/opt/sdk2-tmp/mesasdk --with-mpfr=/opt/sdk2-tmp/mesasdk --with-mpc=/opt/sdk2-tmp/mesasdk --enable-languages=c,c++,fortran --disable-multilib --disable-nls --disable-libsanitizer --with-sysroot=/opt/sdk2-tmp/mesasdk/sysroot --without-build-config
> > Thread model: posix
> > Supported LTO compression algorithms: zlib
> > gcc version 13.1.0 (GCC)
> > echo $MESASDK_ROOT:
> > /Applications/mesasdk
> >
> > echo $PATH:
> > /Applications/mesasdk/bin:/opt/anaconda3/bin:/opt/anaconda3/condabin:/opt/homebrew/bin:/opt/homebrew/sbin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/Apple/usr/bin
> >
> > Any insight would be greatly appreciated!
> >
> > Best,
> > Sarah
> > <installation_output.txt>_______________________________________________
> > mesa-users at lists.mesastar.org
> > https://lists.mesastar.org/mailman/listinfo/mesa-users
> >
>
More information about the Mesa-users
mailing list