File tree Expand file tree Collapse file tree 4 files changed +14
-0
lines changed Expand file tree Collapse file tree 4 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,9 @@ ifneq ($(C_COMPILER), PGI)
3
3
ifeq ($(C_COMPILER), CLANG)
4
4
ISCLANG=1
5
5
endif
6
+ ifeq ($(C_COMPILER), FUJITSU)
7
+ ISCLANG=1
8
+ endif
6
9
ifneq (1, $(filter 1,$(GCCVERSIONGT4) $(ISCLANG)))
7
10
CCOMMON_OPT += -march=armv8-a
8
11
ifneq ($(F_COMPILER), NAG)
Original file line number Diff line number Diff line change @@ -51,6 +51,7 @@ case "$data" in
51
51
* COMPILER_SUN* ) compiler=SUN ;;
52
52
* COMPILER_IBM* ) compiler=IBM ;;
53
53
* COMPILER_DEC* ) compiler=DEC ;;
54
+ * COMPILER_FUJITSU* ) compiler=FUJITSU ;;
54
55
esac
55
56
if [ -z " $compiler " ]; then
56
57
compiler=GCC
@@ -143,6 +144,7 @@ case "$compiler" in
143
144
INTEL) openmp=' -openmp' ;;
144
145
PATHSCALE|OPEN64) openmp=' -mp' ;;
145
146
CLANG|GCC|LSB) openmp=' -fopenmp' ;;
147
+ FUJITSU) openmp=' -Kopenmp' ;;
146
148
esac
147
149
148
150
if [ " $defined " -eq 0 ]; then
Original file line number Diff line number Diff line change 65
65
$compiler = SUN if ($data =~ / COMPILER_SUN/ );
66
66
$compiler = IBM if ($data =~ / COMPILER_IBM/ );
67
67
$compiler = DEC if ($data =~ / COMPILER_DEC/ );
68
+ $compiler = FUJITSU if ($data =~ / COMPILER_FUJITSU/ );
68
69
$compiler = GCC if ($compiler eq " " );
69
70
70
71
$os = Linux if ($data =~ / OS_LINUX/ );
189
190
$openmp = " -fopenmp" ;
190
191
}
191
192
193
+ if ($compiler eq " FUJITSU" ) {
194
+ $openmp = " -Kopenmp" ;
195
+ }
196
+
192
197
if ($defined == 0) {
193
198
$compiler_name .= " -m32" if ($binary eq " 32" );
194
199
$compiler_name .= " -m64" if ($binary eq " 64" );
Original file line number Diff line number Diff line change @@ -44,6 +44,10 @@ COMPILER_DEC
44
44
COMPILER_GNU
45
45
#endif
46
46
47
+ #if defined(__fcc_version__ ) || defined(__FCC_version__ )
48
+ COMPILER_FUJITSU
49
+ #endif
50
+
47
51
#if defined(__ANDROID__ )
48
52
OS_ANDROID
49
53
#endif
You can’t perform that action at this time.
0 commit comments