- 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-native_git.bb | 28 +++++++++++++++++++ ...ryInfo-Undefine-libc-functions-if-th.patch | 0 ...-llvm-allow-env-override-of-exe-path.patch | 0 .../glow/{llvm-glow_git.bb => llvm8_git.bb} | 0 4 files changed, 28 insertions(+) create mode 100644 recipes-devtools/glow/clang8-native_git.bb rename recipes-devtools/glow/{llvm-glow => llvm8}/0006-llvm-TargetLibraryInfo-Undefine-libc-functions-if-th.patch (100%) rename recipes-devtools/glow/{llvm-glow => llvm8}/0007-llvm-allow-env-override-of-exe-path.patch (100%) rename recipes-devtools/glow/{llvm-glow_git.bb => llvm8_git.bb} (100%) diff --git a/recipes-devtools/glow/clang8-native_git.bb b/recipes-devtools/glow/clang8-native_git.bb new file mode 100644 index 0000000..fadf35c --- /dev/null +++ b/recipes-devtools/glow/clang8-native_git.bb @@ -0,0 +1,28 @@ +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 = "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" + +inherit native pkgconfig cmake + diff --git a/recipes-devtools/glow/llvm-glow/0006-llvm-TargetLibraryInfo-Undefine-libc-functions-if-th.patch b/recipes-devtools/glow/llvm8/0006-llvm-TargetLibraryInfo-Undefine-libc-functions-if-th.patch similarity index 100% rename from recipes-devtools/glow/llvm-glow/0006-llvm-TargetLibraryInfo-Undefine-libc-functions-if-th.patch rename to recipes-devtools/glow/llvm8/0006-llvm-TargetLibraryInfo-Undefine-libc-functions-if-th.patch diff --git a/recipes-devtools/glow/llvm-glow/0007-llvm-allow-env-override-of-exe-path.patch b/recipes-devtools/glow/llvm8/0007-llvm-allow-env-override-of-exe-path.patch similarity index 100% rename from recipes-devtools/glow/llvm-glow/0007-llvm-allow-env-override-of-exe-path.patch rename to recipes-devtools/glow/llvm8/0007-llvm-allow-env-override-of-exe-path.patch diff --git a/recipes-devtools/glow/llvm-glow_git.bb b/recipes-devtools/glow/llvm8_git.bb similarity index 100% rename from recipes-devtools/glow/llvm-glow_git.bb rename to recipes-devtools/glow/llvm8_git.bb -- 2.17.1 _______________________________________________ meta-arago mailing list [email protected] http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
