summaryrefslogtreecommitdiffstats
path: root/patches/fuel-plugin-opendaylight/0002-install_quagga.sh-Enable-parallel-build.patch
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2017-02-24 02:39:55 +0100
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>2017-02-24 02:39:55 +0100
commit4b4f3784d08c0dea103fb93f452104ba7767f17e (patch)
tree0deebdd742f66c49bf24ed69bae4bb3c8806cc41 /patches/fuel-plugin-opendaylight/0002-install_quagga.sh-Enable-parallel-build.patch
parent398774083ee05973111226d62e9be7048c5063de (diff)
fuel-plugin-odl: install_quagga: Parallel build
Change-Id: I6b0de1cb7bff9d79d804795c428fe7d5ca2a070a Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
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