diff mbox series

[4/4] llvm: Upgrade to 6.0 release

Message ID bba83c6d8f4a7fc752066be5334a87f39c73ee68.1522567040.git.raj.khem@gmail.com
State Superseded
Headers show
Series llvm 6.0 update and Misc fixes | expand

Commit Message

Khem Raj April 1, 2018, 7:19 a.m. UTC
Signed-off-by: Khem Raj <raj.khem@gmail.com>

---
 ...etLibraryInfo-Undefine-libc-functions-if-th.patch | 20 ++++++++++----------
 .../0002-llvm-allow-env-override-of-exe-path.patch   |  4 ++--
 meta/recipes-devtools/llvm/llvm_git.bb               | 11 ++++++-----
 3 files changed, 18 insertions(+), 17 deletions(-)

-- 
2.16.3

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Comments

Martin Jansa April 3, 2018, 7:05 p.m. UTC | #1
Please update mesa.inc to require the new version. Now it depends on
removed 5.0:

meta/recipes-graphics/mesa/mesa.inc:MESA_LLVM_RELEASE ?= "5.0"

On Sun, Apr 1, 2018 at 9:19 AM, Khem Raj <raj.khem@gmail.com> wrote:

> Signed-off-by: Khem Raj <raj.khem@gmail.com>

> ---

>  ...etLibraryInfo-Undefine-libc-functions-if-th.patch | 20

> ++++++++++----------

>  .../0002-llvm-allow-env-override-of-exe-path.patch   |  4 ++--

>  meta/recipes-devtools/llvm/llvm_git.bb               | 11 ++++++-----

>  3 files changed, 18 insertions(+), 17 deletions(-)

>

> diff --git a/meta/recipes-devtools/llvm/llvm/0001-llvm-

> TargetLibraryInfo-Undefine-libc-functions-if-th.patch

> b/meta/recipes-devtools/llvm/llvm/0001-llvm-TargetLibraryInfo-Undefine-

> libc-functions-if-th.patch

> index e251799259..209764c8ba 100644

> --- a/meta/recipes-devtools/llvm/llvm/0001-llvm-

> TargetLibraryInfo-Undefine-libc-functions-if-th.patch

> +++ b/meta/recipes-devtools/llvm/llvm/0001-llvm-

> TargetLibraryInfo-Undefine-libc-functions-if-th.patch

> @@ -1,4 +1,4 @@

> -From 28293e48cf1a52004c6a78de448718441f9e05f9 Mon Sep 17 00:00:00 2001

> +From 96558c4f25d5132936014f6f2d6252cfdfdf478a Mon Sep 17 00:00:00 2001

>  From: Khem Raj <raj.khem@gmail.com>

>  Date: Sat, 21 May 2016 00:33:20 +0000

>  Subject: [PATCH 1/2] llvm: TargetLibraryInfo: Undefine libc functions if

> they

> @@ -15,10 +15,10 @@ Upstream-Status: Pending

>   1 file changed, 21 insertions(+)

>

>  diff --git a/include/llvm/Analysis/TargetLibraryInfo.def

> b/include/llvm/Analysis/TargetLibraryInfo.def

> -index 9cbe917c146..aff8419cf54 100644

> +index a461ed813b9..f9fd9faeee0 100644

>  --- a/include/llvm/Analysis/TargetLibraryInfo.def

>  +++ b/include/llvm/Analysis/TargetLibraryInfo.def

> -@@ -656,6 +656,9 @@ TLI_DEFINE_STRING_INTERNAL("fmodl")

> +@@ -665,6 +665,9 @@ TLI_DEFINE_STRING_INTERNAL("fmodl")

>   TLI_DEFINE_ENUM_INTERNAL(fopen)

>   TLI_DEFINE_STRING_INTERNAL("fopen")

>   /// FILE *fopen64(const char *filename, const char *opentype)

> @@ -28,7 +28,7 @@ index 9cbe917c146..aff8419cf54 100644

>   TLI_DEFINE_ENUM_INTERNAL(fopen64)

>   TLI_DEFINE_STRING_INTERNAL("fopen64")

>   /// int fprintf(FILE *stream, const char *format, ...);

> -@@ -691,6 +694,9 @@ TLI_DEFINE_STRING_INTERNAL("fseek")

> +@@ -700,6 +703,9 @@ TLI_DEFINE_STRING_INTERNAL("fseek")

>   /// int fseeko(FILE *stream, off_t offset, int whence);

>   TLI_DEFINE_ENUM_INTERNAL(fseeko)

>   TLI_DEFINE_STRING_INTERNAL("fseeko")

> @@ -38,7 +38,7 @@ index 9cbe917c146..aff8419cf54 100644

>   /// int fseeko64(FILE *stream, off64_t offset, int whence)

>   TLI_DEFINE_ENUM_INTERNAL(fseeko64)

>   TLI_DEFINE_STRING_INTERNAL("fseeko64")

> -@@ -701,6 +707,9 @@ TLI_DEFINE_STRING_INTERNAL("fsetpos")

> +@@ -710,6 +716,9 @@ TLI_DEFINE_STRING_INTERNAL("fsetpos")

>   TLI_DEFINE_ENUM_INTERNAL(fstat)

>   TLI_DEFINE_STRING_INTERNAL("fstat")

>   /// int fstat64(int filedes, struct stat64 *buf)

> @@ -48,7 +48,7 @@ index 9cbe917c146..aff8419cf54 100644

>   TLI_DEFINE_ENUM_INTERNAL(fstat64)

>   TLI_DEFINE_STRING_INTERNAL("fstat64")

>   /// int fstatvfs(int fildes, struct statvfs *buf);

> -@@ -716,6 +725,9 @@ TLI_DEFINE_STRING_INTERNAL("ftell")

> +@@ -725,6 +734,9 @@ TLI_DEFINE_STRING_INTERNAL("ftell")

>   TLI_DEFINE_ENUM_INTERNAL(ftello)

>   TLI_DEFINE_STRING_INTERNAL("ftello")

>   /// off64_t ftello64(FILE *stream)

> @@ -58,7 +58,7 @@ index 9cbe917c146..aff8419cf54 100644

>   TLI_DEFINE_ENUM_INTERNAL(ftello64)

>   TLI_DEFINE_STRING_INTERNAL("ftello64")

>   /// int ftrylockfile(FILE *file);

> -@@ -836,6 +848,9 @@ TLI_DEFINE_STRING_INTERNAL("logl")

> +@@ -845,6 +857,9 @@ TLI_DEFINE_STRING_INTERNAL("logl")

>   TLI_DEFINE_ENUM_INTERNAL(lstat)

>   TLI_DEFINE_STRING_INTERNAL("lstat")

>   /// int lstat64(const char *path, struct stat64 *buf);

> @@ -68,7 +68,7 @@ index 9cbe917c146..aff8419cf54 100644

>   TLI_DEFINE_ENUM_INTERNAL(lstat64)

>   TLI_DEFINE_STRING_INTERNAL("lstat64")

>   /// void *malloc(size_t size);

> -@@ -1055,6 +1070,9 @@ TLI_DEFINE_STRING_INTERNAL("sscanf")

> +@@ -1064,6 +1079,9 @@ TLI_DEFINE_STRING_INTERNAL("sscanf")

>   TLI_DEFINE_ENUM_INTERNAL(stat)

>   TLI_DEFINE_STRING_INTERNAL("stat")

>   /// int stat64(const char *path, struct stat64 *buf);

> @@ -78,7 +78,7 @@ index 9cbe917c146..aff8419cf54 100644

>   TLI_DEFINE_ENUM_INTERNAL(stat64)

>   TLI_DEFINE_STRING_INTERNAL("stat64")

>   /// int statvfs(const char *path, struct statvfs *buf);

> -@@ -1184,6 +1202,9 @@ TLI_DEFINE_STRING_INTERNAL("times")

> +@@ -1193,6 +1211,9 @@ TLI_DEFINE_STRING_INTERNAL("times")

>   TLI_DEFINE_ENUM_INTERNAL(tmpfile)

>   TLI_DEFINE_STRING_INTERNAL("tmpfile")

>   /// FILE *tmpfile64(void)

> @@ -89,5 +89,5 @@ index 9cbe917c146..aff8419cf54 100644

>   TLI_DEFINE_STRING_INTERNAL("tmpfile64")

>   /// int toascii(int c);

>  --

> -2.13.1

> +2.16.1

>

> diff --git a/meta/recipes-devtools/llvm/llvm/0002-llvm-allow-env-override-of-exe-path.patch

> b/meta/recipes-devtools/llvm/llvm/0002-llvm-allow-env-

> override-of-exe-path.patch

> index 832bd729ef..21d2f81b58 100644

> --- a/meta/recipes-devtools/llvm/llvm/0002-llvm-allow-env-

> override-of-exe-path.patch

> +++ b/meta/recipes-devtools/llvm/llvm/0002-llvm-allow-env-

> override-of-exe-path.patch

> @@ -1,4 +1,4 @@

> -From d776487bac17650704614248d19d1e6b35775001 Mon Sep 17 00:00:00 2001

> +From 2f8ea767afdaa440c6368040630e1b3ea6a0977a Mon Sep 17 00:00:00 2001

>  From: Martin Kelly <mkelly@xevo.com>

>  Date: Fri, 19 May 2017 00:22:57 -0700

>  Subject: [PATCH 2/2] llvm: allow env override of exe path

> @@ -35,5 +35,5 @@ index 08b096afb05..d8d7742744e 100644

>     // allow taking the address of ::main however.

>     void *P = (void *)(intptr_t)GetExecutablePath;

>  --

> -2.13.1

> +2.16.1

>

> diff --git a/meta/recipes-devtools/llvm/llvm_git.bb

> b/meta/recipes-devtools/llvm/llvm_git.bb

> index de06e12ae4..77c095d9a3 100644

> --- a/meta/recipes-devtools/llvm/llvm_git.bb

> +++ b/meta/recipes-devtools/llvm/llvm_git.bb

> @@ -8,7 +8,7 @@ SECTION = "devel"

>

>  LIC_FILES_CHKSUM = "file://LICENSE.TXT;md5=e825e017edc35cfd58e26116e52517

> 71"

>

> -DEPENDS = "libffi libxml2-native zlib ninja-native llvm-native"

> +DEPENDS = "libffi libxml2 zlib ninja-native llvm-native"

>

>  RDEPENDS_${PN}_append_class-target = " ncurses-terminfo"

>

> @@ -19,10 +19,11 @@ PROVIDES += "llvm${PV}"

>  LLVM_RELEASE = "${PV}"

>  LLVM_DIR = "llvm${LLVM_RELEASE}"

>

> -SRCREV = "81029f142231bde8e119becda112a2173f1459c9"

> -PV = "5.0"

> -PATCH_VERSION = "1"

> -SRC_URI = "git://github.com/llvm-mirror/llvm.git;branch=release_50;

> protocol=http \

> +SRCREV = "089d4c0c490687db6c75f1d074e99c4d42936a50"

> +PV = "6.0"

> +BRANCH = "release_60"

> +PATCH_VERSION = "0"

> +SRC_URI = "git://github.com/llvm-mirror/llvm.git;branch=${BRANCH};

> protocol=http \

>             file://0001-llvm-TargetLibraryInfo-Undefine-libc-functions-if-th.patch

> \

>             file://0002-llvm-allow-env-override-of-exe-path.patch \

>            "

> --

> 2.16.3

>

> --

> _______________________________________________

> Openembedded-core mailing list

> Openembedded-core@lists.openembedded.org

> http://lists.openembedded.org/mailman/listinfo/openembedded-core

>
<div dir="ltr">Please update mesa.inc to require the new version. Now it depends on removed 5.0:<div><br><div>meta/recipes-graphics/mesa/mesa.inc:MESA_LLVM_RELEASE ?= &quot;5.0&quot;<br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Apr 1, 2018 at 9:19 AM, Khem Raj <span dir="ltr">&lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Signed-off-by: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com">raj.khem@gmail.com</a>&gt;<br>
---<br>
 ...etLibraryInfo-Undefine-<wbr>libc-functions-if-th.patch | 20 ++++++++++----------<br>
 .../0002-llvm-allow-env-<wbr>override-of-exe-path.patch   |  4 ++--<br>
 meta/recipes-devtools/llvm/<a href="http://llvm_git.bb" rel="noreferrer" target="_blank">llv<wbr>m_git.bb</a>               | 11 ++++++-----<br>
 3 files changed, 18 insertions(+), 17 deletions(-)<br>
<br>
diff --git a/meta/recipes-devtools/llvm/<wbr>llvm/0001-llvm-<wbr>TargetLibraryInfo-Undefine-<wbr>libc-functions-if-th.patch b/meta/recipes-devtools/llvm/<wbr>llvm/0001-llvm-<wbr>TargetLibraryInfo-Undefine-<wbr>libc-functions-if-th.patch<br>
index e251799259..209764c8ba 100644<br>
--- a/meta/recipes-devtools/llvm/<wbr>llvm/0001-llvm-<wbr>TargetLibraryInfo-Undefine-<wbr>libc-functions-if-th.patch<br>
+++ b/meta/recipes-devtools/llvm/<wbr>llvm/0001-llvm-<wbr>TargetLibraryInfo-Undefine-<wbr>libc-functions-if-th.patch<br>
@@ -1,4 +1,4 @@<br>
-From 28293e48cf1a52004c6a78de448718<wbr>441f9e05f9 Mon Sep 17 00:00:00 2001<br>
+From 96558c4f25d5132936014f6f2d6252<wbr>cfdfdf478a Mon Sep 17 00:00:00 2001<br>
 From: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com">raj.khem@gmail.com</a>&gt;<br>
 Date: Sat, 21 May 2016 00:33:20 +0000<br>
 Subject: [PATCH 1/2] llvm: TargetLibraryInfo: Undefine libc functions if they<br>
@@ -15,10 +15,10 @@ Upstream-Status: Pending<br>
  1 file changed, 21 insertions(+)<br>
<br>
 diff --git a/include/llvm/Analysis/<wbr>TargetLibraryInfo.def b/include/llvm/Analysis/<wbr>TargetLibraryInfo.def<br>
-index 9cbe917c146..aff8419cf54 100644<br>
+index a461ed813b9..f9fd9faeee0 100644<br>
 --- a/include/llvm/Analysis/<wbr>TargetLibraryInfo.def<br>
 +++ b/include/llvm/Analysis/<wbr>TargetLibraryInfo.def<br>
-@@ -656,6 +656,9 @@ TLI_DEFINE_STRING_INTERNAL(&quot;<wbr>fmodl&quot;)<br>
+@@ -665,6 +665,9 @@ TLI_DEFINE_STRING_INTERNAL(&quot;<wbr>fmodl&quot;)<br>
  TLI_DEFINE_ENUM_INTERNAL(<wbr>fopen)<br>
  TLI_DEFINE_STRING_INTERNAL(&quot;<wbr>fopen&quot;)<br>
  /// FILE *fopen64(const char *filename, const char *opentype)<br>
@@ -28,7 +28,7 @@ index 9cbe917c146..aff8419cf54 100644<br>
  TLI_DEFINE_ENUM_INTERNAL(<wbr>fopen64)<br>
  TLI_DEFINE_STRING_INTERNAL(&quot;<wbr>fopen64&quot;)<br>
  /// int fprintf(FILE *stream, const char *format, ...);<br>
-@@ -691,6 +694,9 @@ TLI_DEFINE_STRING_INTERNAL(&quot;<wbr>fseek&quot;)<br>
+@@ -700,6 +703,9 @@ TLI_DEFINE_STRING_INTERNAL(&quot;<wbr>fseek&quot;)<br>
  /// int fseeko(FILE *stream, off_t offset, int whence);<br>
  TLI_DEFINE_ENUM_INTERNAL(<wbr>fseeko)<br>
  TLI_DEFINE_STRING_INTERNAL(&quot;<wbr>fseeko&quot;)<br>
@@ -38,7 +38,7 @@ index 9cbe917c146..aff8419cf54 100644<br>
  /// int fseeko64(FILE *stream, off64_t offset, int whence)<br>
  TLI_DEFINE_ENUM_INTERNAL(<wbr>fseeko64)<br>
  TLI_DEFINE_STRING_INTERNAL(&quot;<wbr>fseeko64&quot;)<br>
-@@ -701,6 +707,9 @@ TLI_DEFINE_STRING_INTERNAL(&quot;<wbr>fsetpos&quot;)<br>
+@@ -710,6 +716,9 @@ TLI_DEFINE_STRING_INTERNAL(&quot;<wbr>fsetpos&quot;)<br>
  TLI_DEFINE_ENUM_INTERNAL(<wbr>fstat)<br>
  TLI_DEFINE_STRING_INTERNAL(&quot;<wbr>fstat&quot;)<br>
  /// int fstat64(int filedes, struct stat64 *buf)<br>
@@ -48,7 +48,7 @@ index 9cbe917c146..aff8419cf54 100644<br>
  TLI_DEFINE_ENUM_INTERNAL(<wbr>fstat64)<br>
  TLI_DEFINE_STRING_INTERNAL(&quot;<wbr>fstat64&quot;)<br>
  /// int fstatvfs(int fildes, struct statvfs *buf);<br>
-@@ -716,6 +725,9 @@ TLI_DEFINE_STRING_INTERNAL(&quot;<wbr>ftell&quot;)<br>
+@@ -725,6 +734,9 @@ TLI_DEFINE_STRING_INTERNAL(&quot;<wbr>ftell&quot;)<br>
  TLI_DEFINE_ENUM_INTERNAL(<wbr>ftello)<br>
  TLI_DEFINE_STRING_INTERNAL(&quot;<wbr>ftello&quot;)<br>
  /// off64_t ftello64(FILE *stream)<br>
@@ -58,7 +58,7 @@ index 9cbe917c146..aff8419cf54 100644<br>
  TLI_DEFINE_ENUM_INTERNAL(<wbr>ftello64)<br>
  TLI_DEFINE_STRING_INTERNAL(&quot;<wbr>ftello64&quot;)<br>
  /// int ftrylockfile(FILE *file);<br>
-@@ -836,6 +848,9 @@ TLI_DEFINE_STRING_INTERNAL(&quot;<wbr>logl&quot;)<br>
+@@ -845,6 +857,9 @@ TLI_DEFINE_STRING_INTERNAL(&quot;<wbr>logl&quot;)<br>
  TLI_DEFINE_ENUM_INTERNAL(<wbr>lstat)<br>
  TLI_DEFINE_STRING_INTERNAL(&quot;<wbr>lstat&quot;)<br>
  /// int lstat64(const char *path, struct stat64 *buf);<br>
@@ -68,7 +68,7 @@ index 9cbe917c146..aff8419cf54 100644<br>
  TLI_DEFINE_ENUM_INTERNAL(<wbr>lstat64)<br>
  TLI_DEFINE_STRING_INTERNAL(&quot;<wbr>lstat64&quot;)<br>
  /// void *malloc(size_t size);<br>
-@@ -1055,6 +1070,9 @@ TLI_DEFINE_STRING_INTERNAL(&quot;<wbr>sscanf&quot;)<br>
+@@ -1064,6 +1079,9 @@ TLI_DEFINE_STRING_INTERNAL(&quot;<wbr>sscanf&quot;)<br>
  TLI_DEFINE_ENUM_INTERNAL(stat)<br>
  TLI_DEFINE_STRING_INTERNAL(&quot;<wbr>stat&quot;)<br>
  /// int stat64(const char *path, struct stat64 *buf);<br>
@@ -78,7 +78,7 @@ index 9cbe917c146..aff8419cf54 100644<br>
  TLI_DEFINE_ENUM_INTERNAL(<wbr>stat64)<br>
  TLI_DEFINE_STRING_INTERNAL(&quot;<wbr>stat64&quot;)<br>
  /// int statvfs(const char *path, struct statvfs *buf);<br>
-@@ -1184,6 +1202,9 @@ TLI_DEFINE_STRING_INTERNAL(&quot;<wbr>times&quot;)<br>
+@@ -1193,6 +1211,9 @@ TLI_DEFINE_STRING_INTERNAL(&quot;<wbr>times&quot;)<br>
  TLI_DEFINE_ENUM_INTERNAL(<wbr>tmpfile)<br>
  TLI_DEFINE_STRING_INTERNAL(&quot;<wbr>tmpfile&quot;)<br>
  /// FILE *tmpfile64(void)<br>
@@ -89,5 +89,5 @@ index 9cbe917c146..aff8419cf54 100644<br>
  TLI_DEFINE_STRING_INTERNAL(&quot;<wbr>tmpfile64&quot;)<br>
  /// int toascii(int c);<br>
 --<br>
-2.13.1<br>
+2.16.1<br>
<br>
diff --git a/meta/recipes-devtools/llvm/<wbr>llvm/0002-llvm-allow-env-<wbr>override-of-exe-path.patch b/meta/recipes-devtools/llvm/<wbr>llvm/0002-llvm-allow-env-<wbr>override-of-exe-path.patch<br>
index 832bd729ef..21d2f81b58 100644<br>
--- a/meta/recipes-devtools/llvm/<wbr>llvm/0002-llvm-allow-env-<wbr>override-of-exe-path.patch<br>
+++ b/meta/recipes-devtools/llvm/<wbr>llvm/0002-llvm-allow-env-<wbr>override-of-exe-path.patch<br>
@@ -1,4 +1,4 @@<br>
-From d776487bac17650704614248d19d1e<wbr>6b35775001 Mon Sep 17 00:00:00 2001<br>
+From 2f8ea767afdaa440c6368040630e1b<wbr>3ea6a0977a Mon Sep 17 00:00:00 2001<br>
 From: Martin Kelly &lt;<a href="mailto:mkelly@xevo.com">mkelly@xevo.com</a>&gt;<br>
 Date: Fri, 19 May 2017 00:22:57 -0700<br>
 Subject: [PATCH 2/2] llvm: allow env override of exe path<br>
@@ -35,5 +35,5 @@ index 08b096afb05..d8d7742744e 100644<br>
    // allow taking the address of ::main however.<br>
    void *P = (void *)(intptr_t)GetExecutablePath;<br>
 --<br>
-2.13.1<br>
+2.16.1<br>
<br>
diff --git a/meta/recipes-devtools/llvm/<a href="http://llvm_git.bb" rel="noreferrer" target="_blank">l<wbr>lvm_git.bb</a> b/meta/recipes-devtools/llvm/<a href="http://llvm_git.bb" rel="noreferrer" target="_blank">l<wbr>lvm_git.bb</a><br>
index de06e12ae4..77c095d9a3 100644<br>
--- a/meta/recipes-devtools/llvm/<a href="http://llvm_git.bb" rel="noreferrer" target="_blank">l<wbr>lvm_git.bb</a><br>
+++ b/meta/recipes-devtools/llvm/<a href="http://llvm_git.bb" rel="noreferrer" target="_blank">l<wbr>lvm_git.bb</a><br>
@@ -8,7 +8,7 @@ SECTION = &quot;devel&quot;<br>
<br>
 LIC_FILES_CHKSUM = &quot;file://LICENSE.TXT;md5=<wbr>e825e017edc35cfd58e26116e52517<wbr>71&quot;<br>
<br>
-DEPENDS = &quot;libffi libxml2-native zlib ninja-native llvm-native&quot;<br>
+DEPENDS = &quot;libffi libxml2 zlib ninja-native llvm-native&quot;<br>
<br>
 RDEPENDS_${PN}_append_class-<wbr>target = &quot; ncurses-terminfo&quot;<br>
<br>
@@ -19,10 +19,11 @@ PROVIDES += &quot;llvm${PV}&quot;<br>
 LLVM_RELEASE = &quot;${PV}&quot;<br>
 LLVM_DIR = &quot;llvm${LLVM_RELEASE}&quot;<br>
<br>
-SRCREV = &quot;<wbr>81029f142231bde8e119becda112a2<wbr>173f1459c9&quot;<br>
-PV = &quot;5.0&quot;<br>
-PATCH_VERSION = &quot;1&quot;<br>
-SRC_URI = &quot;git://<a href="http://github.com/llvm-mirror/llvm.git;branch=release_50;protocol=http" rel="noreferrer" target="_blank">github.com/llvm-mirror/<wbr>llvm.git;branch=release_50;<wbr>protocol=http</a> \<br>
+SRCREV = &quot;<wbr>089d4c0c490687db6c75f1d074e99c<wbr>4d42936a50&quot;<br>
+PV = &quot;6.0&quot;<br>
+BRANCH = &quot;release_60&quot;<br>
+PATCH_VERSION = &quot;0&quot;<br>
+SRC_URI = &quot;git://<a href="http://github.com/llvm-mirror/llvm.git;branch=${BRANCH};protocol=http" rel="noreferrer" target="_blank">github.com/llvm-mirror/<wbr>llvm.git;branch=${BRANCH};<wbr>protocol=http</a> \<br>
            file://0001-llvm-<wbr>TargetLibraryInfo-Undefine-<wbr>libc-functions-if-th.patch \<br>
            file://0002-llvm-allow-env-<wbr>override-of-exe-path.patch \<br>
           &quot;<br>
<span class="HOEnZb"><font color="#888888">--<br>
2.16.3<br>
<br>
--<br>
______________________________<wbr>_________________<br>
Openembedded-core mailing list<br>
<a href="mailto:Openembedded-core@lists.openembedded.org">Openembedded-core@lists.<wbr>openembedded.org</a><br>
<a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core" rel="noreferrer" target="_blank">http://lists.openembedded.org/<wbr>mailman/listinfo/openembedded-<wbr>core</a><br>
</font></span></blockquote></div><br></div>
-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core
diff mbox series

Patch

diff --git a/meta/recipes-devtools/llvm/llvm/0001-llvm-TargetLibraryInfo-Undefine-libc-functions-if-th.patch b/meta/recipes-devtools/llvm/llvm/0001-llvm-TargetLibraryInfo-Undefine-libc-functions-if-th.patch
index e251799259..209764c8ba 100644
--- a/meta/recipes-devtools/llvm/llvm/0001-llvm-TargetLibraryInfo-Undefine-libc-functions-if-th.patch
+++ b/meta/recipes-devtools/llvm/llvm/0001-llvm-TargetLibraryInfo-Undefine-libc-functions-if-th.patch
@@ -1,4 +1,4 @@ 
-From 28293e48cf1a52004c6a78de448718441f9e05f9 Mon Sep 17 00:00:00 2001
+From 96558c4f25d5132936014f6f2d6252cfdfdf478a Mon Sep 17 00:00:00 2001
 From: Khem Raj <raj.khem@gmail.com>
 Date: Sat, 21 May 2016 00:33:20 +0000
 Subject: [PATCH 1/2] llvm: TargetLibraryInfo: Undefine libc functions if they
@@ -15,10 +15,10 @@  Upstream-Status: Pending
  1 file changed, 21 insertions(+)
 
 diff --git a/include/llvm/Analysis/TargetLibraryInfo.def b/include/llvm/Analysis/TargetLibraryInfo.def
-index 9cbe917c146..aff8419cf54 100644
+index a461ed813b9..f9fd9faeee0 100644
 --- a/include/llvm/Analysis/TargetLibraryInfo.def
 +++ b/include/llvm/Analysis/TargetLibraryInfo.def
-@@ -656,6 +656,9 @@ TLI_DEFINE_STRING_INTERNAL("fmodl")
+@@ -665,6 +665,9 @@ TLI_DEFINE_STRING_INTERNAL("fmodl")
  TLI_DEFINE_ENUM_INTERNAL(fopen)
  TLI_DEFINE_STRING_INTERNAL("fopen")
  /// FILE *fopen64(const char *filename, const char *opentype)
@@ -28,7 +28,7 @@  index 9cbe917c146..aff8419cf54 100644
  TLI_DEFINE_ENUM_INTERNAL(fopen64)
  TLI_DEFINE_STRING_INTERNAL("fopen64")
  /// int fprintf(FILE *stream, const char *format, ...);
-@@ -691,6 +694,9 @@ TLI_DEFINE_STRING_INTERNAL("fseek")
+@@ -700,6 +703,9 @@ TLI_DEFINE_STRING_INTERNAL("fseek")
  /// int fseeko(FILE *stream, off_t offset, int whence);
  TLI_DEFINE_ENUM_INTERNAL(fseeko)
  TLI_DEFINE_STRING_INTERNAL("fseeko")
@@ -38,7 +38,7 @@  index 9cbe917c146..aff8419cf54 100644
  /// int fseeko64(FILE *stream, off64_t offset, int whence)
  TLI_DEFINE_ENUM_INTERNAL(fseeko64)
  TLI_DEFINE_STRING_INTERNAL("fseeko64")
-@@ -701,6 +707,9 @@ TLI_DEFINE_STRING_INTERNAL("fsetpos")
+@@ -710,6 +716,9 @@ TLI_DEFINE_STRING_INTERNAL("fsetpos")
  TLI_DEFINE_ENUM_INTERNAL(fstat)
  TLI_DEFINE_STRING_INTERNAL("fstat")
  /// int fstat64(int filedes, struct stat64 *buf)
@@ -48,7 +48,7 @@  index 9cbe917c146..aff8419cf54 100644
  TLI_DEFINE_ENUM_INTERNAL(fstat64)
  TLI_DEFINE_STRING_INTERNAL("fstat64")
  /// int fstatvfs(int fildes, struct statvfs *buf);
-@@ -716,6 +725,9 @@ TLI_DEFINE_STRING_INTERNAL("ftell")
+@@ -725,6 +734,9 @@ TLI_DEFINE_STRING_INTERNAL("ftell")
  TLI_DEFINE_ENUM_INTERNAL(ftello)
  TLI_DEFINE_STRING_INTERNAL("ftello")
  /// off64_t ftello64(FILE *stream)
@@ -58,7 +58,7 @@  index 9cbe917c146..aff8419cf54 100644
  TLI_DEFINE_ENUM_INTERNAL(ftello64)
  TLI_DEFINE_STRING_INTERNAL("ftello64")
  /// int ftrylockfile(FILE *file);
-@@ -836,6 +848,9 @@ TLI_DEFINE_STRING_INTERNAL("logl")
+@@ -845,6 +857,9 @@ TLI_DEFINE_STRING_INTERNAL("logl")
  TLI_DEFINE_ENUM_INTERNAL(lstat)
  TLI_DEFINE_STRING_INTERNAL("lstat")
  /// int lstat64(const char *path, struct stat64 *buf);
@@ -68,7 +68,7 @@  index 9cbe917c146..aff8419cf54 100644
  TLI_DEFINE_ENUM_INTERNAL(lstat64)
  TLI_DEFINE_STRING_INTERNAL("lstat64")
  /// void *malloc(size_t size);
-@@ -1055,6 +1070,9 @@ TLI_DEFINE_STRING_INTERNAL("sscanf")
+@@ -1064,6 +1079,9 @@ TLI_DEFINE_STRING_INTERNAL("sscanf")
  TLI_DEFINE_ENUM_INTERNAL(stat)
  TLI_DEFINE_STRING_INTERNAL("stat")
  /// int stat64(const char *path, struct stat64 *buf);
@@ -78,7 +78,7 @@  index 9cbe917c146..aff8419cf54 100644
  TLI_DEFINE_ENUM_INTERNAL(stat64)
  TLI_DEFINE_STRING_INTERNAL("stat64")
  /// int statvfs(const char *path, struct statvfs *buf);
-@@ -1184,6 +1202,9 @@ TLI_DEFINE_STRING_INTERNAL("times")
+@@ -1193,6 +1211,9 @@ TLI_DEFINE_STRING_INTERNAL("times")
  TLI_DEFINE_ENUM_INTERNAL(tmpfile)
  TLI_DEFINE_STRING_INTERNAL("tmpfile")
  /// FILE *tmpfile64(void)
@@ -89,5 +89,5 @@  index 9cbe917c146..aff8419cf54 100644
  TLI_DEFINE_STRING_INTERNAL("tmpfile64")
  /// int toascii(int c);
 -- 
-2.13.1
+2.16.1
 
diff --git a/meta/recipes-devtools/llvm/llvm/0002-llvm-allow-env-override-of-exe-path.patch b/meta/recipes-devtools/llvm/llvm/0002-llvm-allow-env-override-of-exe-path.patch
index 832bd729ef..21d2f81b58 100644
--- a/meta/recipes-devtools/llvm/llvm/0002-llvm-allow-env-override-of-exe-path.patch
+++ b/meta/recipes-devtools/llvm/llvm/0002-llvm-allow-env-override-of-exe-path.patch
@@ -1,4 +1,4 @@ 
-From d776487bac17650704614248d19d1e6b35775001 Mon Sep 17 00:00:00 2001
+From 2f8ea767afdaa440c6368040630e1b3ea6a0977a Mon Sep 17 00:00:00 2001
 From: Martin Kelly <mkelly@xevo.com>
 Date: Fri, 19 May 2017 00:22:57 -0700
 Subject: [PATCH 2/2] llvm: allow env override of exe path
@@ -35,5 +35,5 @@  index 08b096afb05..d8d7742744e 100644
    // allow taking the address of ::main however.
    void *P = (void *)(intptr_t)GetExecutablePath;
 -- 
-2.13.1
+2.16.1
 
diff --git a/meta/recipes-devtools/llvm/llvm_git.bb b/meta/recipes-devtools/llvm/llvm_git.bb
index de06e12ae4..77c095d9a3 100644
--- a/meta/recipes-devtools/llvm/llvm_git.bb
+++ b/meta/recipes-devtools/llvm/llvm_git.bb
@@ -8,7 +8,7 @@  SECTION = "devel"
 
 LIC_FILES_CHKSUM = "file://LICENSE.TXT;md5=e825e017edc35cfd58e26116e5251771"
 
-DEPENDS = "libffi libxml2-native zlib ninja-native llvm-native"
+DEPENDS = "libffi libxml2 zlib ninja-native llvm-native"
 
 RDEPENDS_${PN}_append_class-target = " ncurses-terminfo"
 
@@ -19,10 +19,11 @@  PROVIDES += "llvm${PV}"
 LLVM_RELEASE = "${PV}"
 LLVM_DIR = "llvm${LLVM_RELEASE}"
 
-SRCREV = "81029f142231bde8e119becda112a2173f1459c9"
-PV = "5.0"
-PATCH_VERSION = "1"
-SRC_URI = "git://github.com/llvm-mirror/llvm.git;branch=release_50;protocol=http \
+SRCREV = "089d4c0c490687db6c75f1d074e99c4d42936a50"
+PV = "6.0"
+BRANCH = "release_60"
+PATCH_VERSION = "0"
+SRC_URI = "git://github.com/llvm-mirror/llvm.git;branch=${BRANCH};protocol=http \
            file://0001-llvm-TargetLibraryInfo-Undefine-libc-functions-if-th.patch \
            file://0002-llvm-allow-env-override-of-exe-path.patch \
           "