pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

rust: it turns out we don't need to depend on libunwind.



Module Name:	pkgsrc-wip
Committed By:	Havard Eidnes <he%NetBSD.org@localhost>
Pushed By:	he
Date:		Sat Apr 23 16:27:44 2022 +0200
Changeset:	9cbbd9eb872c4cec94b4833663fe90207323afa2

Modified Files:
	rust/options.mk

Log Message:
rust: it turns out we don't need to depend on libunwind.

Therefore, remove the workaround for sparc64 to always build
the internal llvm.  Works around PR#56791.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=9cbbd9eb872c4cec94b4833663fe90207323afa2

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 rust/options.mk | 8 --------
 1 file changed, 8 deletions(-)

diffs:
diff --git a/rust/options.mk b/rust/options.mk
index 8ae016d9e3..ddc7126dd7 100644
--- a/rust/options.mk
+++ b/rust/options.mk
@@ -20,13 +20,6 @@ PKG_SUGGESTED_OPTIONS+=		rust-llvm
 PKG_SUGGESTED_OPTIONS+=	rust-cargo-static
 .endif
 
-# (NetBSD)/sparc64 systems fail to build libunwind,
-# a dependency of pkgsrc llvm, so use the internal instead
-# Ref. PR#56791
-.if !empty(MACHINE_PLATFORM:MNetBSD-*-sparc64)
-PKG_SUGGESTED_OPTIONS+=		rust-llvm
-.endif
-
 .include "../../mk/bsd.options.mk"
 
 #
@@ -35,7 +28,6 @@ PKG_SUGGESTED_OPTIONS+=		rust-llvm
 #
 .if empty(PKG_OPTIONS:Mrust-llvm)
 BUILDLINK_API_DEPENDS.llvm+=	llvm>=12.0.0
-.include "../../lang/libunwind/buildlink3.mk"
 .include "../../lang/llvm/buildlink3.mk"
 CONFIGURE_ARGS+=	--enable-llvm-link-shared
 #CONFIGURE_ARGS+=	--llvm-libunwind=system


Home | Main Index | Thread Index | Old Index