Skip to content

Commit

Permalink
Adjust dyno Makefile sed invocation to work on macOS
Browse files Browse the repository at this point in the history
Signed-off-by: Anna Rift <anna.rift@hpe.com>
  • Loading branch information
riftEmber committed Oct 2, 2024
1 parent ffa6df5 commit 2db13c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 2db13c1

Please sign in to comment.