File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,6 +3,9 @@ ifneq ($(C_COMPILER), PGI)
33ifeq ($(C_COMPILER), CLANG)
44ISCLANG=1
55endif
6+ ifeq ($(C_COMPILER), FUJITSU)
7+ ISCLANG=1
8+ endif
69ifneq (1, $(filter 1,$(GCCVERSIONGT4) $(ISCLANG)))
710CCOMMON_OPT += -march=armv8-a
811ifneq ($(F_COMPILER), NAG)
Original file line number Diff line number Diff line change @@ -51,6 +51,7 @@ case "$data" in
5151 * COMPILER_SUN* ) compiler=SUN ;;
5252 * COMPILER_IBM* ) compiler=IBM ;;
5353 * COMPILER_DEC* ) compiler=DEC ;;
54+ * COMPILER_FUJITSU* ) compiler=FUJITSU ;;
5455esac
5556if [ -z " $compiler " ]; then
5657 compiler=GCC
@@ -143,6 +144,7 @@ case "$compiler" in
143144 INTEL) openmp=' -openmp' ;;
144145 PATHSCALE|OPEN64) openmp=' -mp' ;;
145146 CLANG|GCC|LSB) openmp=' -fopenmp' ;;
147+ FUJITSU) openmp=' -Kopenmp' ;;
146148esac
147149
148150if [ " $defined " -eq 0 ]; then
Original file line number Diff line number Diff line change 6565$compiler = SUN if ($data =~ / COMPILER_SUN/ );
6666$compiler = IBM if ($data =~ / COMPILER_IBM/ );
6767$compiler = DEC if ($data =~ / COMPILER_DEC/ );
68+ $compiler = FUJITSU if ($data =~ / COMPILER_FUJITSU/ );
6869$compiler = GCC if ($compiler eq " " );
6970
7071$os = Linux if ($data =~ / OS_LINUX/ );
189190 $openmp = " -fopenmp" ;
190191}
191192
193+ if ($compiler eq " FUJITSU" ) {
194+ $openmp = " -Kopenmp" ;
195+ }
196+
192197if ($defined == 0) {
193198 $compiler_name .= " -m32" if ($binary eq " 32" );
194199 $compiler_name .= " -m64" if ($binary eq " 64" );
Original file line number Diff line number Diff line change @@ -44,6 +44,10 @@ COMPILER_DEC
4444COMPILER_GNU
4545#endif
4646
47+ #if defined(__fcc_version__ ) || defined(__FCC_version__ )
48+ COMPILER_FUJITSU
49+ #endif
50+
4751#if defined(__ANDROID__ )
4852OS_ANDROID
4953#endif
You can’t perform that action at this time.
0 commit comments