aboutsummaryrefslogtreecommitdiffstats
path: root/build-data
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2018-09-10 05:42:56 -0700
committerDamjan Marion <dmarion@me.com>2018-09-10 15:42:17 +0000
commit255299c265c68a37157ecdf0d42bff8939b113fe (patch)
tree2a30ac0ae24175aa8cd793da03a6a54b7ac62590 /build-data
parent5beecec0766f49196bc1097c38e4ed2bed80dbd3 (diff)
cmake VOM: j factor chosen based on number of cores
Change-Id: If1c27359cd93f6de6da9a93c3573997a51201959 Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'build-data')
-rw-r--r--build-data/packages/vom.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/build-data/packages/vom.mk b/build-data/packages/vom.mk
index e3c827d074a..84b5bca86dd 100644
--- a/build-data/packages/vom.mk
+++ b/build-data/packages/vom.mk
@@ -39,5 +39,6 @@ vom_configure = \
cd $(PACKAGE_BUILD_DIR) && \
$(CMAKE) -G Ninja $(vom_cmake_args) $(call find_source_fn,$(PACKAGE_SOURCE))$(PACKAGE_SUBDIR)
-vom_build = $(CMAKE) --build $(PACKAGE_BUILD_DIR) -- -j 8
+vom_build = $(CMAKE) --build $(PACKAGE_BUILD_DIR) -- $(MAKE_PARALLEL_FLAGS)
+
vom_install = $(CMAKE) --build $(PACKAGE_BUILD_DIR) -- install