From 714313863248ea0041c86b74c64f1ae6b48af825 Mon Sep 17 00:00:00 2001 From: Michal Skalski Date: Mon, 15 Feb 2016 18:23:09 +0100 Subject: [PATCH] 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 --- build/f_isoroot/f_odlpluginbuild/Makefile | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.16.6