]> granicus.if.org Git - php/commitdiff
Replaced deprecated `hw.ncpu` with `hm. logicalcpu`
authorGabriel Caruso <carusogabriel34@gmail.com>
Thu, 7 May 2020 20:55:20 +0000 (22:55 +0200)
committerGeorge Peter Banyard <girgias@php.net>
Wed, 3 Mar 2021 18:33:50 +0000 (18:33 +0000)
Found that at ziglang/zig#1252.

Closes GH-5541

azure/macos/job.yml

index de22bbb2ddd24602aa4b46bb9a44780e68e8754d..ed2e8d9d223e1213ede9cea61bb9f5101c84de92 100644 (file)
@@ -71,7 +71,7 @@ jobs:
       displayName: 'Configure Build'
     - script: |
         export PATH="/usr/local/opt/bison/bin:$PATH"
-        make -j$(sysctl -n hw.ncpu) >/dev/null
+        make -j$(sysctl -n hw.logicalcpu) >/dev/null
       displayName: 'Make Build'
     - script: |
         sudo make install