pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang lang: Import libcxxabi version 6.0.1.
details: https://anonhg.NetBSD.org/pkgsrc/rev/4b97e0cf2f6b
branches: trunk
changeset: 311382:4b97e0cf2f6b
user: jperkin <jperkin%pkgsrc.org@localhost>
date: Thu Aug 09 14:13:25 2018 +0000
description:
lang: Import libcxxabi version 6.0.1.
libc++abi is a new implementation of low level support for a standard
C++ library.
Features and Goals
* Correctness as defined by the C++11 standard.
* Provide a portable sublayer to ease the porting of libc++
* On Mac OS X, be ABI compatible with the existing low-level support.
diffstat:
lang/Makefile | 3 ++-
lang/libcxxabi/DESCR | 7 +++++++
lang/libcxxabi/Makefile | 41 +++++++++++++++++++++++++++++++++++++++++
lang/libcxxabi/PLIST | 5 +++++
lang/libcxxabi/buildlink3.mk | 14 ++++++++++++++
lang/libcxxabi/distinfo | 10 ++++++++++
6 files changed, 79 insertions(+), 1 deletions(-)
diffs (114 lines):
diff -r 79613434cd84 -r 4b97e0cf2f6b lang/Makefile
--- a/lang/Makefile Thu Aug 09 13:52:49 2018 +0000
+++ b/lang/Makefile Thu Aug 09 14:13:25 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.490 2018/08/09 13:40:34 jperkin Exp $
+# $NetBSD: Makefile,v 1.491 2018/08/09 14:13:25 jperkin Exp $
#
COMMENT= Programming languages
@@ -122,6 +122,7 @@
SUBDIR+= libBlocksRuntime
SUBDIR+= libLLVM
SUBDIR+= libLLVM34
+SUBDIR+= libcxxabi
SUBDIR+= libduktape
SUBDIR+= librep
SUBDIR+= libtcl-nothread
diff -r 79613434cd84 -r 4b97e0cf2f6b lang/libcxxabi/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/libcxxabi/DESCR Thu Aug 09 14:13:25 2018 +0000
@@ -0,0 +1,7 @@
+libc++abi is a new implementation of low level support for a standard
+C++ library.
+
+Features and Goals
+ * Correctness as defined by the C++11 standard.
+ * Provide a portable sublayer to ease the porting of libc++
+ * On Mac OS X, be ABI compatible with the existing low-level support.
diff -r 79613434cd84 -r 4b97e0cf2f6b lang/libcxxabi/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/libcxxabi/Makefile Thu Aug 09 14:13:25 2018 +0000
@@ -0,0 +1,41 @@
+# $NetBSD: Makefile,v 1.1 2018/08/09 14:13:25 jperkin Exp $
+
+DISTNAME= libcxxabi-6.0.1.src
+PKGNAME= ${DISTNAME:S/.src//}
+CATEGORIES= lang devel
+MASTER_SITES= http://llvm.org/releases/${PKGVERSION_NOREV}/
+EXTRACT_SUFX= .tar.xz
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= http://libcxxabi.llvm.org/
+COMMENT= C++ Standard Library
+LICENSE= modified-bsd OR mit
+
+# libcxx requires libcxxabi's cxxabi.h to build, but libcxxabi requires
+# libcxx's includes to build, so we have this unholy extra distfiles thing
+# in both of them to get them to build against each other without causing
+# circular dependencies. This must be kept in sync with libcxxabi/Makefile.
+#
+LIBCXX= libcxx-${PKGVERSION_NOREV}.src
+DISTFILES= ${DEFAULT_DISTFILES} ${LIBCXX}${EXTRACT_SUFX}
+
+CONFIGURE_DIRS= ${WRKDIR}/build
+CMAKE_ARG_PATH= ${WRKSRC}
+
+USE_LANGUAGES= c c++
+USE_CMAKE= yes
+GCC_REQD+= 4.8
+SSP_SUPPORTED= no
+
+CMAKE_ARGS+= -DCMAKE_BUILD_TYPE=Release
+CMAKE_ARGS+= -DCMAKE_C_COMPILER=${CC:Q}
+CMAKE_ARGS+= -DCMAKE_CXX_COMPILER=${CXX:Q}
+CMAKE_ARGS+= -DLIBCXXABI_LIBCXX_INCLUDES=${WRKDIR}/${LIBCXX}/include
+CMAKE_ARGS+= -DLIBCXXABI_USE_LLVM_UNWINDER=YES
+
+post-extract:
+ ${RUN} mkdir -p ${WRKDIR}/build
+
+.include "../../lang/libunwind/buildlink3.mk"
+.include "../../lang/llvm/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 79613434cd84 -r 4b97e0cf2f6b lang/libcxxabi/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/libcxxabi/PLIST Thu Aug 09 14:13:25 2018 +0000
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1 2018/08/09 14:13:25 jperkin Exp $
+lib/libc++abi.a
+lib/libc++abi.so
+lib/libc++abi.so.1
+lib/libc++abi.so.1.0
diff -r 79613434cd84 -r 4b97e0cf2f6b lang/libcxxabi/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/libcxxabi/buildlink3.mk Thu Aug 09 14:13:25 2018 +0000
@@ -0,0 +1,14 @@
+# $NetBSD: buildlink3.mk,v 1.1 2018/08/09 14:13:25 jperkin Exp $
+
+BUILDLINK_TREE+= libcxxabi
+
+.if !defined(LIBCXXABI_BUILDLINK3_MK)
+LIBCXXABI_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libcxxabi+= libcxxabi>=6.0.1
+BUILDLINK_PKGSRCDIR.libcxxabi?= ../../lang/libcxxabi
+
+.include "../../lang/llvm/buildlink3.mk"
+.endif # LIBCXXABI_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -libcxxabi
diff -r 79613434cd84 -r 4b97e0cf2f6b lang/libcxxabi/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/libcxxabi/distinfo Thu Aug 09 14:13:25 2018 +0000
@@ -0,0 +1,10 @@
+$NetBSD: distinfo,v 1.1 2018/08/09 14:13:25 jperkin Exp $
+
+SHA1 (libcxx-6.0.1.src.tar.xz) = 6506139683ca5319f90c84c8a29b633afda849ce
+RMD160 (libcxx-6.0.1.src.tar.xz) = ead6a4fa9a0b700c96def8cfe5f7945d807da82c
+SHA512 (libcxx-6.0.1.src.tar.xz) = c04f628b0924d76f035f615b59d19ce42dfc19c9a8eea4fe2b22a95cfe5a037ebdb30943fd741443939df5b4cf692bc1e51c840fefefbd134e3afbe2a75fe875
+Size (libcxx-6.0.1.src.tar.xz) = 1552328 bytes
+SHA1 (libcxxabi-6.0.1.src.tar.xz) = 54bff42750c9c81dba60710d6ee70d1c9e83c5af
+RMD160 (libcxxabi-6.0.1.src.tar.xz) = 37cd93201a0409b8cc75f52622abbd5682067e6e
+SHA512 (libcxxabi-6.0.1.src.tar.xz) = bbb4c7b412e295cb735f637df48a83093eef45ed5444f7766790b4b047f75fd5fd634d8f3a8ac33a5c1407bd16fd450ba113f60a9bcc1d0a911fe0c54e9c81f2
+Size (libcxxabi-6.0.1.src.tar.xz) = 528356 bytes
Home |
Main Index |
Thread Index |
Old Index