kopia lustrzana https://dev.funkwhale.audio/funkwhale/funkwhale
fix(docs): Allow make to be run on MacOS
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2348>environments/review-docs-docs-ox2r7i/deployments/18559
rodzic
47efcb4b5a
commit
58a5733987
|
@ -1,5 +1,10 @@
|
|||
SHELL = bash
|
||||
UNAME := $(shell uname)
|
||||
ifeq ($(UNAME), Linux)
|
||||
CPU_CORES = $(shell N=$$(nproc); echo $$(( $$N > 4 ? 4 : $$N )))
|
||||
else
|
||||
CPU_CORES = $(shell N=$$(sysctl -n hw.physicalcpu); echo $$(( $$N > 4 ? 4 : $$N )))
|
||||
endif
|
||||
|
||||
# Install
|
||||
VENV = .venv
|
||||
|
|
Ładowanie…
Reference in New Issue