diff options
author | jperkin <jperkin@pkgsrc.org> | 2018-08-09 14:13:25 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2018-08-09 14:13:25 +0000 |
commit | e6608f9ac31576fe7da3364985626ead101f1e26 (patch) | |
tree | 853eb4d4c7043343f457793e7f7ccb08a09ec4a1 /lang/libcxxabi | |
parent | f0925d7b49040a30a230b31d5c74d23f55716952 (diff) | |
download | pkgsrc-e6608f9ac31576fe7da3364985626ead101f1e26.tar.gz |
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 (limited to 'lang/libcxxabi')
-rw-r--r-- | lang/libcxxabi/DESCR | 7 | ||||
-rw-r--r-- | lang/libcxxabi/Makefile | 41 | ||||
-rw-r--r-- | lang/libcxxabi/PLIST | 5 | ||||
-rw-r--r-- | lang/libcxxabi/buildlink3.mk | 14 | ||||
-rw-r--r-- | lang/libcxxabi/distinfo | 10 |
5 files changed, 77 insertions, 0 deletions
diff --git a/lang/libcxxabi/DESCR b/lang/libcxxabi/DESCR new file mode 100644 index 00000000000..7b53a18edaf --- /dev/null +++ b/lang/libcxxabi/DESCR @@ -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 --git a/lang/libcxxabi/Makefile b/lang/libcxxabi/Makefile new file mode 100644 index 00000000000..a9a759e76ec --- /dev/null +++ b/lang/libcxxabi/Makefile @@ -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 +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 --git a/lang/libcxxabi/PLIST b/lang/libcxxabi/PLIST new file mode 100644 index 00000000000..cf361b307db --- /dev/null +++ b/lang/libcxxabi/PLIST @@ -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 --git a/lang/libcxxabi/buildlink3.mk b/lang/libcxxabi/buildlink3.mk new file mode 100644 index 00000000000..2ebc27ca47e --- /dev/null +++ b/lang/libcxxabi/buildlink3.mk @@ -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 --git a/lang/libcxxabi/distinfo b/lang/libcxxabi/distinfo new file mode 100644 index 00000000000..e3fe8b1bfaa --- /dev/null +++ b/lang/libcxxabi/distinfo @@ -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 |