pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
software to support c++ for clang
Module Name: pkgsrc-wip
Committed By: zmsaif <zmsaif%nmsu.edu@localhost>
Pushed By: zmsaif
Date: Tue Jul 18 13:06:22 2017 -0600
Changeset: 03c7a5d913e243be2beacfe43f30d6ea699e8afe
Added Files:
libc++/DESCR
libc++/Makefile
libc++/PLIST
libc++/buildlink3.mk
libc++/distinfo
Log Message:
software to support c++ for clang
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=03c7a5d913e243be2beacfe43f30d6ea699e8afe
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
libc++/DESCR | 14 ++++
libc++/Makefile | 31 +++++++++
libc++/PLIST | 179 +++++++++++++++++++++++++++++++++++++++++++++++++++
libc++/buildlink3.mk | 12 ++++
libc++/distinfo | 6 ++
5 files changed, 242 insertions(+)
diffs:
diff --git a/libc++/DESCR b/libc++/DESCR
new file mode 100644
index 0000000000..d7f4e7167f
--- /dev/null
+++ b/libc++/DESCR
@@ -0,0 +1,14 @@
+The LLVM Project is a collection of modular and reusable compiler and toolchain
+technologies. Despite its name, LLVM has little to do with traditional virtual
+machines, though it does provide helpful libraries that can be used to build
+them.
+
+This package contains the LLVM libc++ C++ standard library.
+Features and Goals includes:
+Correctness as defined by C++11 standard.
+Fast execution.
+Minimal memory use.
+Fast copile time.
+ABI compatibility with gcc's libstdc++ for low-level features.
+Such as exception objects, rtti and memory allocation.
+
diff --git a/libc++/Makefile b/libc++/Makefile
new file mode 100644
index 0000000000..10ff5810d1
--- /dev/null
+++ b/libc++/Makefile
@@ -0,0 +1,31 @@
+# $NetBSD$
+
+DISTNAME= libcxx-4.0.0.src
+PKGNAME= libc++-4.0.0
+CATEGORIES= lang devel
+MASTER_SITES= http://llvm.org/releases/${PKGVERSION_NOREV}/
+EXTRACT_SUFX= .tar.xz
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= http://llvm.org/
+COMMENT= Low Level Virtual Machine libc++ C++ standard library
+LICENSE= modified-bsd
+
+USE_LANGUAGES= c c++ c++11
+USE_CMAKE= yes
+GCC_REQD+= 4.8
+
+CONFIGURE_DIRS= ${WRKDIR}/build
+CMAKE_ARG_PATH= ${WRKSRC}
+
+CMAKE_ARGS+= -DCMAKE_BUILD_TYPE=Release
+CMAKE_ARGS+= -DCMAKE_C_COMPILER=gcc
+CMAKE_ARGS+= -DCMAKE_CXX_COMPILER=g++
+CMAKE_ARGS+= -DCMAKE_CXX_LINK_FLAGS=${LDFLAGS:Q}
+
+CMAKE_ARGS.Darwin+= -DCMAKE_LIBTOOL=/usr/bin/libtool
+
+post-extract:
+ ${MKDIR} ${WRKDIR}/build
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/libc++/PLIST b/libc++/PLIST
new file mode 100644
index 0000000000..8d1369653e
--- /dev/null
+++ b/libc++/PLIST
@@ -0,0 +1,179 @@
+@comment $NetBSD$
+include/c++/v1/__bit_reference
+include/c++/v1/__bsd_locale_defaults.h
+include/c++/v1/__bsd_locale_fallbacks.h
+include/c++/v1/__config
+include/c++/v1/__debug
+include/c++/v1/__functional_03
+include/c++/v1/__functional_base
+include/c++/v1/__functional_base_03
+include/c++/v1/__hash_table
+include/c++/v1/__libcpp_version
+include/c++/v1/__locale
+include/c++/v1/__mutex_base
+include/c++/v1/__nullptr
+include/c++/v1/__refstring
+include/c++/v1/__split_buffer
+include/c++/v1/__sso_allocator
+include/c++/v1/__std_stream
+include/c++/v1/__string
+include/c++/v1/__threading_support
+include/c++/v1/__tree
+include/c++/v1/__tuple
+include/c++/v1/__undef_min_max
+include/c++/v1/algorithm
+include/c++/v1/any
+include/c++/v1/array
+include/c++/v1/atomic
+include/c++/v1/bitset
+include/c++/v1/cassert
+include/c++/v1/ccomplex
+include/c++/v1/cctype
+include/c++/v1/cerrno
+include/c++/v1/cfenv
+include/c++/v1/cfloat
+include/c++/v1/chrono
+include/c++/v1/cinttypes
+include/c++/v1/ciso646
+include/c++/v1/climits
+include/c++/v1/clocale
+include/c++/v1/cmath
+include/c++/v1/codecvt
+include/c++/v1/complex
+include/c++/v1/complex.h
+include/c++/v1/condition_variable
+include/c++/v1/csetjmp
+include/c++/v1/csignal
+include/c++/v1/cstdarg
+include/c++/v1/cstdbool
+include/c++/v1/cstddef
+include/c++/v1/cstdint
+include/c++/v1/cstdio
+include/c++/v1/cstdlib
+include/c++/v1/cstring
+include/c++/v1/ctgmath
+include/c++/v1/ctime
+include/c++/v1/ctype.h
+include/c++/v1/cwchar
+include/c++/v1/cwctype
+include/c++/v1/deque
+include/c++/v1/errno.h
+include/c++/v1/exception
+include/c++/v1/experimental/__config
+include/c++/v1/experimental/__memory
+include/c++/v1/experimental/algorithm
+include/c++/v1/experimental/any
+include/c++/v1/experimental/chrono
+include/c++/v1/experimental/deque
+include/c++/v1/experimental/dynarray
+include/c++/v1/experimental/filesystem
+include/c++/v1/experimental/forward_list
+include/c++/v1/experimental/functional
+include/c++/v1/experimental/iterator
+include/c++/v1/experimental/list
+include/c++/v1/experimental/map
+include/c++/v1/experimental/memory_resource
+include/c++/v1/experimental/numeric
+include/c++/v1/experimental/optional
+include/c++/v1/experimental/propagate_const
+include/c++/v1/experimental/ratio
+include/c++/v1/experimental/regex
+include/c++/v1/experimental/set
+include/c++/v1/experimental/string
+include/c++/v1/experimental/string_view
+include/c++/v1/experimental/system_error
+include/c++/v1/experimental/tuple
+include/c++/v1/experimental/type_traits
+include/c++/v1/experimental/unordered_map
+include/c++/v1/experimental/unordered_set
+include/c++/v1/experimental/utility
+include/c++/v1/experimental/vector
+include/c++/v1/ext/__hash
+include/c++/v1/ext/hash_map
+include/c++/v1/ext/hash_set
+include/c++/v1/float.h
+include/c++/v1/forward_list
+include/c++/v1/fstream
+include/c++/v1/functional
+include/c++/v1/future
+include/c++/v1/initializer_list
+include/c++/v1/inttypes.h
+include/c++/v1/iomanip
+include/c++/v1/ios
+include/c++/v1/iosfwd
+include/c++/v1/iostream
+include/c++/v1/istream
+include/c++/v1/iterator
+include/c++/v1/limits
+include/c++/v1/limits.h
+include/c++/v1/list
+include/c++/v1/locale
+include/c++/v1/locale.h
+include/c++/v1/map
+include/c++/v1/math.h
+include/c++/v1/memory
+include/c++/v1/module.modulemap
+include/c++/v1/mutex
+include/c++/v1/new
+include/c++/v1/numeric
+include/c++/v1/optional
+include/c++/v1/ostream
+include/c++/v1/queue
+include/c++/v1/random
+include/c++/v1/ratio
+include/c++/v1/regex
+include/c++/v1/scoped_allocator
+include/c++/v1/set
+include/c++/v1/setjmp.h
+include/c++/v1/shared_mutex
+include/c++/v1/sstream
+include/c++/v1/stack
+include/c++/v1/stdbool.h
+include/c++/v1/stddef.h
+include/c++/v1/stdexcept
+include/c++/v1/stdint.h
+include/c++/v1/stdio.h
+include/c++/v1/stdlib.h
+include/c++/v1/streambuf
+include/c++/v1/string
+include/c++/v1/string.h
+include/c++/v1/string_view
+include/c++/v1/strstream
+include/c++/v1/support/android/locale_bionic.h
+include/c++/v1/support/ibm/limits.h
+include/c++/v1/support/ibm/locale_mgmt_aix.h
+include/c++/v1/support/ibm/support.h
+include/c++/v1/support/ibm/xlocale.h
+include/c++/v1/support/musl/xlocale.h
+include/c++/v1/support/newlib/xlocale.h
+include/c++/v1/support/solaris/floatingpoint.h
+include/c++/v1/support/solaris/wchar.h
+include/c++/v1/support/solaris/xlocale.h
+include/c++/v1/support/win32/limits_win32.h
+include/c++/v1/support/win32/locale_mgmt_win32.h
+include/c++/v1/support/win32/locale_win32.h
+include/c++/v1/support/win32/support.h
+include/c++/v1/support/xlocale/__nop_locale_mgmt.h
+include/c++/v1/support/xlocale/__posix_l_fallback.h
+include/c++/v1/support/xlocale/__strtonum_fallback.h
+include/c++/v1/support/xlocale/xlocale.h
+include/c++/v1/system_error
+include/c++/v1/tgmath.h
+include/c++/v1/thread
+include/c++/v1/tuple
+include/c++/v1/type_traits
+include/c++/v1/typeindex
+include/c++/v1/typeinfo
+include/c++/v1/unordered_map
+include/c++/v1/unordered_set
+include/c++/v1/utility
+include/c++/v1/valarray
+include/c++/v1/variant
+include/c++/v1/vector
+include/c++/v1/wchar.h
+include/c++/v1/wctype.h
+lib/libc++.1.0.dylib
+lib/libc++.1.dylib
+lib/libc++.a
+lib/libc++.dylib
+lib/libc++experimental.a
diff --git a/libc++/buildlink3.mk b/libc++/buildlink3.mk
new file mode 100644
index 0000000000..d1f6199f84
--- /dev/null
+++ b/libc++/buildlink3.mk
@@ -0,0 +1,12 @@
+# $NetBSD$
+
+BUILDLINK_TREE+= libc++
+
+.if !defined(LIBC++_BUILDLINK3_MK)
+LIBC++_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libc+++= libc++>=4.0.0
+BUILDLINK_PKGSRCDIR.libc++?= ../../lang/libc++
+.endif # LIBC++_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -libc++
diff --git a/libc++/distinfo b/libc++/distinfo
new file mode 100644
index 0000000000..353f6b7385
--- /dev/null
+++ b/libc++/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.9 2017/03/17 22:38:18 adam Exp $
+
+SHA1 (libcxx-4.0.0.src.tar.xz) = d05a357243f71e508726975f1baa7d8c525bc156
+RMD160 (libcxx-4.0.0.src.tar.xz) = b1a870353076c9af77c16f182d5d6a987a0e3030
+SHA512 (libcxx-4.0.0.src.tar.xz) = 6dad794c00919955e14710def169cdcde8a1743431479e993c4a6a3c87c2fd9f5dbd6e17542e524981eed0783dce70384c356b74ef3c6d70598c6ff03454b1dd
+Size (libcxx-4.0.0.src.tar.xz) = 1450376 bytes
Home |
Main Index |
Thread Index |
Old Index