diff options
Diffstat (limited to 'meta/recipes-devtools/clang')
-rw-r--r-- | meta/recipes-devtools/clang/clang_git.bb | 6 | ||||
-rw-r--r-- | meta/recipes-devtools/clang/common-clang.inc | 2 | ||||
-rw-r--r-- | meta/recipes-devtools/clang/common.inc | 5 | ||||
-rw-r--r-- | meta/recipes-devtools/clang/compiler-rt_git.bb | 1 | ||||
-rw-r--r-- | meta/recipes-devtools/clang/llvm-project-source.inc | 1 |
5 files changed, 8 insertions, 7 deletions
diff --git a/meta/recipes-devtools/clang/clang_git.bb b/meta/recipes-devtools/clang/clang_git.bb index f958b72414..23dfbb5deb 100644 --- a/meta/recipes-devtools/clang/clang_git.bb +++ b/meta/recipes-devtools/clang/clang_git.bb | |||
@@ -22,7 +22,7 @@ INHIBIT_DEFAULT_DEPS:class-native = "1" | |||
22 | LDFLAGS:append:class-target:riscv32 = " -Wl,--no-as-needed -latomic -Wl,--as-needed" | 22 | LDFLAGS:append:class-target:riscv32 = " -Wl,--no-as-needed -latomic -Wl,--as-needed" |
23 | LDFLAGS:append:class-target:mips = " -Wl,--no-as-needed -latomic -Wl,--as-needed" | 23 | LDFLAGS:append:class-target:mips = " -Wl,--no-as-needed -latomic -Wl,--as-needed" |
24 | 24 | ||
25 | inherit cmake pkgconfig python3native python3targetconfig | 25 | inherit cmake pkgconfig python3native python3targetconfig multilib_header |
26 | 26 | ||
27 | OECMAKE_FIND_ROOT_PATH_MODE_PROGRAM = "BOTH" | 27 | OECMAKE_FIND_ROOT_PATH_MODE_PROGRAM = "BOTH" |
28 | 28 | ||
@@ -237,6 +237,9 @@ do_install:append() { | |||
237 | install -Dm 0755 ${B}${BINPATHPREFIX}/bin/$t ${D}${bindir}/$t | 237 | install -Dm 0755 ${B}${BINPATHPREFIX}/bin/$t ${D}${bindir}/$t |
238 | fi | 238 | fi |
239 | done | 239 | done |
240 | |||
241 | oe_multilib_header llvm/Config/llvm-config.h | ||
242 | oe_multilib_header clang/Config/config.h | ||
240 | } | 243 | } |
241 | 244 | ||
242 | do_install:append:class-target () { | 245 | do_install:append:class-target () { |
@@ -316,7 +319,6 @@ PROVIDES:append:class-nativesdk = " nativesdk-llvm nativesdk-libclc" | |||
316 | PACKAGES =+ "${PN}-libllvm ${PN}-lldb-python ${PN}-libclang-python ${PN}-libclang-cpp ${PN}-tidy ${PN}-format ${PN}-tools ${PN}-clc \ | 319 | PACKAGES =+ "${PN}-libllvm ${PN}-lldb-python ${PN}-libclang-python ${PN}-libclang-cpp ${PN}-tidy ${PN}-format ${PN}-tools ${PN}-clc \ |
317 | libclang lldb lldb-server liblldb llvm-linker-tools" | 320 | libclang lldb lldb-server liblldb llvm-linker-tools" |
318 | 321 | ||
319 | |||
320 | BBCLASSEXTEND = "native nativesdk" | 322 | BBCLASSEXTEND = "native nativesdk" |
321 | 323 | ||
322 | RDEPENDS:lldb += "${PN}-lldb-python lldb-server" | 324 | RDEPENDS:lldb += "${PN}-lldb-python lldb-server" |
diff --git a/meta/recipes-devtools/clang/common-clang.inc b/meta/recipes-devtools/clang/common-clang.inc index 15e6610b9b..cbea6b4d75 100644 --- a/meta/recipes-devtools/clang/common-clang.inc +++ b/meta/recipes-devtools/clang/common-clang.inc | |||
@@ -5,7 +5,7 @@ LLVM_HTTP ?= "https://github.com/llvm" | |||
5 | 5 | ||
6 | MAJOR_VER = "20" | 6 | MAJOR_VER = "20" |
7 | MINOR_VER = "1" | 7 | MINOR_VER = "1" |
8 | PATCH_VER = "6" | 8 | PATCH_VER = "7" |
9 | # could be 'rcX' or 'git' or empty ( for release ) | 9 | # could be 'rcX' or 'git' or empty ( for release ) |
10 | VER_SUFFIX = "" | 10 | VER_SUFFIX = "" |
11 | 11 | ||
diff --git a/meta/recipes-devtools/clang/common.inc b/meta/recipes-devtools/clang/common.inc index 5244298dfb..37d37ec197 100644 --- a/meta/recipes-devtools/clang/common.inc +++ b/meta/recipes-devtools/clang/common.inc | |||
@@ -17,7 +17,7 @@ BASEURI ?= "${LLVM_HTTP}/llvm-project/releases/download/llvmorg-${PV}/llvm-proje | |||
17 | UPSTREAM_CHECK_URI = "${LLVM_HTTP}/llvm-project/releases/" | 17 | UPSTREAM_CHECK_URI = "${LLVM_HTTP}/llvm-project/releases/" |
18 | UPSTREAM_CHECK_REGEX = "releases/tag/llvmorg-?(?P<pver>\d+(\.\d+)+)" | 18 | UPSTREAM_CHECK_REGEX = "releases/tag/llvmorg-?(?P<pver>\d+(\.\d+)+)" |
19 | SOURCEDIR ?= "llvm-project-${PV}.src" | 19 | SOURCEDIR ?= "llvm-project-${PV}.src" |
20 | SRC_URI[sha256sum] = "5c70549d524284c184fe9fbff862c3d2d7a61b787570611b5a30e5cc345f145e" | 20 | SRC_URI[sha256sum] = "cd8fd55d97ad3e360b1d5aaf98388d1f70dfffb7df36beee478be3b839ff9008" |
21 | 21 | ||
22 | SRC_URI = "\ | 22 | SRC_URI = "\ |
23 | ${BASEURI} \ | 23 | ${BASEURI} \ |
@@ -63,7 +63,8 @@ SRC_URI = "\ | |||
63 | # Fallback to no-PIE if not set | 63 | # Fallback to no-PIE if not set |
64 | GCCPIE ??= "" | 64 | GCCPIE ??= "" |
65 | 65 | ||
66 | S = "${TMPDIR}/work-shared/llvm-project-source-${PV}-${PR}/${SOURCEDIR}" | 66 | UNPACKDIR = "${TMPDIR}/work-shared/llvm-project-source-${PV}-${PR}/sources" |
67 | S = "${UNPACKDIR}/${SOURCEDIR}" | ||
67 | B ?= "${WORKDIR}/llvm-project-source-${PV}/build.${HOST_SYS}.${TARGET_SYS}" | 68 | B ?= "${WORKDIR}/llvm-project-source-${PV}/build.${HOST_SYS}.${TARGET_SYS}" |
68 | 69 | ||
69 | # We need to ensure that for the shared work directory, the do_patch signatures match | 70 | # We need to ensure that for the shared work directory, the do_patch signatures match |
diff --git a/meta/recipes-devtools/clang/compiler-rt_git.bb b/meta/recipes-devtools/clang/compiler-rt_git.bb index 7b442183ef..ff6cc29bf3 100644 --- a/meta/recipes-devtools/clang/compiler-rt_git.bb +++ b/meta/recipes-devtools/clang/compiler-rt_git.bb | |||
@@ -16,7 +16,6 @@ BPN = "compiler-rt" | |||
16 | 16 | ||
17 | inherit cmake pkgconfig python3native | 17 | inherit cmake pkgconfig python3native |
18 | 18 | ||
19 | |||
20 | LIC_FILES_CHKSUM = "file://compiler-rt/LICENSE.TXT;md5=d846d1d65baf322d4c485d6ee54e877a" | 19 | LIC_FILES_CHKSUM = "file://compiler-rt/LICENSE.TXT;md5=d846d1d65baf322d4c485d6ee54e877a" |
21 | 20 | ||
22 | LIBCPLUSPLUS = "" | 21 | LIBCPLUSPLUS = "" |
diff --git a/meta/recipes-devtools/clang/llvm-project-source.inc b/meta/recipes-devtools/clang/llvm-project-source.inc index 0820dd3492..13e54efbc2 100644 --- a/meta/recipes-devtools/clang/llvm-project-source.inc +++ b/meta/recipes-devtools/clang/llvm-project-source.inc | |||
@@ -66,7 +66,6 @@ python do_preconfigure() { | |||
66 | cmd = d.expand("sed -i 's#//CLANG_EXTRA_OE_VENDORS_CASES#%s#g' -i ${S}/llvm/lib/TargetParser/Triple.cpp" % (case)) | 66 | cmd = d.expand("sed -i 's#//CLANG_EXTRA_OE_VENDORS_CASES#%s#g' -i ${S}/llvm/lib/TargetParser/Triple.cpp" % (case)) |
67 | subprocess.check_output(cmd, stderr=subprocess.STDOUT, shell=True) | 67 | subprocess.check_output(cmd, stderr=subprocess.STDOUT, shell=True) |
68 | 68 | ||
69 | |||
70 | case = "" | 69 | case = "" |
71 | triple = "" | 70 | triple = "" |
72 | name = "" | 71 | name = "" |