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 18:23:09 +0100
commit714313863248ea0041c86b74c64f1ae6b48af825 (patch)
treea375ffa978ca0ee8a793f6c7fb7b7c17c6e771fa
parentd5239547e7e6d01b825d7cef2aa2b3a4041b0123 (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>
-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