Build odl plugin with openjdk-8 33/10033/1
authorMichal Skalski <mskalski@mirantis.com>
Mon, 15 Feb 2016 17:23:09 +0000 (18:23 +0100)
committerMichal Skalski <mskalski@mirantis.com>
Mon, 15 Feb 2016 21:38:52 +0000 (21:38 +0000)
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)

build/f_isoroot/f_odlpluginbuild/Makefile

index 36614a0..f2a47b7 100644 (file)
@@ -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