mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
package/llvm: bump to version 11.1.0
Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com> Signed-off-by: James Hilliard <james.hilliard1@gmail.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
committed by
Arnout Vandecappelle (Essensium/Mind)
parent
776385d645
commit
456f704e6b
@@ -1,7 +1,7 @@
|
|||||||
config BR2_PACKAGE_CLANG
|
config BR2_PACKAGE_CLANG
|
||||||
bool "clang"
|
bool "clang"
|
||||||
depends on BR2_PACKAGE_LLVM_ARCH_SUPPORTS
|
depends on BR2_PACKAGE_LLVM_ARCH_SUPPORTS
|
||||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5
|
||||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||||
depends on BR2_INSTALL_LIBSTDCPP
|
depends on BR2_INSTALL_LIBSTDCPP
|
||||||
depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # std::shared_future
|
depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # std::shared_future
|
||||||
@@ -14,10 +14,10 @@ config BR2_PACKAGE_CLANG
|
|||||||
|
|
||||||
http://clang.llvm.org
|
http://clang.llvm.org
|
||||||
|
|
||||||
comment "clang needs a toolchain w/ wchar, threads, C++, gcc >= 4.8, dynamic library"
|
comment "clang needs a toolchain w/ wchar, threads, C++, gcc >= 5, dynamic library"
|
||||||
depends on BR2_PACKAGE_LLVM_ARCH_SUPPORTS
|
depends on BR2_PACKAGE_LLVM_ARCH_SUPPORTS
|
||||||
depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP || \
|
depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP || \
|
||||||
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 \
|
!BR2_TOOLCHAIN_GCC_AT_LEAST_5 \
|
||||||
|| BR2_STATIC_LIBS || !BR2_USE_WCHAR
|
|| BR2_STATIC_LIBS || !BR2_USE_WCHAR
|
||||||
|
|
||||||
comment "clang needs a toolchain not affected by GCC bug 64735"
|
comment "clang needs a toolchain not affected by GCC bug 64735"
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ config BR2_PACKAGE_LLVM_TARGET_ARCH
|
|||||||
config BR2_PACKAGE_LLVM
|
config BR2_PACKAGE_LLVM
|
||||||
bool "llvm"
|
bool "llvm"
|
||||||
depends on BR2_PACKAGE_LLVM_ARCH_SUPPORTS
|
depends on BR2_PACKAGE_LLVM_ARCH_SUPPORTS
|
||||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5
|
||||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||||
depends on BR2_INSTALL_LIBSTDCPP
|
depends on BR2_INSTALL_LIBSTDCPP
|
||||||
depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # std::shared_future
|
depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # std::shared_future
|
||||||
@@ -55,10 +55,10 @@ config BR2_PACKAGE_LLVM_BPF
|
|||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
comment "llvm needs a toolchain w/ wchar, threads, C++, gcc >= 4.8, dynamic library"
|
comment "llvm needs a toolchain w/ wchar, threads, C++, gcc >= 5, dynamic library"
|
||||||
depends on BR2_PACKAGE_LLVM_ARCH_SUPPORTS
|
depends on BR2_PACKAGE_LLVM_ARCH_SUPPORTS
|
||||||
depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP || \
|
depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP || \
|
||||||
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 \
|
!BR2_TOOLCHAIN_GCC_AT_LEAST_5 \
|
||||||
|| BR2_STATIC_LIBS || !BR2_USE_WCHAR
|
|| BR2_STATIC_LIBS || !BR2_USE_WCHAR
|
||||||
|
|
||||||
comment "llvm needs a toolchain not affected by GCC bug 64735"
|
comment "llvm needs a toolchain not affected by GCC bug 64735"
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
# locally calculated
|
# locally calculated
|
||||||
sha256 00a1ee1f389f81e9979f3a640a01c431b3021de0d42278f6508391a2f0b81c9a llvm-9.0.1.src.tar.xz
|
sha256 ce8508e318a01a63d4e8b3090ab2ded3c598a50258cc49e2625b9120d4c03ea5 llvm-11.1.0.src.tar.xz
|
||||||
sha256 8d85c1057d742e597985c7d4e6320b015a9139385cff4cbae06ffc0ebe89afee LICENSE.TXT
|
sha256 8d85c1057d742e597985c7d4e6320b015a9139385cff4cbae06ffc0ebe89afee LICENSE.TXT
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
# LLVM, Clang and lld should be version bumped together
|
# LLVM, Clang and lld should be version bumped together
|
||||||
LLVM_VERSION = 9.0.1
|
LLVM_VERSION = 11.1.0
|
||||||
LLVM_SITE = https://github.com/llvm/llvm-project/releases/download/llvmorg-$(LLVM_VERSION)
|
LLVM_SITE = https://github.com/llvm/llvm-project/releases/download/llvmorg-$(LLVM_VERSION)
|
||||||
LLVM_SOURCE = llvm-$(LLVM_VERSION).src.tar.xz
|
LLVM_SOURCE = llvm-$(LLVM_VERSION).src.tar.xz
|
||||||
LLVM_LICENSE = Apache-2.0 with exceptions
|
LLVM_LICENSE = Apache-2.0 with exceptions
|
||||||
@@ -157,15 +157,9 @@ LLVM_CONF_OPTS += -DLLVM_ENABLE_PIC=ON
|
|||||||
HOST_LLVM_CONF_OPTS += -DCMAKE_BUILD_TYPE=Release
|
HOST_LLVM_CONF_OPTS += -DCMAKE_BUILD_TYPE=Release
|
||||||
LLVM_CONF_OPTS += -DCMAKE_BUILD_TYPE=Release
|
LLVM_CONF_OPTS += -DCMAKE_BUILD_TYPE=Release
|
||||||
|
|
||||||
# Disable C++1y (ISO C++ 2014 standard)
|
# Compile llvm with the C++14 (ISO C++ 2014 standard).
|
||||||
# Disable C++1z (ISO C++ 2017 standard)
|
HOST_LLVM_CONF_OPTS += -DCMAKE_CXX_STANDARD=14
|
||||||
# Compile llvm with the C++11 (ISO C++ 2011 standard) which is the fallback.
|
LLVM_CONF_OPTS += -DCMAKE_CXX_STANDARD=14
|
||||||
HOST_LLVM_CONF_OPTS += \
|
|
||||||
-DLLVM_ENABLE_CXX1Y=OFF \
|
|
||||||
-DLLVM_ENABLE_CXX1Z=OFF
|
|
||||||
LLVM_CONF_OPTS += \
|
|
||||||
-DLLVM_ENABLE_CXX1Y=OFF \
|
|
||||||
-DLLVM_ENABLE_CXX1Z=OFF
|
|
||||||
|
|
||||||
# Disabled, requires sys/ndir.h header
|
# Disabled, requires sys/ndir.h header
|
||||||
# Disable debug in module
|
# Disable debug in module
|
||||||
@@ -237,13 +231,11 @@ endif
|
|||||||
HOST_LLVM_CONF_OPTS += \
|
HOST_LLVM_CONF_OPTS += \
|
||||||
-DLLVM_BUILD_EXTERNAL_COMPILER_RT=OFF \
|
-DLLVM_BUILD_EXTERNAL_COMPILER_RT=OFF \
|
||||||
-DLLVM_BUILD_RUNTIME=OFF \
|
-DLLVM_BUILD_RUNTIME=OFF \
|
||||||
-DLLVM_INCLUDE_RUNTIMES=OFF \
|
-DLLVM_INCLUDE_RUNTIMES=OFF
|
||||||
-DLLVM_POLLY_BUILD=OFF
|
|
||||||
LLVM_CONF_OPTS += \
|
LLVM_CONF_OPTS += \
|
||||||
-DLLVM_BUILD_EXTERNAL_COMPILER_RT=OFF \
|
-DLLVM_BUILD_EXTERNAL_COMPILER_RT=OFF \
|
||||||
-DLLVM_BUILD_RUNTIME=OFF \
|
-DLLVM_BUILD_RUNTIME=OFF \
|
||||||
-DLLVM_INCLUDE_RUNTIMES=OFF \
|
-DLLVM_INCLUDE_RUNTIMES=OFF
|
||||||
-DLLVM_POLLY_BUILD=OFF
|
|
||||||
|
|
||||||
HOST_LLVM_CONF_OPTS += \
|
HOST_LLVM_CONF_OPTS += \
|
||||||
-DLLVM_ENABLE_WARNINGS=ON \
|
-DLLVM_ENABLE_WARNINGS=ON \
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ config BR2_PACKAGE_MESA3D_NEEDS_ELFUTILS
|
|||||||
config BR2_PACKAGE_MESA3D_LLVM
|
config BR2_PACKAGE_MESA3D_LLVM
|
||||||
bool "llvm support"
|
bool "llvm support"
|
||||||
depends on BR2_PACKAGE_LLVM_ARCH_SUPPORTS
|
depends on BR2_PACKAGE_LLVM_ARCH_SUPPORTS
|
||||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5
|
||||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||||
depends on BR2_INSTALL_LIBSTDCPP
|
depends on BR2_INSTALL_LIBSTDCPP
|
||||||
depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # std::shared_future
|
depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # std::shared_future
|
||||||
@@ -32,10 +32,10 @@ config BR2_PACKAGE_MESA3D_LLVM
|
|||||||
depends on BR2_USE_WCHAR # std::wstring
|
depends on BR2_USE_WCHAR # std::wstring
|
||||||
select BR2_PACKAGE_LLVM
|
select BR2_PACKAGE_LLVM
|
||||||
|
|
||||||
comment "llvm support needs a toolchain w/ wchar, threads, C++, gcc >= 4.8, dynamic library"
|
comment "llvm support needs a toolchain w/ wchar, threads, C++, gcc >= 5, dynamic library"
|
||||||
depends on BR2_PACKAGE_LLVM_ARCH_SUPPORTS
|
depends on BR2_PACKAGE_LLVM_ARCH_SUPPORTS
|
||||||
depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP || \
|
depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP || \
|
||||||
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 \
|
!BR2_TOOLCHAIN_GCC_AT_LEAST_5 \
|
||||||
|| BR2_STATIC_LIBS || !BR2_USE_WCHAR
|
|| BR2_STATIC_LIBS || !BR2_USE_WCHAR
|
||||||
|
|
||||||
comment "llvm support needs a toolchain not affected by GCC bug 64735"
|
comment "llvm support needs a toolchain not affected by GCC bug 64735"
|
||||||
|
|||||||
Reference in New Issue
Block a user