mirror of
https://github.com/falk-werner/webfuse-provider
synced 2024-10-27 20:44:10 +00:00
Merge commit 'cc789d18b123fc1f6518edab4097cd01e3453360'
This commit is contained in:
commit
72228bee48
@ -552,7 +552,7 @@ HOST_CONTAINER = $(call memorize,HOST_CONTAINER,$(DOBUILD_HOSTCONTAINER))
|
||||
SOURCE_DATE_EPOCH ?= $(call memorize,SOURCE_DATE_EPOCH,$(shell $(DOBUILDDIR)/bin/get_source_date_epoch $(TOPDIR)))
|
||||
BUILDTIME = $(call memorize,BUILDTIME,$(shell date -u -d '@$(SOURCE_DATE_EPOCH)' --rfc-3339 ns 2>/dev/null))
|
||||
|
||||
JOBSLOTS_DEFAULT = $(if $(findstring --jobserver-,$(make_cmdline)),2,$(shell nproc 2>/dev/null || echo '2'))
|
||||
JOBSLOTS_DEFAULT = $(if $(findstring --jobserver-,$(make_cmdline)),2,$(nproc))
|
||||
JOBSLOTS = $(call memorize,JOBSLOTS,$(or $(DOBUILD_JOBSLOTS),$(JOBSLOTS_DEFAULT)))
|
||||
|
||||
SKIP_MD5SUM = $(call memorize,SKIP_MD5SUM,$(DOBUILD_SKIPMD5SUM))
|
||||
@ -590,6 +590,7 @@ $(VERBOSE)SILENT := @
|
||||
make_pid = $(call memorize,make_pid,$(shell echo "$$PPID"))
|
||||
make_cmdline = $(call memorize,make_cmdline,$(shell set -- $$(ps T 2>/dev/null | sed -n -e 's!^\s*$(make_pid)\s\+.*\($(call escape,$(MAKE),!)\s\+.*\)!\1!p') && echo "$$@"))
|
||||
|
||||
nproc = $(call memorize,nproc,$(shell nproc || echo '1'))
|
||||
machine = $(call memorize,machine,$(shell uname -m 2>/dev/null))
|
||||
|
||||
make_version = $(MAKE_VERSION)
|
||||
|
@ -344,7 +344,7 @@ ifeq ($(docker_portable_workspace),)
|
||||
container_destdir = $(abspath $(DESTDIR))
|
||||
endif
|
||||
|
||||
container_cpus = $(call min,$(INTERNPARALLEL) $(JOBSLOTS_DEFAULT))
|
||||
container_cpus = $(call min,$(INTERNPARALLEL) $(nproc))
|
||||
container_cpuperiod = 100000
|
||||
container_quota = $(call bc,($(container_cpus)*$(container_cpuperiod)))
|
||||
container_nproc = $(INTERNPARALLEL)
|
||||
|
@ -105,7 +105,7 @@ generic_default_prerequisites = \
|
||||
|
||||
# retrieves the target generic default extension directory
|
||||
# $(call generic_default_extdir,target-name)
|
||||
generic_default_extdir = $(addprefix $(PROJECTDIR)/dobuild-extensions/,$(cache.$1.adapter))
|
||||
generic_default_extdir = $(addprefix $(addsuffix /,$(EXTDIR)),$(cache.$1.adapter))
|
||||
|
||||
# creates a generic run rule command
|
||||
# $(call generic_run_cmd,target-name,command[,args],alternative-command[,output-command])
|
||||
|
Loading…
Reference in New Issue
Block a user