From b682f763397abbbee3a47569d36fcb49127a3e0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=9C=E9=83=A8=E6=98=8C=E5=B9=B3?= Date: Mon, 25 Oct 2021 13:39:27 +0900 Subject: [PATCH] GNUMAKEFLAGS is too new for mac It is relatively well known that mac does not update its command line tools, and make is no exception. They ship GNU make 3.x, which didn't yet implemented GNUMAKEFLAGS. Resort to MAKEFLAGS there. --- .github/workflows/macos.yml | 2 +- .github/workflows/yjit-macos.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 8d7fee2970..20d14766f7 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -27,7 +27,7 @@ jobs: working-directory: src - name: Set ENV run: | - echo "GNUMAKEFLAGS=-j$((1 + $(sysctl -n hw.activecpu)))" >> $GITHUB_ENV + echo "MAKEFLAGS=-j$((1 + $(sysctl -n hw.activecpu)))" >> $GITHUB_ENV - run: ./autogen.sh working-directory: src - name: Run configure diff --git a/.github/workflows/yjit-macos.yml b/.github/workflows/yjit-macos.yml index fbaa232900..c19f623337 100644 --- a/.github/workflows/yjit-macos.yml +++ b/.github/workflows/yjit-macos.yml @@ -34,7 +34,7 @@ jobs: working-directory: src - name: Set ENV run: | - echo "GNUMAKEFLAGS=-j$((1 + $(sysctl -n hw.activecpu)))" >> $GITHUB_ENV + echo "MAKEFLAGS=-j$((1 + $(sysctl -n hw.activecpu)))" >> $GITHUB_ENV - run: ./autogen.sh working-directory: src - name: Run configure