summaryrefslogtreecommitdiff
path: root/cmd/shlibsign
diff options
context:
space:
mode:
authorJan-Marek Glogowski <glogow@fbihome.de>2020-05-05 12:28:43 +0000
committerJan-Marek Glogowski <glogow@fbihome.de>2020-05-05 12:28:43 +0000
commit67fdc06273c2a423e32d6e78f9ae046a7ef3a9db (patch)
tree29b2d07fdb87b65acb4641bc851564a8dd263ea2 /cmd/shlibsign
parente41bdc85df87fec3dbdce52568d217ae0d58127c (diff)
downloadnss-hg-67fdc06273c2a423e32d6e78f9ae046a7ef3a9db.tar.gz
Bug 290526 Parallelize part of the NSS build r=rrelyea
This still serializes many targets, but at least these targets themself run their build in parallel. The main serialization happens in nss/Makefile and nss/coreconf/rules.mk's all target. We can't add these as real dependencies, as all Makefile snippets use the same variable names. I tried to always run sub-makes to hack in the depndencies, but these don't know of each other, so targets very often run twice, and this breaks the build. Having a tests:: target and a tests directory leads to misery (and doesn't work), so it's renamed to check. This just works with NSS_DISABLE_GTESTS=1 specified and is fixed by a follow up patch, which removes the double-colon usage and adds the directory dependencies! Differential Revision: https://phabricator.services.mozilla.com/D69019
Diffstat (limited to 'cmd/shlibsign')
-rw-r--r--cmd/shlibsign/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/cmd/shlibsign/Makefile b/cmd/shlibsign/Makefile
index 83f90faa0..30f01ba40 100644
--- a/cmd/shlibsign/Makefile
+++ b/cmd/shlibsign/Makefile
@@ -95,5 +95,6 @@ else
endif
endif
-libs install :: $(CHECKLOC)
-
+libs::
+ $(MAKE) install
+ $(MAKE) $(CHECKLOC)