Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Sep 2013 20:47:27 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r328048 - in head/devel: . stxxl stxxl/files
Message-ID:  <201309232047.r8NKlRfR056283@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Mon Sep 23 20:47:27 2013
New Revision: 328048
URL: http://svnweb.freebsd.org/changeset/ports/328048

Log:
  STXXL: Standard Template Library for Extra Large Data Sets.
  
  The core of STXXL is an implementation of the C++ standard template
  library STL for external memory (out-of-core) computations, i. e.,
  STXXL implements containers and algorithms that can process huge
  volumes of data that only fit on disks. While the closeness to the
  STL supports ease of use and compatibility with existing applications,
  another design priority is high performance.
  
  WWW: http://stxxl.sourceforge.net/

Added:
  head/devel/stxxl/
  head/devel/stxxl/Makefile   (contents, props changed)
  head/devel/stxxl/distinfo   (contents, props changed)
  head/devel/stxxl/files/
  head/devel/stxxl/files/patch-include-stxxl-bits-mng-config.h   (contents, props changed)
  head/devel/stxxl/files/patch-misc-run-all-tests   (contents, props changed)
  head/devel/stxxl/files/patch-utils-malloc.cpp   (contents, props changed)
  head/devel/stxxl/files/patch-utils-mlock.cpp   (contents, props changed)
  head/devel/stxxl/pkg-descr   (contents, props changed)
  head/devel/stxxl/pkg-plist   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Mon Sep 23 20:46:16 2013	(r328047)
+++ head/devel/Makefile	Mon Sep 23 20:47:27 2013	(r328048)
@@ -4357,6 +4357,7 @@
     SUBDIR += strace
     SUBDIR += streamhtmlparser
     SUBDIR += stringencoders
+    SUBDIR += stxxl
     SUBDIR += styx
     SUBDIR += subclipse
     SUBDIR += subcommander2

Added: head/devel/stxxl/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/stxxl/Makefile	Mon Sep 23 20:47:27 2013	(r328048)
@@ -0,0 +1,48 @@
+# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	stxxl
+PORTVERSION=	1.3.1
+CATEGORIES=	devel
+MASTER_SITES=	SF
+
+MAINTAINER=	amdmi3@FreeBSD.org
+COMMENT=	Standard Template Library for Extra Large Data Sets
+
+USE_GMAKE=	yes
+ALL_TARGET=	library_g++
+
+MAKE_ENV+=	COMPILER_GCC="${CXX}" OPT="${CXXFLAGS}" \
+		PTHREAD_FLAG="${PTHREAD_LIBS}"
+
+PORTDOCS=	*
+
+OPTIONS_DEFINE=	DOCS OPTIMIZED_CFLAGS
+OPTIONS_DEFAULT=OPTIMIZED_CFLAGS
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MOPTIMIZED_CFLAGS}
+CXXFLAGS+=	-O3
+.endif
+
+.if ${OSVERSION} >= 1000000
+post-patch:
+	@${REINPLACE_CMD} -i '' -e 's|std::tr1::|std::|' \
+		${WRKSRC}/include/stxxl/bits/compat/type_traits.h \
+		${WRKSRC}/include/stxxl/bits/compat/shared_ptr.h \
+		${WRKSRC}/include/stxxl/bits/compat_hash_map.h
+.endif
+
+do-install:
+	${INSTALL_DATA} ${WRKSRC}/lib/lib${PORTNAME}.a ${STAGEDIR}${PREFIX}/lib
+	@cd ${WRKSRC}/include && ${COPYTREE_SHARE} "${PORTNAME} ${PORTNAME}.h" \
+		${STAGEDIR}${PREFIX}/include
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
+
+regression-test:
+	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} tests_g++
+	cd ${WRKSRC}/misc && ${SH} run-all-tests
+
+.include <bsd.port.mk>

Added: head/devel/stxxl/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/stxxl/distinfo	Mon Sep 23 20:47:27 2013	(r328048)
@@ -0,0 +1,2 @@
+SHA256 (stxxl-1.3.1.tar.gz) = e852c925cdce9a7b0fc6bbc76923dbabe7d103a39b03b7d7350eafa48cc801ae
+SIZE (stxxl-1.3.1.tar.gz) = 922088

Added: head/devel/stxxl/files/patch-include-stxxl-bits-mng-config.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/stxxl/files/patch-include-stxxl-bits-mng-config.h	Mon Sep 23 20:47:27 2013	(r328048)
@@ -0,0 +1,11 @@
+--- include/stxxl/bits/mng/config.h.orig	2011-03-08 18:03:38.000000000 +0300
++++ include/stxxl/bits/mng/config.h	2013-09-24 00:15:43.592520759 +0400
+@@ -21,6 +21,8 @@
+ #include <stxxl/bits/singleton.h>
+ #include <stxxl/bits/verbose.h>
+ 
++#include <unistd.h>
++
+ 
+ __STXXL_BEGIN_NAMESPACE
+ 

Added: head/devel/stxxl/files/patch-misc-run-all-tests
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/stxxl/files/patch-misc-run-all-tests	Mon Sep 23 20:47:27 2013	(r328048)
@@ -0,0 +1,10 @@
+--- misc/run-all-tests.orig	2011-03-10 15:20:33.000000000 +0300
++++ misc/run-all-tests	2013-09-24 00:30:50.829520907 +0400
+@@ -17,7 +17,6 @@
+ 
+ 
+ ulimit -t 7200
+-set -o pipefail
+ 
+ stxxl=stxxl
+ test -n "$1" && stxxl="$1"

Added: head/devel/stxxl/files/patch-utils-malloc.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/stxxl/files/patch-utils-malloc.cpp	Mon Sep 23 20:47:27 2013	(r328048)
@@ -0,0 +1,10 @@
+--- utils/malloc.cpp.orig	2011-02-24 15:12:15.000000000 +0300
++++ utils/malloc.cpp	2013-09-24 00:18:58.433519194 +0400
+@@ -18,6 +18,7 @@
+ #include <cstdlib>
+ #include <stxxl/bits/verbose.h>
+ 
++#include <unistd.h>
+ 
+ void print_malloc_stats()
+ {

Added: head/devel/stxxl/files/patch-utils-mlock.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/stxxl/files/patch-utils-mlock.cpp	Mon Sep 23 20:47:27 2013	(r328048)
@@ -0,0 +1,10 @@
+--- utils/mlock.cpp.orig	2010-08-31 16:22:17.000000000 +0400
++++ utils/mlock.cpp	2013-09-23 21:47:56.854519111 +0400
+@@ -17,6 +17,7 @@
+ #include <cstring>
+ #include <iostream>
+ #include <sys/mman.h>
++#include <unistd.h>
+ 
+ int main(int argc, char ** argv)
+ {

Added: head/devel/stxxl/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/stxxl/pkg-descr	Mon Sep 23 20:47:27 2013	(r328048)
@@ -0,0 +1,10 @@
+STXXL: Standard Template Library for Extra Large Data Sets.
+
+The core of STXXL is an implementation of the C++ standard template
+library STL for external memory (out-of-core) computations, i. e.,
+STXXL implements containers and algorithms that can process huge
+volumes of data that only fit on disks. While the closeness to the
+STL supports ease of use and compatibility with existing applications,
+another design priority is high performance.
+
+WWW: http://stxxl.sourceforge.net/

Added: head/devel/stxxl/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/stxxl/pkg-plist	Mon Sep 23 20:47:27 2013	(r328048)
@@ -0,0 +1,152 @@
+include/stxxl.h
+include/stxxl/algorithm
+include/stxxl/aligned_alloc
+include/stxxl/all
+include/stxxl/bits/algo/adaptor.h
+include/stxxl/bits/algo/async_schedule.h
+include/stxxl/bits/algo/inmemsort.h
+include/stxxl/bits/algo/intksort.h
+include/stxxl/bits/algo/ksort.h
+include/stxxl/bits/algo/losertree.h
+include/stxxl/bits/algo/random_shuffle.h
+include/stxxl/bits/algo/run_cursor.h
+include/stxxl/bits/algo/scan.h
+include/stxxl/bits/algo/sort.h
+include/stxxl/bits/algo/sort_base.h
+include/stxxl/bits/algo/sort_helper.h
+include/stxxl/bits/algo/stable_ksort.h
+include/stxxl/bits/common/aligned_alloc.h
+include/stxxl/bits/common/error_handling.h
+include/stxxl/bits/common/exceptions.h
+include/stxxl/bits/common/exithandler.h
+include/stxxl/bits/common/is_sorted.h
+include/stxxl/bits/common/log.h
+include/stxxl/bits/common/mutex.h
+include/stxxl/bits/common/new_alloc.h
+include/stxxl/bits/common/rand.h
+include/stxxl/bits/common/seed.h
+include/stxxl/bits/common/semaphore.h
+include/stxxl/bits/common/settings.h
+include/stxxl/bits/common/simple_vector.h
+include/stxxl/bits/common/state.h
+include/stxxl/bits/common/switch.h
+include/stxxl/bits/common/timer.h
+include/stxxl/bits/common/tmeta.h
+include/stxxl/bits/common/tuple.h
+include/stxxl/bits/common/types.h
+include/stxxl/bits/common/utils.h
+include/stxxl/bits/compat/shared_ptr.h
+include/stxxl/bits/compat/type_traits.h
+include/stxxl/bits/compat_hash_map.h
+include/stxxl/bits/compat_unique_ptr.h
+include/stxxl/bits/containers/btree/btree.h
+include/stxxl/bits/containers/btree/iterator.h
+include/stxxl/bits/containers/btree/iterator_map.h
+include/stxxl/bits/containers/btree/leaf.h
+include/stxxl/bits/containers/btree/node.h
+include/stxxl/bits/containers/btree/node_cache.h
+include/stxxl/bits/containers/btree/root_node.h
+include/stxxl/bits/containers/deque.h
+include/stxxl/bits/containers/map.h
+include/stxxl/bits/containers/pager.h
+include/stxxl/bits/containers/pq_ext_merger.h
+include/stxxl/bits/containers/pq_helpers.h
+include/stxxl/bits/containers/pq_losertree.h
+include/stxxl/bits/containers/pq_mergers.h
+include/stxxl/bits/containers/priority_queue.h
+include/stxxl/bits/containers/queue.h
+include/stxxl/bits/containers/stack.h
+include/stxxl/bits/containers/vector.h
+include/stxxl/bits/defines.h
+include/stxxl/bits/deprecated.h
+include/stxxl/bits/io/boostfd_file.h
+include/stxxl/bits/io/completion_handler.h
+include/stxxl/bits/io/create_file.h
+include/stxxl/bits/io/disk_queued_file.h
+include/stxxl/bits/io/disk_queues.h
+include/stxxl/bits/io/file.h
+include/stxxl/bits/io/fileperblock_file.h
+include/stxxl/bits/io/io.h
+include/stxxl/bits/io/iobase.h
+include/stxxl/bits/io/iostats.h
+include/stxxl/bits/io/mem_file.h
+include/stxxl/bits/io/mmap_file.h
+include/stxxl/bits/io/request.h
+include/stxxl/bits/io/request_interface.h
+include/stxxl/bits/io/request_operations.h
+include/stxxl/bits/io/request_ptr.h
+include/stxxl/bits/io/request_queue.h
+include/stxxl/bits/io/request_queue_impl_1q.h
+include/stxxl/bits/io/request_queue_impl_qwqr.h
+include/stxxl/bits/io/request_queue_impl_worker.h
+include/stxxl/bits/io/request_with_state.h
+include/stxxl/bits/io/request_with_waiters.h
+include/stxxl/bits/io/serving_request.h
+include/stxxl/bits/io/simdisk_file.h
+include/stxxl/bits/io/syscall_file.h
+include/stxxl/bits/io/ufs_file_base.h
+include/stxxl/bits/io/wbtl_file.h
+include/stxxl/bits/io/wfs_file_base.h
+include/stxxl/bits/io/wincall_file.h
+include/stxxl/bits/libstxxl.h
+include/stxxl/bits/mng/adaptor.h
+include/stxxl/bits/mng/bid.h
+include/stxxl/bits/mng/block_alloc.h
+include/stxxl/bits/mng/block_alloc_interleaved.h
+include/stxxl/bits/mng/block_prefetcher.h
+include/stxxl/bits/mng/buf_istream.h
+include/stxxl/bits/mng/buf_ostream.h
+include/stxxl/bits/mng/buf_writer.h
+include/stxxl/bits/mng/config.h
+include/stxxl/bits/mng/diskallocator.h
+include/stxxl/bits/mng/mng.h
+include/stxxl/bits/mng/prefetch_pool.h
+include/stxxl/bits/mng/read_write_pool.h
+include/stxxl/bits/mng/typed_block.h
+include/stxxl/bits/mng/write_pool.h
+include/stxxl/bits/msvc_compatibility.h
+include/stxxl/bits/namespace.h
+include/stxxl/bits/noncopyable.h
+include/stxxl/bits/parallel.h
+include/stxxl/bits/singleton.h
+include/stxxl/bits/stream/choose.h
+include/stxxl/bits/stream/sort_stream.h
+include/stxxl/bits/stream/sorted_runs.h
+include/stxxl/bits/stream/stream.h
+include/stxxl/bits/stream/unique.h
+include/stxxl/bits/unused.h
+include/stxxl/bits/utils/malloc.h
+include/stxxl/bits/verbose.h
+include/stxxl/bits/version.h
+include/stxxl/deque
+include/stxxl/io
+include/stxxl/ksort
+include/stxxl/mallocstats
+include/stxxl/map
+include/stxxl/mng
+include/stxxl/priority_queue
+include/stxxl/queue
+include/stxxl/random
+include/stxxl/random_shuffle
+include/stxxl/request
+include/stxxl/scan
+include/stxxl/sort
+include/stxxl/stable_ksort
+include/stxxl/stack
+include/stxxl/stats
+include/stxxl/stream
+include/stxxl/timer
+include/stxxl/types
+include/stxxl/vector
+lib/libstxxl.a
+@dirrm include/stxxl/bits/utils
+@dirrm include/stxxl/bits/stream
+@dirrm include/stxxl/bits/mng
+@dirrm include/stxxl/bits/io
+@dirrm include/stxxl/bits/containers/btree
+@dirrm include/stxxl/bits/containers
+@dirrm include/stxxl/bits/compat
+@dirrm include/stxxl/bits/common
+@dirrm include/stxxl/bits/algo
+@dirrm include/stxxl/bits
+@dirrm include/stxxl



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