mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
COMP: add wmake rules for Pgi compiler (#1234)
This commit is contained in:
7
wmake/rules/General/Pgi/c
Normal file
7
wmake/rules/General/Pgi/c
Normal file
@ -0,0 +1,7 @@
|
||||
SUFFIXES += .c
|
||||
|
||||
cc = pgcc
|
||||
|
||||
cDBUG =
|
||||
cOPT = -O2
|
||||
cWARN =
|
||||
13
wmake/rules/General/Pgi/c++
Normal file
13
wmake/rules/General/Pgi/c++
Normal file
@ -0,0 +1,13 @@
|
||||
SUFFIXES += .C .cc .cpp .cxx
|
||||
|
||||
CC = pgc++ -std=c++11
|
||||
|
||||
c++DBUG =
|
||||
c++OPT = -O2
|
||||
ptFLAGS = -DNoRepository
|
||||
|
||||
# - Standard warnings
|
||||
# - Less restrictive warnings (may be needed for flex++, CGAL, etc.)
|
||||
|
||||
c++WARN =
|
||||
c++LESSWARN =
|
||||
5
wmake/rules/General/Pgi/openmp
Normal file
5
wmake/rules/General/Pgi/openmp
Normal file
@ -0,0 +1,5 @@
|
||||
# Flags for compiling/linking openmp
|
||||
# The USE_OMP is for OpenFOAM-specific use (general use is _OPENMP)
|
||||
|
||||
COMP_OPENMP = -DUSE_OMP -fopenmp
|
||||
LINK_OPENMP = -lgomp
|
||||
Reference in New Issue
Block a user