Skip to content

Commit c8edcd9

Browse files
authored
Merge pull request #817 from davidgiven/ab
Update ab.
2 parents 7db49ae + 3b60cdc commit c8edcd9

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

.github/workflows/ccpp.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
run: |
6666
brew install sqlite pkg-config libusb protobuf wxwidgets fmt make coreutils dylibbundler libjpeg
6767
- name: make
68-
run: gmake -C fluxengine -j2
68+
run: gmake -C fluxengine
6969
- name: Upload build artifacts
7070
uses: actions/upload-artifact@v4
7171
with:

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ jobs:
9797

9898
- name: make
9999
run: |
100-
gmake -j2
100+
gmake
101101
mv FluxEngine.pkg FluxEngine-${{ runner.arch }}.pkg
102102
103103
- name: tag

build/ab.mk

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,12 @@ $(PKG_CONFIG_HASHES) $(HOST_PKG_CONFIG_HASHES) &:
8787

8888
include $(OBJ)/build.mk
8989

90-
MAKEFLAGS += -r -j$(shell nproc)
90+
ifeq ($(OSX),yes)
91+
MAKEFLAGS += -r -j$(shell sysctl -n hw.logicalcpu)
92+
else
93+
MAKEFLAGS += -r -j$(shell nproc)
94+
endif
95+
9196
.DELETE_ON_ERROR:
9297

9398
.PHONY: update-ab

0 commit comments

Comments
 (0)