meta-ml: Remove bazel and openjdk recipes [YOCIMX-4269]

Since tensorflow recipe was removed, remove all the dependent recipes which is only
used by tensorflow

Signed-off-by: Neena Busireddy <neenareddy.busireddy@nxp.com>
This commit is contained in:
Neena Busireddy 2020-02-20 09:24:05 -06:00
parent 2232abbd55
commit 4c3fd6b7bd
2 changed files with 0 additions and 57 deletions

View File

@ -1,29 +0,0 @@
DESCRIPTION = "Bazel build and test tool"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
SRC_URI[md5sum] = "1c61644d37ed4496c73698180dfbcd68"
SRC_URI[sha256sum] = "d0e86d2f7881ec8742a9823a986017452d2da0dfe4e989111da787cb89257155"
SRC_URI = " https://github.com/bazelbuild/bazel/releases/download/${PV}/bazel-${PV}-dist.zip "
inherit native
S = "${WORKDIR}"
INHIBIT_SYSROOT_STRIP = "1"
do_compile () {
export JAVA_HOME="${bindir}/openjdk-1.8-native/"
./compile.sh
}
do_install () {
install -d ${D}${bindir}
cp -Rf \
${S}/output/* \
${D}${bindir}
}
DEPENDS += "openjdk-8-native"
RDEPENDS_${PN}-native += "openjdk-8-native"

View File

@ -1,28 +0,0 @@
DESCRIPTION = "Java runtime based upon the OpenJDK Project"
LICENSE = "GPL-2.0-with-classpath-exception"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/${LICENSE};md5=6133e6794362eff6641708cfcc075b80"
inherit native
INHIBIT_SYSROOT_STRIP = "1"
SRC_URI[md5sum] = "5573dd4caaebce2167ef4c8b7889915a"
SRC_URI[sha256sum] = "5dccd3d05f489cd6dc5fe645e5f71b3bd29c9f2f8cfac66c6f4d95bba362e639"
SRC_URI = " \
https://github.com/ojdkbuild/ojdkbuild/releases/download/1.8.0.151-1/java-1.8.0-openjdk-1.8.0.151-1.b12.el6_9.x86_64.zip \
"
S = "${WORKDIR}/java-1.8.0-openjdk-1.8.0.151-1.b12.el6_9.x86_64"
do_install () {
install -d ${D}${bindir}/openjdk-1.8-native
cp -Rf \
${S}/* \
${D}${bindir}/openjdk-1.8-native
cd ${D}${bindir}
ln -sf openjdk-1.8-native openjdk-native
for TOOL in $(cd openjdk-native/bin; ls); do
ln -sf openjdk-native/bin/${TOOL} ${TOOL}
done
}