mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
CONFIG: add linuxARM64Fujitsu settings (#1671)
This commit is contained in:
@ -66,8 +66,8 @@ export WM_PROJECT_VERSION=com
|
|||||||
export WM_COMPILER_TYPE=system
|
export WM_COMPILER_TYPE=system
|
||||||
|
|
||||||
# [WM_COMPILER] - Compiler:
|
# [WM_COMPILER] - Compiler:
|
||||||
# = Gcc | Gcc4[8-9] | Gcc5[1-5] | Gcc6[1-5] | Gcc7[1-4] | Gcc8[12] |
|
# = Gcc | Clang | Icc | Cray | Arm | Pgi | Fujitsu |
|
||||||
# Clang | Clang3[7-9] | Clang[4-6]0 | Icc | Cray | Arm | Pgi
|
# Gcc<digits> | Clang<digits>
|
||||||
export WM_COMPILER=Gcc
|
export WM_COMPILER=Gcc
|
||||||
|
|
||||||
# [WM_PRECISION_OPTION] - Floating-point precision:
|
# [WM_PRECISION_OPTION] - Floating-point precision:
|
||||||
|
|||||||
@ -66,8 +66,8 @@ setenv WM_PROJECT_VERSION com
|
|||||||
setenv WM_COMPILER_TYPE system
|
setenv WM_COMPILER_TYPE system
|
||||||
|
|
||||||
# [WM_COMPILER] - Compiler:
|
# [WM_COMPILER] - Compiler:
|
||||||
# = Gcc | Gcc4[8-9] | Gcc5[1-5] | Gcc6[1-5] | Gcc7[1-4] | Gcc8[12] |
|
# = Gcc | Clang | Icc | Cray | Arm | Pgi | Fujitsu |
|
||||||
# Clang | Clang3[7-9] | Clang[4-6]0 | Icc | Cray | Arm | Pgi
|
# Gcc<digits> | Clang<digits>
|
||||||
setenv WM_COMPILER Gcc
|
setenv WM_COMPILER Gcc
|
||||||
|
|
||||||
# [WM_PRECISION_OPTION] - Floating-point precision:
|
# [WM_PRECISION_OPTION] - Floating-point precision:
|
||||||
|
|||||||
18
wmake/rules/linuxARM64Fujitsu/c
Normal file
18
wmake/rules/linuxARM64Fujitsu/c
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
# Fujitsu compiler - a clang variant
|
||||||
|
include $(GENERAL_RULES)/Clang/c
|
||||||
|
|
||||||
|
cc = fcc
|
||||||
|
|
||||||
|
cARCH =
|
||||||
|
|
||||||
|
# Compile option is non-mandatory, but must be non-empty
|
||||||
|
sinclude $(DEFAULT_RULES)/c$(WM_COMPILE_OPTION)
|
||||||
|
|
||||||
|
cFLAGS = $(cARCH) $(GFLAGS) $(cWARN) $(cOPT) $(cDBUG) $(LIB_HEADER_DIRS) -fPIC
|
||||||
|
|
||||||
|
ctoo = $(WM_SCHEDULER) $(cc) $(cFLAGS) -c $< -o $@
|
||||||
|
|
||||||
|
LINK_LIBS = $(cDBUG)
|
||||||
|
|
||||||
|
LINKLIBSO = $(cc) $(cARCH) -shared
|
||||||
|
LINKEXE = $(cc) $(cARCH) -Xlinker --add-needed -Xlinker -z -Xlinker nodefs
|
||||||
20
wmake/rules/linuxARM64Fujitsu/c++
Normal file
20
wmake/rules/linuxARM64Fujitsu/c++
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
# Fujitsu compiler - a clang variant
|
||||||
|
include $(GENERAL_RULES)/Clang/c++
|
||||||
|
|
||||||
|
CC = FCC -std=c++11
|
||||||
|
|
||||||
|
c++ARCH = -pthread
|
||||||
|
|
||||||
|
include $(DEFAULT_RULES)/c++$(WM_COMPILE_OPTION)
|
||||||
|
|
||||||
|
c++FLAGS = $(c++ARCH) $(GFLAGS) $(c++WARN) $(c++OPT) $(c++DBUG) $(ptFLAGS) $(LIB_HEADER_DIRS) -fPIC
|
||||||
|
|
||||||
|
Ctoo = $(WM_SCHEDULER) $(CC) $(c++FLAGS) -c $< -o $@
|
||||||
|
cxxtoo = $(Ctoo)
|
||||||
|
cctoo = $(Ctoo)
|
||||||
|
cpptoo = $(Ctoo)
|
||||||
|
|
||||||
|
LINK_LIBS = $(c++DBUG)
|
||||||
|
|
||||||
|
LINKLIBSO = $(CC) $(c++FLAGS) -shared
|
||||||
|
LINKEXE = $(CC) $(c++FLAGS) -Xlinker --add-needed
|
||||||
2
wmake/rules/linuxARM64Fujitsu/c++Debug
Normal file
2
wmake/rules/linuxARM64Fujitsu/c++Debug
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
c++DBUG = -g -DFULLDEBUG
|
||||||
|
c++OPT = -O0
|
||||||
2
wmake/rules/linuxARM64Fujitsu/c++Opt
Normal file
2
wmake/rules/linuxARM64Fujitsu/c++Opt
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
c++DBUG =
|
||||||
|
c++OPT = -O3
|
||||||
2
wmake/rules/linuxARM64Fujitsu/c++Prof
Normal file
2
wmake/rules/linuxARM64Fujitsu/c++Prof
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
c++DBUG = -pg
|
||||||
|
c++OPT = -O2
|
||||||
2
wmake/rules/linuxARM64Fujitsu/cDebug
Normal file
2
wmake/rules/linuxARM64Fujitsu/cDebug
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
cDBUG = -g -DFULLDEBUG
|
||||||
|
cOPT = -O0
|
||||||
2
wmake/rules/linuxARM64Fujitsu/cOpt
Normal file
2
wmake/rules/linuxARM64Fujitsu/cOpt
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
cDBUG =
|
||||||
|
cOPT = -O3
|
||||||
2
wmake/rules/linuxARM64Fujitsu/cProf
Normal file
2
wmake/rules/linuxARM64Fujitsu/cProf
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
cDBUG = -pg
|
||||||
|
cOPT = -O2
|
||||||
9
wmake/rules/linuxARM64Fujitsu/general
Normal file
9
wmake/rules/linuxARM64Fujitsu/general
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
CPP = cpp -traditional-cpp $(GFLAGS)
|
||||||
|
|
||||||
|
PROJECT_LIBS = -l$(WM_PROJECT) -ldl
|
||||||
|
|
||||||
|
include $(GENERAL_RULES)/standard
|
||||||
|
include $(GENERAL_RULES)/Clang/openmp
|
||||||
|
|
||||||
|
include $(DEFAULT_RULES)/c
|
||||||
|
include $(DEFAULT_RULES)/c++
|
||||||
Reference in New Issue
Block a user