-
Notifications
You must be signed in to change notification settings - Fork 229
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add general ARM8 target with --march=native. See #471
- Loading branch information
1 parent
0480e6f
commit 7a42f1b
Showing
1 changed file
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
||
|