From 2db13c11fa54f3720e655613d05abd455b4cab93 Mon Sep 17 00:00:00 2001 From: Anna Rift Date: Wed, 2 Oct 2024 14:03:05 -0700 Subject: [PATCH] Adjust dyno Makefile sed invocation to work on macOS Signed-off-by: Anna Rift --- compiler/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/Makefile b/compiler/Makefile index 78186898e931..9dea4339ed4c 100644 --- a/compiler/Makefile +++ b/compiler/Makefile @@ -182,7 +182,7 @@ frontend-shared: FORCE $(CHPL_CONFIG_CHECK) $(COMPILER_BUILD) test-frontend: FORCE frontend-tests $(CHPL_CONFIG_CHECK) $(COMPILER_BUILD) @echo "Running the frontend tests..." - JOBSFLAG=`echo "$$MAKEFLAGS" | sed -n 's/.*\(-j\|--jobs=\) *\([0-9][0-9]*\).*/-j\2/p'` ; \ + JOBSFLAG=`echo "$$MAKEFLAGS" | sed -n -E 's/.*(-j|--jobs=) *([0-9][0-9]*).*/-j\2/p'` ; \ cd $(COMPILER_BUILD)/frontend/test && ctest $$JOBSFLAG . ; frontend-tests: $(CHPL_CONFIG_CHECK) $(COMPILER_BUILD)