pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/lang/llvm
Module Name: pkgsrc
Committed By: he
Date: Sun Sep 20 09:37:17 UTC 2020
Modified Files:
pkgsrc/lang/llvm: Makefile
Added Files:
pkgsrc/lang/llvm: hacks.mk
Removed Files:
pkgsrc/lang/llvm/patches: patch-cmake_modules_CheckAtomic.cmake
Log Message:
Re-instate the cmake configure check for whether -latomic is
required to gain access to 8-byte atomics. Add a hacks.mk file
to pull in devel/libatomic on powerpc ports. The reason is that
even though llvm itself doesn't need or use 8-byte atomics, other
programs refer to this installed CheckAtomic cmake file and may
indeed both need and use 8-byte atomics.
Verified that llvm still builds on NetBSD/macppc 9.0.
Bump PKGREVISION to 1.
To generate a diff of this commit:
cvs rdiff -u -r1.57 -r1.58 pkgsrc/lang/llvm/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/lang/llvm/hacks.mk
cvs rdiff -u -r1.2 -r0 \
pkgsrc/lang/llvm/patches/patch-cmake_modules_CheckAtomic.cmake
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/lang/llvm/Makefile
diff -u pkgsrc/lang/llvm/Makefile:1.57 pkgsrc/lang/llvm/Makefile:1.58
--- pkgsrc/lang/llvm/Makefile:1.57 Mon Jul 27 11:12:48 2020
+++ pkgsrc/lang/llvm/Makefile Sun Sep 20 09:37:17 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.57 2020/07/27 11:12:48 adam Exp $
+# $NetBSD: Makefile,v 1.58 2020/09/20 09:37:17 he Exp $
#
# when updating this, please also update:
# devel/include-what-you-use
@@ -25,6 +25,7 @@
DISTNAME= llvm-${LLVM_VERSION}.src
PKGNAME= ${DISTNAME:S/.src//}
+PKGREVISION= 1
CATEGORIES= lang devel
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
Added files:
Index: pkgsrc/lang/llvm/hacks.mk
diff -u /dev/null pkgsrc/lang/llvm/hacks.mk:1.1
--- /dev/null Sun Sep 20 09:37:17 2020
+++ pkgsrc/lang/llvm/hacks.mk Sun Sep 20 09:37:17 2020
@@ -0,0 +1,12 @@
+# $NetBSD: hacks.mk,v 1.1 2020/09/20 09:37:17 he Exp $
+
+.if !defined(LLVM_HACKS_MK)
+LLVM_HACKS_MK= defined
+
+# [Sun Sep 20 11:08:39 CEST 2020 : he]
+# On NetBSD/powerpc, use devel/libatomic to get 8-byte atomics.
+.if ${MACHINE_ARCH} == "powerpc"
+.include "../../devel/libatomic/buildlink3.mk"
+.endif
+
+.endif # LLVM_HACKS_MK
Home |
Main Index |
Thread Index |
Old Index