- Both clang and llvm from branch 8.0 are used only for pytoch glow package. This is to compile several native tools (source inside glow project) that are needed for nativesdk glow package, and demo-glow (one of these native tools is used to compile a model into armv7 object file).
Signed-off-by: Djordje Senicic <[email protected]> --- recipes-devtools/glow/clang8_git.bb | 29 ++++++++++++++++++++++++++ recipes-devtools/glow/llvm-glow_git.bb | 24 --------------------- 2 files changed, 29 insertions(+), 24 deletions(-) create mode 100644 recipes-devtools/glow/clang8_git.bb delete mode 100644 recipes-devtools/glow/llvm-glow_git.bb diff --git a/recipes-devtools/glow/clang8_git.bb b/recipes-devtools/glow/clang8_git.bb new file mode 100644 index 0000000..4d097a3 --- /dev/null +++ b/recipes-devtools/glow/clang8_git.bb @@ -0,0 +1,29 @@ +DESCRIPTION = "CLANG/LLVM compiler used only for native tools of pytorch glow neural network compiler " +HOMEPAGE = "https://github.com/llvm-mirror/llvm" +SECTION = "devel" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE.TXT;md5=c6b766a4e85dd28301eeed54a6684648" +PV = "8.0" +PR = "r0" + +DEPENDS = "python-native ninja protobuf libpng protobuf protobuf-c gflags glog " + +SOLIBVER = "1" + +BRANCH="release_80" + +SRC_URI = "git://github.com/llvm-mirror/llvm.git;protocol=https;branch=${BRANCH};destsuffix=git/llvm;name=llvm \ + git://github.com/llvm-mirror/clang.git;protocol=https;branch=${BRANCH};destsuffix=git/clang;name=clang \ + " + +SRCREV_llvm = "5563a6a769b48912b9c8052124520610966eda28" +SRCREV_clang = "ccfe04576c13497b9c422ceef0b6efe99077a392" + + +S = "${WORKDIR}/git/llvm" + +EXTRA_OECMAKE = "-DCMAKE_BUILD_TYPE=Release -DLLVM_INSTALL_UTILS=ON -DLLVM_ENABLE_PROJECTS=clang -DPYTHON_EXECUTABLE=${STAGING_DIR_NATIVE}/usr/bin/python-native/python " + +inherit pkgconfig cmake +BBCLASSEXTEND = "native " + diff --git a/recipes-devtools/glow/llvm-glow_git.bb b/recipes-devtools/glow/llvm-glow_git.bb deleted file mode 100644 index 58d392b..0000000 --- a/recipes-devtools/glow/llvm-glow_git.bb +++ /dev/null @@ -1,24 +0,0 @@ -DESCRIPTION = "LLVM release suggested for pytorch glow neural network compiler" -HOMEPAGE = "https://github.com/llvm-mirror/llvm" -SECTION = "devel" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://LICENSE.TXT;md5=c6b766a4e85dd28301eeed54a6684648" -PV = "8.0" -PR = "r0" - -DEPENDS = "ninja-native protobuf-native libpng-native protobuf-native protobuf-c-native gflags-native glog-native" - -SOLIBVER = "1" - -SRC_URI = "git://github.com/llvm-mirror/llvm.git;protocol=https;branch=release_80;rev=5563a6a769b48912b9c8052124520610966eda28;destsuffix=git/llvm \ - git://github.com/llvm-mirror/clang.git;protocol=https;branch=release_80;rev=ccfe04576c13497b9c422ceef0b6efe99077a392;destsuffix=git/clang \ - " - - -S = "${WORKDIR}/git/llvm" - -EXTRA_OECMAKE = "-DCMAKE_BUILD_TYPE=Release -DLLVM_INSTALL_UTILS=ON -DLLVM_ENABLE_PROJECTS=clang" - -inherit pkgconfig cmake - -BBCLASSEXTEND = "native nativesdk" -- 2.17.1 _______________________________________________ meta-arago mailing list [email protected] http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
