Mercurial > mxe-octave
changeset 5598:9722214b6722
LLVM: Update to version 8.0.1.
* src/llvm.mk: Update version and checksum. Remove unused variable.
* src/llvm-2-demangle.patch: Add new patch that adds missing headers.
* dist-files.mk: Include new file in list.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Fri, 11 Dec 2020 20:46:31 +0100 |
parents | f367e764ca55 |
children | ac27eba752af |
files | dist-files.mk src/llvm-2-demangle.patch src/llvm.mk |
diffstat | 3 files changed, 19 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/dist-files.mk Sat Dec 05 20:56:44 2020 +0100 +++ b/dist-files.mk Fri Dec 11 20:46:31 2020 +0100 @@ -320,6 +320,7 @@ libxshmfence.mk \ libxslt.mk \ llvm-1-llvm-config.patch \ + llvm-2-demangle.patch \ llvm.mk \ log4cxx-1-gcc.4.4.patch \ log4cxx-2-pkgconfig.patch \
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/llvm-2-demangle.patch Fri Dec 11 20:46:31 2020 +0100 @@ -0,0 +1,15 @@ +MicrosoftDemangleNodes.h uses `uint8_t` without including `<cstdint>` and +std::string` without including `<string>`. + + +diff --git a/include/llvm/Demangle/MicrosoftDemangleNodes.h b/include/llvm/Demangle/MicrosoftDemangleNodes.h +--- a/include/llvm/Demangle/MicrosoftDemangleNodes.h ++++ b/include/llvm/Demangle/MicrosoftDemangleNodes.h +@@ -4,6 +4,8 @@ + #include "llvm/Demangle/Compiler.h" + #include "llvm/Demangle/StringView.h" + #include <array> ++#include <cstdint> ++#include <string> + + class OutputStream;
--- a/src/llvm.mk Sat Dec 05 20:56:44 2020 +0100 +++ b/src/llvm.mk Fri Dec 11 20:46:31 2020 +0100 @@ -3,9 +3,8 @@ PKG := llvm $(PKG)_IGNORE := -$(PKG)_VERSION := 7.1.0 -$(PKG)_CHECKSUM := d43bfea58a35e058b93a6af36a728cfc64add33d -$(PKG)_SUBDIR := llvm-$($(PKG)_VERSION).src +$(PKG)_VERSION := 8.0.1 +$(PKG)_CHECKSUM := 09964f9eabc364f221a3caefbdaea28557273b4a $(PKG)_FILE := llvm-$($(PKG)_VERSION).src.tar.xz $(PKG)_URL := https://github.com/llvm/llvm-project/releases/download/llvmorg-$($(PKG)_VERSION)/$($(PKG)_FILE) $(PKG)_DEPS := build-python @@ -100,7 +99,7 @@ $(MAKE) -C '$(1)/.build' -j $(JOBS) install DESTDIR='$(3)' # create symlink for shared library so that llvm-config can find it - cd '$(3)/$(HOST_BINDIR)' && ln -s LLVM.dll LLVM-$(word 1,$(subst ., ,$($(PKG)_VERSION))).$(word 2,$(subst ., ,$($(PKG)_VERSION))).dll + cd '$(3)/$(HOST_BINDIR)' && ln -s LLVM.dll LLVM-$(word 1,$(subst ., ,$($(PKG)_VERSION))).dll # install native llvm-config in HOST_BINDIR because it won't find the libs otherwise $(INSTALL) -d '$(HOST_BINDIR)'