Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Oct 2010 08:12:45 +0000 (UTC)
From:      Ed Schouten <ed@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r214234 - in user/ed/compiler-rt/lib: . libblocksruntime
Message-ID:  <201010230812.o9N8CjNU080248@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ed
Date: Sat Oct 23 08:12:44 2010
New Revision: 214234
URL: http://svn.freebsd.org/changeset/base/214234

Log:
  While we're at it, add libblocksruntime as well.
  
  libblocksruntime is part of compiler-rt and is one of the essential
  libraries needed to make Blocks work.
  
  Discussed with:	rwatson

Added:
  user/ed/compiler-rt/lib/libblocksruntime/
  user/ed/compiler-rt/lib/libblocksruntime/Makefile   (contents, props changed)
  user/ed/compiler-rt/lib/libblocksruntime/config.h   (contents, props changed)
Modified:
  user/ed/compiler-rt/lib/Makefile

Modified: user/ed/compiler-rt/lib/Makefile
==============================================================================
--- user/ed/compiler-rt/lib/Makefile	Sat Oct 23 08:07:05 2010	(r214233)
+++ user/ed/compiler-rt/lib/Makefile	Sat Oct 23 08:12:44 2010	(r214234)
@@ -54,6 +54,7 @@ SUBDIR=	${SUBDIR_ORDERED} \
 	libarchive \
 	${_libatm} \
 	libbegemot \
+	libblocksruntime \
 	${_libbluetooth} \
 	${_libbsnmp} \
 	libbz2 \

Added: user/ed/compiler-rt/lib/libblocksruntime/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ user/ed/compiler-rt/lib/libblocksruntime/Makefile	Sat Oct 23 08:12:44 2010	(r214234)
@@ -0,0 +1,13 @@
+# $FreeBSD$
+
+LIB=	BlocksRuntime
+SHLIB_MAJOR=0
+CFLAGS+=-I.
+WARNS?=	2
+
+.PATH: ${.CURDIR}/../../contrib/compiler-rt/BlocksRuntime
+
+INCS=	Block.h Block_private.h
+SRCS=	data.c runtime.c
+
+.include <bsd.lib.mk>

Added: user/ed/compiler-rt/lib/libblocksruntime/config.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ user/ed/compiler-rt/lib/libblocksruntime/config.h	Sat Oct 23 08:12:44 2010	(r214234)
@@ -0,0 +1,14 @@
+/* $FreeBSD$ */
+
+/* #undef HAVE_SYS_BYTEORDER_H */
+/* #undef HAVE_AVAILABILITY_MACROS_H */
+/* #undef HAVE_TARGET_CONDITIONALS_H */
+/* #undef HAVE_LIBKERN_OSATOMIC_H */
+
+#define HAVE_SYSCONF 1
+
+/* #undef HAVE_OSATOMIC_COMPARE_AND_SWAP_INT */
+/* #undef HAVE_OSATOMIC_COMPARE_AND_SWAP_LONG */
+
+#define HAVE_SYNC_BOOL_COMPARE_AND_SWAP_INT 1
+#define HAVE_SYNC_BOOL_COMPARE_AND_SWAP_LONG 1



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201010230812.o9N8CjNU080248>