Skip to content

Commit

Permalink
Add support for Apple M1 build
Browse files Browse the repository at this point in the history
  • Loading branch information
GregDomjan authored and Greg Domjan committed Aug 13, 2022
1 parent 1f88435 commit d7e6ba9
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions src/main/resources/com/github/maven_nar/aol.properties
Original file line number Diff line number Diff line change
Expand Up @@ -1311,3 +1311,37 @@ ppc64.AIX.gcc.plugin.extension=a
ppc64.AIX.gcc.jni.extension=a
ppc64.AIX.gcc.executable.extension=
#

#
# MacOSX ("Mac OS X" => MacOSX) Apple Silicon M1 (64 bits)
#
aarch64.MacOSX.linker=g++

aarch64.MacOSX.gpp.cpp.compiler=g++
aarch64.MacOSX.gpp.cpp.defines=Darwin GNU_GCC
aarch64.MacOSX.gpp.cpp.options=-Wall -Wno-long-long -Wpointer-arith -Wconversion
aarch64.MacOSX.gpp.cpp.includes=**/*.cc **/*.cpp **/*.cxx
aarch64.MacOSX.gpp.cpp.excludes=

aarch64.MacOSX.gpp.c.compiler=gcc
aarch64.MacOSX.gpp.c.defines=Darwin GNU_GCC
aarch64.MacOSX.gpp.c.options=-Wall -Wno-long-long -Wpointer-arith -Wconversion
aarch64.MacOSX.gpp.c.includes=**/*.c
aarch64.MacOSX.gpp.c.excludes=

aarch64.MacOSX.gpp.fortran.compiler=gfortran
aarch64.MacOSX.gpp.fortran.defines=Darwin GNU_GCC
aarch64.MacOSX.gpp.fortran.options=-Wall -fno-automatic -fno-second-underscore
aarch64.MacOSX.gpp.fortran.includes=**/*.f **/*.for
aarch64.MacOSX.gpp.fortran.excludes=

aarch64.MacOSX.gpp.java.include=include
aarch64.MacOSX.gpp.java.runtimeDirectory=IGNORED

aarch64.MacOSX.gpp.lib.prefix=lib
aarch64.MacOSX.gpp.shared.prefix=lib
aarch64.MacOSX.gpp.static.extension=a
aarch64.MacOSX.gpp.shared.extension=dylib
aarch64.MacOSX.gpp.plugin.extension=bundle
aarch64.MacOSX.gpp.jni.extension=jnilib
aarch64.MacOSX.gpp.executable.extension=

0 comments on commit d7e6ba9

Please sign in to comment.