arescentral/antares

Build for Apple Silicon

Closed this issue · 2 comments

Requires Xcode 12.0 Beta.

Tried configuring it like so:

CPPFLAGS='-arch x86_64 -arch arm64 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk' LDFLAGS='-arch x86_64 -arch arm64 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk' ./configure

That got it almost there. The one error is:

Undefined symbols for architecture arm64:
  "_png_init_filter_functions_neon", referenced from:
      _png_read_filter_row in libpng.a(libpng.pngrutil.o)

which appears to be some ARM-specific code in libpng.

As of #362 compilation succeeds.