Skip to content

Commit

Permalink
trying to fix the DONTHAVEM64OPT jungle nwchemgit#864 (comment)
Browse files Browse the repository at this point in the history
  • Loading branch information
edoapra committed Oct 21, 2023
1 parent 2824153 commit bce4c5c
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/config/makefile.h
Original file line number Diff line number Diff line change
Expand Up @@ -2152,23 +2152,18 @@ ifneq ($(TARGET),LINUX)

FOPTIMIZE = -O2

ifeq ($(_CPU),aarch64)
ifeq ($(_CPU),$(findstring $(_CPU),aarch64 mips64 loongarch64 riscv64 alpha ia64 hppa))
DONTHAVEM64OPT=Y
endif

ifeq ($(_CPU),mips64)
DONTHAVEM64OPT=Y
COPTIONS = -mabi=64
FOPTIONS = -mabi=64
FFLAGS_FORGA = -mabi=64
CFLAGS_FORGA = -mabi=64
endif

ifeq ($(_CPU),loongarch64)
DONTHAVEM64OPT=Y
endif
ifeq ($(_CPU),riscv64)
DONTHAVEM64OPT=Y
COPTIONS = -march=rv64gc -mabi=lp64d
FOPTIONS = -march=rv64gc -mabi=lp64d
FFLAGS_FORGA = -march=rv64gc -mabi=lp64d
Expand Down

0 comments on commit bce4c5c

Please sign in to comment.