Skip to content

Commit

Permalink
Add support for Apple M1 build
Browse files Browse the repository at this point in the history
Resolves #371
  • Loading branch information
GregDomjan authored and Greg Domjan committed Jan 6, 2023
1 parent e6fbf31 commit 8e4d842
Showing 1 changed file with 34 additions and 1 deletion.
35 changes: 34 additions & 1 deletion src/main/resources/com/github/maven_nar/aol.properties
Original file line number Diff line number Diff line change
Expand Up @@ -1310,8 +1310,8 @@ ppc64.AIX.gcc.shared.extension=a
ppc64.AIX.gcc.plugin.extension=a
ppc64.AIX.gcc.jni.extension=a
ppc64.AIX.gcc.executable.extension=
#

#
# loongarch64 Linux
#
loongarch64.Linux.linker=g++
Expand Down Expand Up @@ -1346,3 +1346,36 @@ loongarch64.Linux.gpp.plugin.extension=so
loongarch64.Linux.gpp.jni.extension=so
loongarch64.Linux.gpp.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 8e4d842

Please sign in to comment.