cmake VOM: j factor chosen based on number of cores 49/14749/2
authorNeale Ranns <nranns@cisco.com>
Mon, 10 Sep 2018 12:42:56 +0000 (05:42 -0700)
committerDamjan Marion <dmarion@me.com>
Mon, 10 Sep 2018 15:42:17 +0000 (15:42 +0000)
Change-Id: If1c27359cd93f6de6da9a93c3573997a51201959
Signed-off-by: Neale Ranns <nranns@cisco.com>
build-data/packages/vom.mk

index e3c827d..84b5bca 100644 (file)
@@ -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