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 98
98
endif
99
99
endif
100
100
101
+ ifeq ($(C_COMPILER), CLANG)
102
+ CCOMMON_OPT += -fno-integrated-as
103
+ endif
101
104
# workaround for C->FORTRAN ABI violation in LAPACKE
102
105
ifeq ($(F_COMPILER), GFORTRAN)
103
106
FCOMMON_OPT += -fno-optimize-sibling-calls
@@ -133,7 +136,11 @@ ifdef BINARY64
133
136
134
137
135
138
ifeq ($(OSNAME), AIX)
139
+ ifeq ($(C_COMPILER), GCC)
136
140
CCOMMON_OPT += -mpowerpc64 -maix64
141
+ else
142
+ CCOMMON_OPT += -m64
143
+ endif
137
144
ifeq ($(COMPILER_F77), g77)
138
145
FCOMMON_OPT += -mpowerpc64 -maix64
139
146
endif
Original file line number Diff line number Diff line change 96
96
defined=0
97
97
98
98
if [ " $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
104
112
fi
105
113
106
114
case " $architecture " in
Original file line number Diff line number Diff line change 5
5
TOPDIR = ..
6
6
include $(TOPDIR ) /Makefile.system
7
7
8
- ifeq ($(ARCH ) , power)
9
- ifeq ($(C_COMPILER ) , CLANG)
10
- override CFLAGS += -fno-integrated-as
11
- endif
12
- endif
13
-
14
8
AVX2OPT =
15
9
ifeq ($(C_COMPILER ) , GCC)
16
10
# AVX2 support was added in 4.7.0
You can’t perform that action at this time.
0 commit comments