mirror of
https://github.com/aria2/aria2.git
synced 2026-04-02 02:38:50 +00:00
Merge pull request #1924 from aria2/fix-nproc
Deal with missing nproc on macos
This commit is contained in:
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@@ -62,4 +62,4 @@ jobs:
|
||||
CPPFLAGS="-fsanitize=address" LDFLAGS="-fsanitize=address"
|
||||
- name: Build aria2
|
||||
run: |
|
||||
make -j$(nproc) check
|
||||
make -j"$(nproc 2> /dev/null || sysctl -n hw.ncpu)" check
|
||||
|
||||
Reference in New Issue
Block a user