diff --git a/package/llvm-project/llvm-libunwind/llvm-libunwind.hash b/package/llvm-project/llvm-libunwind/llvm-libunwind.hash new file mode 100644 index 0000000000..86775f5dba --- /dev/null +++ b/package/llvm-project/llvm-libunwind/llvm-libunwind.hash @@ -0,0 +1,3 @@ +# locally computed +sha256 0ab6e07bf05359e242e9ea80e4089b819914867fa997a715e324e584bcfdf114 libunwind-15.0.3.src.tar.xz +sha256 b5efebcaca80879234098e52d1725e6d9eb8fb96a19fce625d39184b705f7b6d LICENSE.TXT diff --git a/package/llvm-project/llvm-libunwind/llvm-libunwind.mk b/package/llvm-project/llvm-libunwind/llvm-libunwind.mk new file mode 100644 index 0000000000..825e1beac0 --- /dev/null +++ b/package/llvm-project/llvm-libunwind/llvm-libunwind.mk @@ -0,0 +1,18 @@ +################################################################################ +# +# llvm-libunwind +# +################################################################################ + +LLVM_LIBUNWIND_VERSION = 15.0.3 +LLVM_LIBUNWIND_SITE = $(LLVM_PROJECT_SITE) +LLVM_LIBUNWIND_SOURCE = libunwind-$(LLVM_LIBUNWIND_VERSION).src.tar.xz +LLVM_LIBUNWIND_LICENSE = Apache-2.0 with exceptions +LLVM_LIBUNWIND_LICENSE_FILES = LICENSE.TXT +LLVM_LIBUNWIND_SUPPORTS_IN_SOURCE_BUILD = NO + +HOST_LLVM_LIBUNWIND_CONF_OPTS += \ + -DCMAKE_MODULE_PATH="$(HOST_DIR)/lib/cmake/llvm" \ + -DLIBUNWIND_INSTALL_HEADERS=ON + +$(eval $(host-cmake-package))