Skip to content

Commit 255113e

Browse files
committed
Merge branch 'upstream-pr-927'
OSSystems#927
2 parents 07e23cd + 2f3184d commit 255113e

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

meta-chromium/recipes-browser/chromium/chromium-gn.inc

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -412,26 +412,6 @@ python do_create_v8_qemu_wrapper () {
412412
do_create_v8_qemu_wrapper[dirs] = "${B}"
413413
addtask create_v8_qemu_wrapper after do_patch before do_configure
414414

415-
# Check the LLVMVERSION defined in the meta-clang layer. Given Chromium is
416-
# developed using new C++ features, the LLVMVERSION has to be >= 14. Otherwise,
417-
# it is not guaranteed that Chromium will compile.
418-
python do_check_llvm_version () {
419-
from distutils.version import LooseVersion
420-
421-
min_llvm_version = "14.0.0"
422-
llvm_version = d.getVar('LLVMVERSION', False)
423-
if not llvm_version:
424-
bb.warn("Unable to determine LLVM version. Chromium may not be compiled "
425-
"successfully if the LLVM version is below %s." % min_llvm_version)
426-
return
427-
428-
if LooseVersion(llvm_version) < LooseVersion(min_llvm_version):
429-
bb.fatal("Your LLVMVERSION (%s) is lower than the minimum required "
430-
"LLVMVERSION (%s). If you are using dunfell, make sure you "
431-
"use dunfell-clang14 branch." % (llvm_version, min_llvm_version))
432-
}
433-
addtask check_llvm_version before do_configure
434-
435415
python do_write_toolchain_file () {
436416
"""Writes a BUILD.gn file for Yocto detailing its toolchains."""
437417
toolchain_dir = d.expand("${S}/build/toolchain/yocto")

0 commit comments

Comments
 (0)