mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
COMP: wmake rules for AMD (clang-based) compiler (#1627)
- not fully tested
This commit is contained in:
15
wmake/rules/linux64Amd/c++
Normal file
15
wmake/rules/linux64Amd/c++
Normal file
@ -0,0 +1,15 @@
|
||||
# AMD compiler - a clang variant
|
||||
include $(GENERAL_RULES)/Clang/c++
|
||||
|
||||
c++ARCH = -m64
|
||||
|
||||
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)
|
||||
|
||||
include $(GENERAL_RULES)/Amd/link-c++
|
||||
Reference in New Issue
Block a user