mirror of
https://git.yoctoproject.org/poky
synced 2026-07-16 15:57:04 +00:00
682fda3e8d
- Patch 0005-egl-add-missing-include-stddef.h-in-egldevice.h.patch
was applied on commit e68777c87ceed02ab199b32f941778c3cf97c794.
- Refresh all patches
- mesa 19.0.0 deprecated the use of autotools and we need to add
--enable-autotools flag. For details see mesa commit:
e68777c87ceed02ab199b32f941778c3cf97c794
The complete change log can be found here:
https://www.mesa3d.org/relnotes/19.0.0.html
(From OE-Core rev: 50b7418869b7d2f40adbfbb0844f710d9aa5c396)
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
46 lines
1.6 KiB
Diff
46 lines
1.6 KiB
Diff
From ce7b9ff6517fda089f296b2af2c1c49604872514 Mon Sep 17 00:00:00 2001
|
|
From: Otavio Salvador <otavio@ossystems.com.br>
|
|
Date: Tue, 5 Jun 2018 11:11:10 -0300
|
|
Subject: [PATCH 3/4] Properly get LLVM version when using LLVM Git releases
|
|
Organization: O.S. Systems Software LTDA.
|
|
|
|
$ llvm-config-host --version
|
|
5.0.0git-9a5c333388c
|
|
|
|
We need to ignore everything after 5.0.0 which is what the cut cmd is
|
|
doing
|
|
|
|
Upstream-Status: Pending
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
|
|
---
|
|
configure.ac | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/configure.ac b/configure.ac
|
|
index 1816a4cd475..13fed9daf59 100644
|
|
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -1124,7 +1124,7 @@ strip_unwanted_llvm_flags() {
|
|
|
|
llvm_set_environment_variables() {
|
|
if test "x$LLVM_CONFIG" != xno; then
|
|
- LLVM_VERSION=`$LLVM_CONFIG --version | egrep -o '^[[0-9.]]+'`
|
|
+ LLVM_VERSION=`$LLVM_CONFIG --version | cut -c1-5`
|
|
LLVM_CPPFLAGS=`strip_unwanted_llvm_flags "$LLVM_CONFIG --cppflags"`
|
|
LLVM_INCLUDEDIR=`$LLVM_CONFIG --includedir`
|
|
LLVM_LIBDIR=`$LLVM_CONFIG --libdir`
|
|
@@ -2870,7 +2870,7 @@ detect_old_buggy_llvm() {
|
|
dnl ourselves.
|
|
dnl (See https://llvm.org/bugs/show_bug.cgi?id=6823)
|
|
dnl We can't use $LLVM_VERSION because it has 'svn' stripped out,
|
|
- LLVM_SO_NAME=LLVM-`$LLVM_CONFIG --version`
|
|
+ LLVM_SO_NAME=LLVM-`$LLVM_CONFIG --version | cut -c1-5`
|
|
AS_IF([test -f "$LLVM_LIBDIR/lib$LLVM_SO_NAME.$IMP_LIB_EXT"], [llvm_have_one_so=yes])
|
|
|
|
if test "x$llvm_have_one_so" = xyes; then
|
|
--
|
|
2.21.0
|
|
|