Skip to content

Commit

Permalink
Add general ARM8 target with --march=native. See #471
Browse files Browse the repository at this point in the history
  • Loading branch information
TomTheBear committed Nov 10, 2023
1 parent 0480e6f commit 7a42f1b
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions make/include_GCCARM.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
CC = gcc
FC = gfortran
AS = as
AR = ar
PAS = ./perl/AsmGen.pl
GEN_PAS = ./perl/generatePas.pl
GEN_GROUPS = ./perl/generateGroups.pl
GEN_PMHEADER = ./perl/gen_events.pl

ANSI_CFLAGS =
#ANSI_CFLAGS += -pedantic
#ANSI_CFLAGS += -Wextra
#ANSI_CFLAGS += -Wall

CFLAGS = -mcpu=native -O2 -std=c99 -Wno-format -fPIC
#FCFLAGS = -module ./ # ifort
FCFLAGS = -J ./ -fsyntax-only #gfortran
PASFLAGS = ARMv8
ASFLAGS =
CPPFLAGS =
LFLAGS = -pthread

SHARED_CFLAGS = -fPIC -fvisibility=hidden
SHARED_LFLAGS = -shared -fvisibility=hidden

DEFINES = -DPAGE_ALIGNMENT=4096
DEFINES += -DLIKWID_MONITOR_LOCK
DEFINES += -DDEBUGLEV=0
DEFINES += -D__ARM_ARCH_8A

INCLUDES =
LIBS = -lm -lrt


0 comments on commit 7a42f1b

Please sign in to comment.