Skip to content

Commit

Permalink
Re-enable the EXPRECISION option for non-Windows x86/x86_64
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-frbg authored Nov 14, 2024
1 parent 2a290df commit d04686a
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions Makefile.system
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ endif

ifeq ($(OSNAME), Linux)
EXTRALIB += -lm
NO_EXPRECISION = 1
#NO_EXPRECISION = 1
endif

ifeq ($(OSNAME), Android)
Expand Down Expand Up @@ -572,7 +572,7 @@ NO_BINARY_MODE = 1
endif

ifeq ($(CORE), generic)
NO_EXPRECISION = 1
#NO_EXPRECISION = 1
endif

ifndef NO_EXPRECISION
Expand All @@ -595,7 +595,7 @@ endif
ifeq ($(ARCH), x86_64)

ifeq ($(CORE), generic)
NO_EXPRECISION = 1
#NO_EXPRECISION = 1
endif

ifndef NO_EXPRECISION
Expand Down Expand Up @@ -828,8 +828,8 @@ BINARY_DEFINED = 1

ifeq ($(F_COMPILER), GFORTRAN)
ifeq ($(C_COMPILER), GCC)
# EXPRECISION = 1
# CCOMMON_OPT += -DEXPRECISION
EXPRECISION = 1
CCOMMON_OPT += -DEXPRECISION
endif
endif
endif
Expand Down Expand Up @@ -1392,17 +1392,15 @@ endif
endif

ifeq ($(F_COMPILER), CRAY)
CCOMMON_OPT += -DF_INTERFACE_CRAYFC
CCOMMON_OPT += -DF_INTERFACE_INTEL
FCOMMON_OPT += -hnopattern
ifdef INTERFACE64
ifneq ($(INTERFACE64), 0)
FCOMMON_OPT += -s integer64
endif
endif
ifeq ($(USE_OPENMP), 1)
FCOMMON_OPT += -fopenmp
else
FCOMMON_OPT += -fno-openmp
ifneq ($(USE_OPENMP), 1)
FCOMMON_OPT += -O noomp
endif
endif

Expand Down

0 comments on commit d04686a

Please sign in to comment.