Sfoglia il codice sorgente

Merge pull request #1055 from klimkjar/fix-illumos

Fix pyenv install on Solaris / Illumos
pull/1058/head
Yamashita, Yuu 8 anni fa
committed by GitHub
parent
commit
69d47d5fd7
Non sono state trovate chiavi note per questa firma nel database ID Chiave GPG: 4AEE18F83AFDEB23
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. +3
    -0
      plugins/python-build/bin/python-build

+ 3
- 0
plugins/python-build/bin/python-build Vedi File

@ -155,6 +155,9 @@ num_cpu_cores() {
Darwin | *BSD )
num="$(sysctl -n hw.ncpu 2>/dev/null || true)"
;;
SunOS )
num="$(getconf NPROCESSORS_ONLN 2>/dev/null || true)"
;;
* )
num="$({ getconf _NPROCESSORS_ONLN ||
grep -c ^processor /proc/cpuinfo; } 2>/dev/null)"

Caricamento…
Annulla
Salva