aboutsummaryrefslogtreecommitdiffstats
path: root/patches/fuel-plugin-opendaylight/0002-install_quagga.sh-Enable-parallel-build.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/fuel-plugin-opendaylight/0002-install_quagga.sh-Enable-parallel-build.patch')
-rw-r--r--patches/fuel-plugin-opendaylight/0002-install_quagga.sh-Enable-parallel-build.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/patches/fuel-plugin-opendaylight/0002-install_quagga.sh-Enable-parallel-build.patch b/patches/fuel-plugin-opendaylight/0002-install_quagga.sh-Enable-parallel-build.patch
new file mode 100644
index 00000000..249410dc
--- /dev/null
+++ b/patches/fuel-plugin-opendaylight/0002-install_quagga.sh-Enable-parallel-build.patch
@@ -0,0 +1,20 @@
+From: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
+Date: Thu, 23 Feb 2017 23:45:41 +0000 (+0100)
+Subject: install_quagga.sh: Enable parallel build
+
+install_quagga.sh: Enable parallel build
+
+Change-Id: I8b961ebacc6ab096200d1e124d8f50ed6e2b8217
+Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
+---
+
+diff --git a/pre_build_hook b/pre_build_hook
+index ab8b0a6..20dd715 100755
+--- a/pre_build_hook
++++ b/pre_build_hook
+@@ -78,3 +78,5 @@ sed -i 's/cd zrpcd/cd zrpcd \&\& git checkout eddf5bd6305ef52a2d39df99860c734935
+ sed -i 's/quagga_110_mpbgp_capnp/95bb0f4a5/' deployment_scripts/install_quagga.sh
+ # pin thrift to the latest version at this point in time
+ sed -i 's/cd thrift/cd thrift \&\& git checkout 0.10.0/' deployment_scripts/install_quagga.sh
++# enable parallel build
++sed -i 's|make$|make -j|g' deployment_scripts/install_quagga.sh