pkgsrc-WIP-changes archive

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

Import compiler-rt-5.0.0nb20170603 as wip/compiler-rt-netbsd.



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Sun Jun 4 01:53:25 2017 +0200
Changeset:	b1ca3810388a32941696142e154b7a839dd715fd

Added Files:
	compiler-rt-netbsd/DESCR
	compiler-rt-netbsd/Makefile
	compiler-rt-netbsd/PLIST
	compiler-rt-netbsd/buildlink3.mk
	compiler-rt-netbsd/distinfo

Log Message:
Import compiler-rt-5.0.0nb20170603 as wip/compiler-rt-netbsd.

The compiler-rt project consists of:

 - builtins - a simple library that provides an implementation of the low-level
   target-specific hooks required by code generation and other runtime
   components. For example, when compiling for a 32-bit target, converting a
   double to a 64-bit unsigned integer is compiling into a runtime call to the
   "__fixunsdfdi" function. The builtins library provides optimized
   implementations of this and other low-level routines, either in
   target-independent C form, or as a heavily-optimized assembly.

   builtins provides full support for the libgcc interfaces on supported
   targets and high performance hand tuned implementations of commonly used
   functions like __floatundidf in assembly that are dramatically faster than
   the libgcc implementations. It should be very easy to bring builtins to
   support a new target by adding the new routines needed by that target.

 - sanitizer runtimes - runtime libraries that are required to run the code
   with sanitizer instrumentation. This includes runtimes for:
   *     AddressSanitizer
   *     ThreadSanitizer
   *     UndefinedBehaviorSanitizer
   *     MemorySanitizer
   *     LeakSanitizer
   *     DataFlowSanitizer

 - profile - library which is used to collect coverage information.

 - BlocksRuntime - a target-independent implementation of Apple "Blocks"
   runtime interfaces.

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

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

diffstat:
 compiler-rt-netbsd/DESCR         |  29 ++++++++
 compiler-rt-netbsd/Makefile      |  33 +++++++++
 compiler-rt-netbsd/PLIST         | 144 +++++++++++++++++++++++++++++++++++++++
 compiler-rt-netbsd/buildlink3.mk |  14 ++++
 compiler-rt-netbsd/distinfo      |  14 ++++
 5 files changed, 234 insertions(+)

diffs:
diff --git a/compiler-rt-netbsd/DESCR b/compiler-rt-netbsd/DESCR
new file mode 100644
index 0000000000..ec4b69e9ef
--- /dev/null
+++ b/compiler-rt-netbsd/DESCR
@@ -0,0 +1,29 @@
+The compiler-rt project consists of:
+
+ - builtins - a simple library that provides an implementation of the low-level
+   target-specific hooks required by code generation and other runtime
+   components. For example, when compiling for a 32-bit target, converting a
+   double to a 64-bit unsigned integer is compiling into a runtime call to the
+   "__fixunsdfdi" function. The builtins library provides optimized
+   implementations of this and other low-level routines, either in
+   target-independent C form, or as a heavily-optimized assembly.
+
+   builtins provides full support for the libgcc interfaces on supported
+   targets and high performance hand tuned implementations of commonly used
+   functions like __floatundidf in assembly that are dramatically faster than
+   the libgcc implementations. It should be very easy to bring builtins to
+   support a new target by adding the new routines needed by that target.
+
+ - sanitizer runtimes - runtime libraries that are required to run the code
+   with sanitizer instrumentation. This includes runtimes for:
+   *     AddressSanitizer
+   *     ThreadSanitizer
+   *     UndefinedBehaviorSanitizer
+   *     MemorySanitizer
+   *     LeakSanitizer
+   *     DataFlowSanitizer
+
+ - profile - library which is used to collect coverage information.
+
+ - BlocksRuntime - a target-independent implementation of Apple "Blocks"
+   runtime interfaces.
diff --git a/compiler-rt-netbsd/Makefile b/compiler-rt-netbsd/Makefile
new file mode 100644
index 0000000000..b6d263f5b3
--- /dev/null
+++ b/compiler-rt-netbsd/Makefile
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile.common,v 1.7 2015/07/20 05:49:53 adam Exp $
+
+PKGNAME=	compiler-rt-5.0.0
+CATEGORIES=	lang devel
+
+SVN_REPOSITORIES=	compiler-rt
+SVN_REPO.compiler-rt=	http://llvm.org/svn/llvm-project/compiler-rt/trunk
+SVN_REVISION.compiler-rt=	304308
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	http://compiler-rt.llvm.org/
+COMMENT=	LLVM runtime libraries
+LICENSE=	modified-bsd OR mit
+
+WRKSRC=			${WRKDIR}/build
+
+USE_LANGUAGES=		c c++
+USE_CMAKE=		yes
+GCC_REQD+=		4.8
+
+CMAKE_ARGS+=	-DCMAKE_BUILD_TYPE=Release
+CMAKE_ARGS+=	-DCMAKE_C_COMPILER=${CC:Q}
+CMAKE_ARGS+=	-DCMAKE_CXX_COMPILER=${CXX:Q}
+
+CMAKE_ARG_PATH=	${WRKDIR}/compiler-rt
+
+post-extract:
+	${RUN} mkdir -p ${WRKSRC}
+
+.include "../../wip/mk/git-package.mk"
+DEPENDS+=	llvm-${PKGVERSION_NOREV}{,nb*}:../../wip/llvm-netbsd
+.include "../../wip/llvm-netbsd/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/compiler-rt-netbsd/PLIST b/compiler-rt-netbsd/PLIST
new file mode 100644
index 0000000000..01a04b48dd
--- /dev/null
+++ b/compiler-rt-netbsd/PLIST
@@ -0,0 +1,144 @@
+@comment $NetBSD$
+include/c++/v1/__bit_reference
+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/__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/__tree
+include/c++/v1/__tuple
+include/c++/v1/__undef___deallocate
+include/c++/v1/__undef_min_max
+include/c++/v1/algorithm
+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/algorithm
+include/c++/v1/experimental/any
+include/c++/v1/experimental/chrono
+include/c++/v1/experimental/dynarray
+include/c++/v1/experimental/functional
+include/c++/v1/experimental/optional
+include/c++/v1/experimental/ratio
+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/utility
+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/list
+include/c++/v1/locale
+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/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/stddef.h
+include/c++/v1/stdexcept
+include/c++/v1/stdio.h
+include/c++/v1/stdlib.h
+include/c++/v1/streambuf
+include/c++/v1/string
+include/c++/v1/strstream
+include/c++/v1/support/android/locale_bionic.h
+include/c++/v1/support/ibm/limits.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_win32.h
+include/c++/v1/support/win32/math_win32.h
+include/c++/v1/support/win32/support.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/vector
+include/c++/v1/wchar.h
+include/c++/v1/wctype.h
+lib/libc++.so
+lib/libc++.so.1
+lib/libc++.so.1.0
diff --git a/compiler-rt-netbsd/buildlink3.mk b/compiler-rt-netbsd/buildlink3.mk
new file mode 100644
index 0000000000..4b2d6ed772
--- /dev/null
+++ b/compiler-rt-netbsd/buildlink3.mk
@@ -0,0 +1,14 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	compiler-rt
+
+.if !defined(COMPILER_RT_BUILDLINK3_MK)
+COMPILER_RT_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.compiler-rt+=	compiler-rt>=5.0.0
+BUILDLINK_PKGSRCDIR.compiler-rt?=	../../wip/compiler-rt-netbsd
+
+.include "../../wip/llvm-netbsd/buildlink3.mk"
+.endif	# COMPILER_RT_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-compiler-rt
diff --git a/compiler-rt-netbsd/distinfo b/compiler-rt-netbsd/distinfo
new file mode 100644
index 0000000000..7931384fd5
--- /dev/null
+++ b/compiler-rt-netbsd/distinfo
@@ -0,0 +1,14 @@
+$NetBSD: distinfo,v 1.35 2015/09/11 01:21:57 tnn Exp $
+
+SHA1 (cfe-3.6.2.src.tar.xz) = 7ba809c9c17819a16b668640a642ed134d7052f0
+RMD160 (cfe-3.6.2.src.tar.xz) = 10d913b4d5317f8c2520e5fc6117df30937317a8
+Size (cfe-3.6.2.src.tar.xz) = 8617576 bytes
+SHA1 (compiler-rt-3.6.2.src.tar.xz) = c6c52d2923a60f1a2ca2f22fea1770fd2e25728d
+RMD160 (compiler-rt-3.6.2.src.tar.xz) = 9b68a32d49d4bef4603d550934192f39fea42895
+Size (compiler-rt-3.6.2.src.tar.xz) = 1128080 bytes
+SHA1 (libcxx-3.6.2.src.tar.xz) = 6c5aee9f05ecf17d1e3ecb1add34a33a5a904469
+RMD160 (libcxx-3.6.2.src.tar.xz) = 42b8832d01d4e6b553babc93cb5dbd4ce2bb1931
+Size (libcxx-3.6.2.src.tar.xz) = 944020 bytes
+SHA1 (llvm-3.6.2.src.tar.xz) = 7a00257eb2bc9431e4c77c3a36b033072c54bc7e
+RMD160 (llvm-3.6.2.src.tar.xz) = 521cbc5fe2925ea3c6e90c7a31f752a04045c972
+Size (llvm-3.6.2.src.tar.xz) = 12802380 bytes


Home | Main Index | Thread Index | Old Index