diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2013-09-24 04:47:27 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2013-09-24 04:47:27 +0800 |
commit | 83ed6a4af993650c49be1dc491c54ef915fe5351 (patch) | |
tree | 4d6b4380d347b04e3d927143126b878b08d5a3c3 /devel | |
parent | 6fafc1fe2565920cd326208ff212fdf450453820 (diff) | |
download | freebsd-ports-gnome-83ed6a4af993650c49be1dc491c54ef915fe5351.tar.gz freebsd-ports-gnome-83ed6a4af993650c49be1dc491c54ef915fe5351.tar.zst freebsd-ports-gnome-83ed6a4af993650c49be1dc491c54ef915fe5351.zip |
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/
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/stxxl/Makefile | 48 | ||||
-rw-r--r-- | devel/stxxl/distinfo | 2 | ||||
-rw-r--r-- | devel/stxxl/files/patch-include-stxxl-bits-mng-config.h | 11 | ||||
-rw-r--r-- | devel/stxxl/files/patch-misc-run-all-tests | 10 | ||||
-rw-r--r-- | devel/stxxl/files/patch-utils-malloc.cpp | 10 | ||||
-rw-r--r-- | devel/stxxl/files/patch-utils-mlock.cpp | 10 | ||||
-rw-r--r-- | devel/stxxl/pkg-descr | 10 | ||||
-rw-r--r-- | devel/stxxl/pkg-plist | 152 |
9 files changed, 254 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index b1426fcf2729..6b12bcb1af5b 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4357,6 +4357,7 @@ SUBDIR += strace SUBDIR += streamhtmlparser SUBDIR += stringencoders + SUBDIR += stxxl SUBDIR += styx SUBDIR += subclipse SUBDIR += subcommander2 diff --git a/devel/stxxl/Makefile b/devel/stxxl/Makefile new file mode 100644 index 000000000000..ce0103ae65e4 --- /dev/null +++ b/devel/stxxl/Makefile @@ -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> diff --git a/devel/stxxl/distinfo b/devel/stxxl/distinfo new file mode 100644 index 000000000000..122cedae0e3c --- /dev/null +++ b/devel/stxxl/distinfo @@ -0,0 +1,2 @@ +SHA256 (stxxl-1.3.1.tar.gz) = e852c925cdce9a7b0fc6bbc76923dbabe7d103a39b03b7d7350eafa48cc801ae +SIZE (stxxl-1.3.1.tar.gz) = 922088 diff --git a/devel/stxxl/files/patch-include-stxxl-bits-mng-config.h b/devel/stxxl/files/patch-include-stxxl-bits-mng-config.h new file mode 100644 index 000000000000..01e7c477e175 --- /dev/null +++ b/devel/stxxl/files/patch-include-stxxl-bits-mng-config.h @@ -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 + diff --git a/devel/stxxl/files/patch-misc-run-all-tests b/devel/stxxl/files/patch-misc-run-all-tests new file mode 100644 index 000000000000..0f864cfaded6 --- /dev/null +++ b/devel/stxxl/files/patch-misc-run-all-tests @@ -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" diff --git a/devel/stxxl/files/patch-utils-malloc.cpp b/devel/stxxl/files/patch-utils-malloc.cpp new file mode 100644 index 000000000000..68584e5e5898 --- /dev/null +++ b/devel/stxxl/files/patch-utils-malloc.cpp @@ -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() + { diff --git a/devel/stxxl/files/patch-utils-mlock.cpp b/devel/stxxl/files/patch-utils-mlock.cpp new file mode 100644 index 000000000000..1288a49d9f51 --- /dev/null +++ b/devel/stxxl/files/patch-utils-mlock.cpp @@ -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) + { diff --git a/devel/stxxl/pkg-descr b/devel/stxxl/pkg-descr new file mode 100644 index 000000000000..004e351ea508 --- /dev/null +++ b/devel/stxxl/pkg-descr @@ -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/ diff --git a/devel/stxxl/pkg-plist b/devel/stxxl/pkg-plist new file mode 100644 index 000000000000..92f3cbbe40ba --- /dev/null +++ b/devel/stxxl/pkg-plist @@ -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 |