diff --git a/cross/intel-opencl-clang-140/Makefile b/cross/intel-opencl-clang-140/Makefile index e9aabe3d5e0f..0285269de95d 100644 --- a/cross/intel-opencl-clang-140/Makefile +++ b/cross/intel-opencl-clang-140/Makefile @@ -20,9 +20,8 @@ PKG_DIR = $(PKG_NAME)-$(PKG_GIT_HASH) REQUIRED_MIN_DSM = 7 UNSUPPORTED_ARCHS = $(ARM_ARCHS) $(PPC_ARCHS) $(i686_ARCHS) -BUILD_DEPENDS = cross/llvm-140.src cross/clang-140.src -BUILD_DEPENDS += cross/SPIRV-LLVM-Translator-140.src -BUILD_DEPENDS += cross/SPIRV-Headers.src +BUILD_DEPENDS = cross/llvm-140.src cross/clang-140.src cross/lld-140.src cross/libunwind-140.src +BUILD_DEPENDS += cross/SPIRV-LLVM-Translator-140.src cross/SPIRV-Headers.src DEPENDS += cross/SPIRV-Tools HOMEPAGE = https://github.com/intel/opencl-clang @@ -89,7 +88,7 @@ include ../../mk/spksrc.common.mk # ifeq ($(findstring $(ARCH),$(x64_ARCHS)),$(ARCH)) CMAKE_ARGS += -DLLVM_TARGETS_TO_BUILD=X86 -CMAKE_ARGS += -DLLVM_ENABLE_PROJECTS='clang' +CMAKE_ARGS += -DLLVM_ENABLE_PROJECTS='clang;lld' CMAKE_ARGS += -DLLVM_SOURCE_DIR=$(WORK_DIR)/llvm CMAKE_ARGS += -DLLVM_EXTERNAL_PROJECTS='llvm-spirv;opencl-clang' CMAKE_ARGS += -DLLVM_EXTERNAL_CLANG_SOURCE_DIR=$(WORK_DIR)/clang diff --git a/cross/libunwind-140.src/Makefile b/cross/libunwind-140.src/Makefile new file mode 100644 index 000000000000..56522bc46c2d --- /dev/null +++ b/cross/libunwind-140.src/Makefile @@ -0,0 +1,21 @@ +PKG_NAME = libunwind +PKG_VERS = 14.0.5 +PKG_EXT = tar.xz +PKG_DIST_NAME = $(PKG_NAME)-$(PKG_VERS).src.$(PKG_EXT) +PKG_DIST_SITE = https://github.com/llvm/llvm-project/releases/download/llvmorg-$(PKG_VERS) +PKG_DIR = $(PKG_NAME)-$(PKG_VERS).src + +HOMEPAGE = https://llvm.org/ +COMMENT = The LLVM Project is a collection of modular and reusable compiler and toolchain technologies +LICENSE = Apache v2.0 with LLVM Exceptions + +POST_EXTRACT_TARGET = llvm_post_extract_target +CONFIGURE_TARGET = nop +COMPILE_TARGET = nop +INSTALL_TARGET = nop + +include ../../mk/spksrc.cross-cmake.mk + +.PHONY: llvm_post_extract_target +llvm_post_extract_target: + @cd $(WORK_DIR) && ln -s $(PKG_DIR) $(PKG_NAME) diff --git a/cross/libunwind-140.src/digests b/cross/libunwind-140.src/digests new file mode 100644 index 000000000000..bf66268ffe3c --- /dev/null +++ b/cross/libunwind-140.src/digests @@ -0,0 +1,3 @@ +libunwind-14.0.5.src.tar.xz SHA1 2dfcc92ed5aed4c0ef1b2be029bdb258236943b5 +libunwind-14.0.5.src.tar.xz SHA256 81828d3318d4f6596c5b3625832d4b5e216c9a1fd3f53ceca561ac569aa07a3a +libunwind-14.0.5.src.tar.xz MD5 f96c8986e1b2e288ab1a373fbaa09352 diff --git a/cross/lld-140.src/Makefile b/cross/lld-140.src/Makefile new file mode 100644 index 000000000000..eeb01818af4b --- /dev/null +++ b/cross/lld-140.src/Makefile @@ -0,0 +1,21 @@ +PKG_NAME = lld +PKG_VERS = 14.0.5 +PKG_EXT = tar.xz +PKG_DIST_NAME = $(PKG_NAME)-$(PKG_VERS).src.$(PKG_EXT) +PKG_DIST_SITE = https://github.com/llvm/llvm-project/releases/download/llvmorg-$(PKG_VERS) +PKG_DIR = $(PKG_NAME)-$(PKG_VERS).src + +HOMEPAGE = https://llvm.org/ +COMMENT = The LLVM Project is a collection of modular and reusable compiler and toolchain technologies +LICENSE = Apache v2.0 with LLVM Exceptions + +POST_EXTRACT_TARGET = llvm_post_extract_target +CONFIGURE_TARGET = nop +COMPILE_TARGET = nop +INSTALL_TARGET = nop + +include ../../mk/spksrc.cross-cmake.mk + +.PHONY: llvm_post_extract_target +llvm_post_extract_target: + @cd $(WORK_DIR) && ln -s $(PKG_DIR) $(PKG_NAME) diff --git a/cross/lld-140.src/digests b/cross/lld-140.src/digests new file mode 100644 index 000000000000..45848b3d58f5 --- /dev/null +++ b/cross/lld-140.src/digests @@ -0,0 +1,3 @@ +lld-14.0.5.src.tar.xz SHA1 54963ee6465197be6912a3793b4464182062a613 +lld-14.0.5.src.tar.xz SHA256 8aa7be03500a37d8a1ff838f27c801648e2cb41828e7a8bc436d8d6e404224d8 +lld-14.0.5.src.tar.xz MD5 53c61cd4ea4dbdaba2efbaca9e583f0d