OpenBLAS/Makefile.zarch

17 lines
361 B
Makefile
Raw Normal View History

2016-04-16 06:02:24 +08:00
ifeq ($(CORE), Z13)
2017-01-04 23:32:33 +08:00
CCOMMON_OPT += -march=z13 -mzvector
FCOMMON_OPT += -march=z13 -mzvector
2016-04-16 06:02:24 +08:00
endif
ifeq ($(CORE), Z14)
CCOMMON_OPT += -march=z14 -mzvector -O3
FCOMMON_OPT += -march=z14 -mzvector
endif
# Enable floating-point expression contraction for clang, since it is the
# default for gcc
ifeq ($(C_COMPILER), CLANG)
CCOMMON_OPT += -ffp-contract=on
endif