File tree Expand file tree Collapse file tree 3 files changed +20
-11
lines changed Expand file tree Collapse file tree 3 files changed +20
-11
lines changed Original file line number Diff line number Diff line change 9898endif
9999endif
100100
101+ ifeq ($(C_COMPILER), CLANG)
102+ CCOMMON_OPT += -fno-integrated-as
103+ endif
101104# workaround for C->FORTRAN ABI violation in LAPACKE
102105ifeq ($(F_COMPILER), GFORTRAN)
103106FCOMMON_OPT += -fno-optimize-sibling-calls
@@ -133,7 +136,11 @@ ifdef BINARY64
133136
134137
135138ifeq ($(OSNAME), AIX)
139+ ifeq ($(C_COMPILER), GCC)
136140CCOMMON_OPT += -mpowerpc64 -maix64
141+ else
142+ CCOMMON_OPT += -m64
143+ endif
137144ifeq ($(COMPILER_F77), g77)
138145FCOMMON_OPT += -mpowerpc64 -maix64
139146endif
Original file line number Diff line number Diff line change 9696defined=0
9797
9898if [ " $os " = " AIX" ]; then
99- case " $BINARY " in
100- 32) compiler_name=" $compiler_name -maix32" ;;
101- 64) compiler_name=" $compiler_name -maix64" ;;
102- esac
103- defined=1
99+ if [ " $compiler " = " GCC" ]; then
100+ case " $BINARY " in
101+ 32) compiler_name=" $compiler_name -maix32" ;;
102+ 64) compiler_name=" $compiler_name -maix64" ;;
103+ esac
104+ defined=1
105+ else
106+ case " $BINARY " in
107+ 32) compiler_name=" $compiler_name -m32" ;;
108+ 64) compiler_name=" $compiler_name -m64" ;;
109+ esac
110+ defined=1
111+ fi
104112fi
105113
106114case " $architecture " in
Original file line number Diff line number Diff line change 55TOPDIR = ..
66include $(TOPDIR ) /Makefile.system
77
8- ifeq ($(ARCH ) , power)
9- ifeq ($(C_COMPILER ) , CLANG)
10- override CFLAGS += -fno-integrated-as
11- endif
12- endif
13-
148AVX2OPT =
159ifeq ($(C_COMPILER ) , GCC)
1610# AVX2 support was added in 4.7.0
You can’t perform that action at this time.
0 commit comments