From 762c095f4ed7c92bb8b90babcb775ddc5cc75812 Mon Sep 17 00:00:00 2001 From: Bernhard Gschaider <> Date: Tue, 12 Apr 2022 15:27:20 +0200 Subject: [PATCH] COMP: WM_SCHEDULER breaks compilation (fixes #2439) - only wrap compiler calls (not things like flex/bison) - avoid single quoted '&&' (causes syntax errors) STYLE: report WM_COMPILE_CONTROL value in top-level Allwmake --- Allwmake | 2 +- wmake/rules/General/bison | 26 ++++++++++++-------------- wmake/rules/General/btyacc | 8 ++++---- wmake/rules/General/btyacc++ | 8 ++++---- wmake/rules/General/byacc | 8 ++++---- wmake/rules/General/flex | 4 ++-- wmake/rules/General/flex++ | 8 ++++---- wmake/rules/General/general | 7 ++----- wmake/rules/General/lemon | 12 ++++++------ wmake/rules/General/moc | 4 ++-- wmake/rules/General/ragel | 4 ++-- wmake/rules/General/yacc | 16 ++++++++-------- 12 files changed, 51 insertions(+), 56 deletions(-) diff --git a/Allwmake b/Allwmake index 27f04e6d2e..d34b3665ec 100755 --- a/Allwmake +++ b/Allwmake @@ -37,7 +37,7 @@ echo echo ======================================== date "+%Y-%m-%d %H:%M:%S %z" 2>/dev/null || echo "date is unknown" echo "Starting compile ${WM_PROJECT_DIR##*/} ${0##*/}" -echo " $WM_COMPILER ${WM_COMPILER_TYPE:-system} compiler" +echo " $WM_COMPILER ${WM_COMPILER_TYPE:-system} compiler [${WM_COMPILE_CONTROL}]" echo " ${WM_OPTIONS}, with ${WM_MPLIB} ${FOAM_MPI}" echo ======================================== echo diff --git a/wmake/rules/General/bison b/wmake/rules/General/bison index 9b3862a075..21aab6a4af 100644 --- a/wmake/rules/General/bison +++ b/wmake/rules/General/bison @@ -1,26 +1,24 @@ SUFFIXES += .Y .y .yy .yy-m4 ytoo = $E $(call QUIET_MESSAGE,bison,$(