Codebase list emscripten / 6354fc0
use dpkg make snippet to resolve parallel builds Jonas Smedegaard 3 years ago
1 changed file(s) with 3 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
00 #!/usr/bin/make -f
11
22 include /usr/share/dpkg/pkg-info.mk
3 -include /usr/share/dpkg/buildopts.mk
34
45 # resolve if release is experimental
56 EXP_RELEASE = $(filter experimental% UNRELEASED,$(DEB_DISTRIBUTION))
67
78 DEB_VERSION_UPSTREAM_ORIG = $(firstword $(subst ~,$() ,$(DEB_VERSION_UPSTREAM)))
89
9 ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
10 NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
11 export EMCC_CORES=$(NUMJOBS)
10 ifneq (,$(DEB_BUILD_OPTION_PARALLEL))
11 export EMCC_CORES=$(DEB_BUILD_OPTION_PARALLEL)
1212 endif
1313
1414 EM_OPTS = PATH="$(CURDIR):$$PATH" EM_CACHE="$(CURDIR)/debian/em_cache"