COMP: simplify openmp handling (#2617)

- remove old, unneeded -DUSE_OMP define.
- wmake -no-openmp option to add '~openmp' to WM_COMPILE_CONTROL

ENH: add bash completion handling for wmake
This commit is contained in:
Mark Olesen
2022-10-26 10:34:25 +02:00
parent fd55151a12
commit 24ffc5236d
13 changed files with 54 additions and 32 deletions

View File

@ -6,11 +6,10 @@
# \\ / A nd | www.openfoam.com
# \\/ M anipulation |
#------------------------------------------------------------------------------
# Copyright (C) 2017-2019 OpenCFD Ltd.
# Copyright (C) 2017-2022 OpenCFD Ltd.
#------------------------------------------------------------------------------
# License
# This file is part of OpenFOAM, licensed under GNU General Public License
# <http://www.gnu.org/licenses/>.
# This file is part of OpenFOAM, distributed under GPL-3.0-or-later.
#
# Script
# foamCreateCompletionCache
@ -195,7 +194,7 @@ extractOptions()
#------------------------------------------------------------------------------
# Default to standard search directories and a few scripts from bin/
[ "$#" -gt 0 ] || set -- ${searchDirs} paraFoam
[ "$#" -gt 0 ] || set -- ${searchDirs} paraFoam wmake
for item
do