aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichal Skalski <mskalski@mirantis.com>2016-02-15 18:23:09 +0100
committerMichal Skalski <mskalski@mirantis.com>2016-02-15 21:38:52 +0000
commit28047aa0687ee1b7f3db5e90393c752fe00ef686 (patch)
treeaa314a762bdcbc696508b2155b3bd6232b1365b7
parente609533b32d36471d23929abbddb1154655dcd71 (diff)
Build odl plugin with openjdk-8
Daniel Smith discover large resource consumption when SFC features are enabled and openjdk-7 is used. Following his advice we want to add option to use openjdk-8. Becuase this version is not offically available in ubuntu 14.04, it needs to be included inside plugin. This can be achieved by setting USE_JAVA8=true environment variable during plugin compilation Change-Id: Id029a00cea24d264b3c121e6adc50581b9ae1c9a Signed-off-by: Michal Skalski <mskalski@mirantis.com> (cherry picked from commit 714313863248ea0041c86b74c64f1ae6b48af825)
-rw-r--r--build/f_isoroot/f_odlpluginbuild/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/build/f_isoroot/f_odlpluginbuild/Makefile b/build/f_isoroot/f_odlpluginbuild/Makefile
index 36614a0ce..f2a47b7ad 100644
--- a/build/f_isoroot/f_odlpluginbuild/Makefile
+++ b/build/f_isoroot/f_odlpluginbuild/Makefile
@@ -11,6 +11,9 @@ TOP := $(shell pwd)
ODL_BRANCH=brahmaputra-release
ODL_REPO="https://github.com/openstack/fuel-plugin-opendaylight.git"
+export USE_JAVA8=true
+export JAVA8_URL=https://launchpad.net/~openjdk-r/+archive/ubuntu/ppa/+files/openjdk-8-jre-headless_8u72-b15-1~trusty1_amd64.deb
+
.PHONY: all
all: .odlbuild