- Initial import of Embedded Multicore Building Blocks (EMBB)

This commit is contained in:
Thomas Zander 2014-10-11 17:28:39 +00:00
parent 69a4bb6af1
commit 22fd6e29a3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=370653
5 changed files with 306 additions and 0 deletions

View file

@ -394,6 +394,7 @@
SUBDIR += elfrc SUBDIR += elfrc
SUBDIR += elfsh SUBDIR += elfsh
SUBDIR += elftoaout SUBDIR += elftoaout
SUBDIR += embb
SUBDIR += epl.el SUBDIR += epl.el
SUBDIR += epm SUBDIR += epm
SUBDIR += epydoc SUBDIR += epydoc

37
devel/embb/Makefile Normal file
View file

@ -0,0 +1,37 @@
# Created by: Thomas Zander <riggs@FreeBSD.org>
# $FreeBSD$
PORTNAME= embb
PORTVERSION= 0.2.1
CATEGORIES= devel
MAINTAINER= riggs@FreeBSD.org
COMMENT= Embedded Multicore Building Blocks
LICENSE= BSD2CLAUSE BSD3CLAUSE
LICENSE_COMB= multi
USE_GITHUB= yes
GH_ACCOUNT= riggs-
GH_COMMIT= d40a5c3
GH_TAGNAME= ${GH_COMMIT}
USES= cmake:outsource compiler:c11
CMAKE_ARGS= -DINSTALL_PREFIX=${PREFIX} \
-DBUILD_TESTS=OFF
OPTIONS_DEFINE= DOCS EXAMPLES
DOCS_CMAKE_OFF= -DINSTALL_DOCS=OFF
OPTIONS_SUB= yes
post-patch:
${RM} ${WRKSRC}/doc/examples/CMakeLists.txt
${MV} ${WRKSRC}/doc/examples ${WRKSRC}
post-install:
cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}/${EXAMPLESDIR}
.include <bsd.port.mk>

2
devel/embb/distinfo Normal file
View file

@ -0,0 +1,2 @@
SHA256 (embb-0.2.1.tar.gz) = ff4b0b82cbb4e9596576117f1c24dcb4e1899e8e486b4422da39bd47c0394a29
SIZE (embb-0.2.1.tar.gz) = 1447957

11
devel/embb/pkg-descr Normal file
View file

@ -0,0 +1,11 @@
The Embedded Multicore Building Blocks (EMBB) are an easy to use yet
powerful and efficient C/C++ library for the development of parallel
applications. EMBB has been specifically designed for embedded systems and
the typical requirements that accompany them, such as real-time capability
and constraints on memory consumption. As a major advantage, low-level
operations are hidden in the library which relieves software developers
from the burden of thread management and synchronization. This not only
improves productivity of parallel software development, but also results
in increased reliability and performance of the applications.
WWW: https://github.com/siemens/embb

255
devel/embb/pkg-plist Normal file
View file

@ -0,0 +1,255 @@
include/embb/algorithms/algorithms.h
include/embb/algorithms/count.h
include/embb/algorithms/execution_policy.h
include/embb/algorithms/for_each.h
include/embb/algorithms/identity.h
include/embb/algorithms/internal/count-inl.h
include/embb/algorithms/internal/for_each-inl.h
include/embb/algorithms/internal/merge_sort-inl.h
include/embb/algorithms/internal/partition-inl.h
include/embb/algorithms/internal/partition.h
include/embb/algorithms/internal/quick_sort-inl.h
include/embb/algorithms/internal/reduce-inl.h
include/embb/algorithms/internal/scan-inl.h
include/embb/algorithms/invoke.h
include/embb/algorithms/merge_sort.h
include/embb/algorithms/quick_sort.h
include/embb/algorithms/reduce.h
include/embb/algorithms/scan.h
include/embb/algorithms/zip_iterator.h
include/embb/base/atomic.h
include/embb/base/base.h
include/embb/base/c/atomic.h
include/embb/base/c/base.h
include/embb/base/c/condition_variable.h
include/embb/base/c/core_set.h
include/embb/base/c/counter.h
include/embb/base/c/duration.h
include/embb/base/c/errors.h
include/embb/base/c/internal/atomic/and_assign.h
include/embb/base/c/internal/atomic/atomic_sizes.h
include/embb/base/c/internal/atomic/atomic_variables.h
include/embb/base/c/internal/atomic/compare_and_swap.h
include/embb/base/c/internal/atomic/fetch_and_add.h
include/embb/base/c/internal/atomic/generate_atomic_implementation_template.h
include/embb/base/c/internal/atomic/load.h
include/embb/base/c/internal/atomic/memory_barrier.h
include/embb/base/c/internal/atomic/or_assign.h
include/embb/base/c/internal/atomic/store.h
include/embb/base/c/internal/atomic/swap.h
include/embb/base/c/internal/atomic/xor_assign.h
include/embb/base/c/internal/bitset.h
include/embb/base/c/internal/cmake_config.h
include/embb/base/c/internal/config.h
include/embb/base/c/internal/macro_helper.h
include/embb/base/c/internal/platform.h
include/embb/base/c/internal/thread_index.h
include/embb/base/c/internal/unused.h
include/embb/base/c/log.h
include/embb/base/c/memory_allocation.h
include/embb/base/c/mutex.h
include/embb/base/c/thread.h
include/embb/base/c/thread_specific_storage.h
include/embb/base/c/time.h
include/embb/base/condition_variable.h
include/embb/base/core_set.h
include/embb/base/duration.h
include/embb/base/exceptions.h
include/embb/base/function.h
include/embb/base/internal/atomic/atomic_arithmetic.h
include/embb/base/internal/atomic/atomic_base.h
include/embb/base/internal/atomic/atomic_implementation.h
include/embb/base/internal/atomic/atomic_integer.h
include/embb/base/internal/atomic/atomic_pointer.h
include/embb/base/internal/atomic/atomic_utility.h
include/embb/base/internal/cmake_config.h
include/embb/base/internal/condition_variable-inl.h
include/embb/base/internal/config.h
include/embb/base/internal/duration-inl.h
include/embb/base/internal/function0.h
include/embb/base/internal/function1.h
include/embb/base/internal/function2.h
include/embb/base/internal/function3.h
include/embb/base/internal/function4.h
include/embb/base/internal/function5.h
include/embb/base/internal/functionT.h
include/embb/base/internal/memory_allocation-inl.h
include/embb/base/internal/mutex-inl.h
include/embb/base/internal/nil.h
include/embb/base/internal/platform.h
include/embb/base/internal/thread-inl.h
include/embb/base/internal/thread_closures.h
include/embb/base/internal/thread_specific_storage-inl.h
include/embb/base/memory_allocation.h
include/embb/base/mutex.h
include/embb/base/thread.h
include/embb/base/thread_specific_storage.h
include/embb/base/time.h
include/embb/containers/containers.h
include/embb/containers/internal/hazard_pointer-inl.h
include/embb/containers/internal/hazard_pointer.h
include/embb/containers/internal/lock_free_mpmc_queue-inl.h
include/embb/containers/internal/lock_free_stack-inl.h
include/embb/containers/internal/lock_free_tree_value_pool-inl.h
include/embb/containers/internal/object_pool-inl.h
include/embb/containers/internal/wait_free_array_value_pool-inl.h
include/embb/containers/internal/wait_free_spsc_queue-inl.h
include/embb/containers/lock_free_mpmc_queue.h
include/embb/containers/lock_free_stack.h
include/embb/containers/lock_free_tree_value_pool.h
include/embb/containers/object_pool.h
include/embb/containers/wait_free_array_value_pool.h
include/embb/containers/wait_free_spsc_queue.h
include/embb/dataflow/dataflow.h
include/embb/dataflow/internal/action.h
include/embb/dataflow/internal/clock_listener.h
include/embb/dataflow/internal/constant_source.h
include/embb/dataflow/internal/in.h
include/embb/dataflow/internal/inputs.h
include/embb/dataflow/internal/node.h
include/embb/dataflow/internal/out.h
include/embb/dataflow/internal/outputs.h
include/embb/dataflow/internal/process.h
include/embb/dataflow/internal/process_executor.h
include/embb/dataflow/internal/scheduler.h
include/embb/dataflow/internal/scheduler_mtapi.h
include/embb/dataflow/internal/scheduler_sequential.h
include/embb/dataflow/internal/select.h
include/embb/dataflow/internal/signal.h
include/embb/dataflow/internal/sink.h
include/embb/dataflow/internal/sink_executor.h
include/embb/dataflow/internal/source.h
include/embb/dataflow/internal/source_executor.h
include/embb/dataflow/internal/spinlock.h
include/embb/dataflow/internal/switch.h
include/embb/dataflow/internal/tuple.h
include/embb/dataflow/internal/typelist.h
include/embb/dataflow/network.h
include/embb/mtapi/action.h
include/embb/mtapi/affinity.h
include/embb/mtapi/c/mtapi.h
include/embb/mtapi/continuation.h
include/embb/mtapi/group.h
include/embb/mtapi/mtapi.h
include/embb/mtapi/node.h
include/embb/mtapi/queue.h
include/embb/mtapi/task.h
include/embb/mtapi/taskcontext.h
include/mtapi.h
lib/libembb_algorithms_cpp.a
lib/libembb_base_c.a
lib/libembb_base_cpp.a
lib/libembb_containers_cpp.a
lib/libembb_dataflow_cpp.a
lib/libembb_mtapi_c.a
lib/libembb_mtapi_cpp.a
%%EXAMPLES%%%%EXAMPLESDIR%%/algorithms/counting/count-snippet.h
%%EXAMPLES%%%%EXAMPLESDIR%%/algorithms/counting/count_if-snippet.h
%%EXAMPLES%%%%EXAMPLESDIR%%/algorithms/counting/counting-fragmented.cc
%%EXAMPLES%%%%EXAMPLESDIR%%/algorithms/counting/setup-snippet.h
%%EXAMPLES%%%%EXAMPLESDIR%%/algorithms/for_each/doubling-snippet.h
%%EXAMPLES%%%%EXAMPLESDIR%%/algorithms/for_each/doubling_zip-snippet.h
%%EXAMPLES%%%%EXAMPLESDIR%%/algorithms/for_each/for_each-fragmented.cc
%%EXAMPLES%%%%EXAMPLESDIR%%/algorithms/for_each/setup_zip-snippet.h
%%EXAMPLES%%%%EXAMPLESDIR%%/algorithms/invoke/invocation-snippet.h
%%EXAMPLES%%%%EXAMPLESDIR%%/algorithms/invoke/invoke-fragmented.cc
%%EXAMPLES%%%%EXAMPLESDIR%%/algorithms/invoke/packages-snippet.h
%%EXAMPLES%%%%EXAMPLESDIR%%/algorithms/invoke/parallel_quick_sort-snippet.h
%%EXAMPLES%%%%EXAMPLESDIR%%/algorithms/invoke/quick_sort-snippet.h
%%EXAMPLES%%%%EXAMPLESDIR%%/algorithms/reduce/dot_product-snippet.h
%%EXAMPLES%%%%EXAMPLESDIR%%/algorithms/reduce/parallel-snippet.h
%%EXAMPLES%%%%EXAMPLESDIR%%/algorithms/reduce/range_init-snippet.h
%%EXAMPLES%%%%EXAMPLESDIR%%/algorithms/reduce/reduce-fragmented.cc
%%EXAMPLES%%%%EXAMPLESDIR%%/algorithms/reduce/second_range_init-snippet.h
%%EXAMPLES%%%%EXAMPLESDIR%%/algorithms/reduce/sequential-snippet.h
%%EXAMPLES%%%%EXAMPLESDIR%%/algorithms/scan/prefix_sum-snippet.h
%%EXAMPLES%%%%EXAMPLESDIR%%/algorithms/scan/scan-fragmented.cc
%%EXAMPLES%%%%EXAMPLESDIR%%/algorithms/scan/sequential_prefix_sum-snippet.h
%%EXAMPLES%%%%EXAMPLESDIR%%/algorithms/scan/setup-snippet.h
%%EXAMPLES%%%%EXAMPLESDIR%%/algorithms/sorting/merge_sort_preallocated-snippet.h
%%EXAMPLES%%%%EXAMPLESDIR%%/algorithms/sorting/quick_sort-snippet.h
%%EXAMPLES%%%%EXAMPLESDIR%%/algorithms/sorting/quick_sort_custom_compare-snippet.h
%%EXAMPLES%%%%EXAMPLESDIR%%/algorithms/sorting/range_define-snippet.h
%%EXAMPLES%%%%EXAMPLESDIR%%/algorithms/sorting/sorting-fragmented.cc
%%EXAMPLES%%%%EXAMPLESDIR%%/containers/object_pool-fragmented.cc
%%EXAMPLES%%%%EXAMPLESDIR%%/containers/object_pool-snippet.h
%%EXAMPLES%%%%EXAMPLESDIR%%/containers/object_pool_2-snippet.h
%%EXAMPLES%%%%EXAMPLESDIR%%/containers/queues-fragmented.cc
%%EXAMPLES%%%%EXAMPLESDIR%%/containers/queues-snippet.h
%%EXAMPLES%%%%EXAMPLESDIR%%/containers/stack-fragmented.cc
%%EXAMPLES%%%%EXAMPLESDIR%%/containers/stack-snippet.h
%%EXAMPLES%%%%EXAMPLESDIR%%/dataflow/dataflow_add-snippet.h
%%EXAMPLES%%%%EXAMPLESDIR%%/dataflow/dataflow_comparator-snippet.h
%%EXAMPLES%%%%EXAMPLESDIR%%/dataflow/dataflow_connect-snippet.h
%%EXAMPLES%%%%EXAMPLESDIR%%/dataflow/dataflow_consumer-snippet.h
%%EXAMPLES%%%%EXAMPLESDIR%%/dataflow/dataflow_declare_add_sources-snippet.h
%%EXAMPLES%%%%EXAMPLESDIR%%/dataflow/dataflow_declare_replace-snippet.h
%%EXAMPLES%%%%EXAMPLESDIR%%/dataflow/dataflow_declare_sink-snippet.h
%%EXAMPLES%%%%EXAMPLESDIR%%/dataflow/dataflow_declare_source-snippet.h
%%EXAMPLES%%%%EXAMPLESDIR%%/dataflow/dataflow_include-snippet.h
%%EXAMPLES%%%%EXAMPLESDIR%%/dataflow/dataflow_linear-fragmented.cc
%%EXAMPLES%%%%EXAMPLESDIR%%/dataflow/dataflow_network-snippet.h
%%EXAMPLES%%%%EXAMPLESDIR%%/dataflow/dataflow_nonlinear-fragmented.cc
%%EXAMPLES%%%%EXAMPLESDIR%%/dataflow/dataflow_producer-snippet.h
%%EXAMPLES%%%%EXAMPLESDIR%%/dataflow/dataflow_replace_function-snippet.h
%%EXAMPLES%%%%EXAMPLESDIR%%/dataflow/dataflow_run-snippet.h
%%EXAMPLES%%%%EXAMPLESDIR%%/dataflow/dataflow_sink_function-snippet.h
%%EXAMPLES%%%%EXAMPLESDIR%%/dataflow/dataflow_source_function-snippet.h
%%EXAMPLES%%%%EXAMPLESDIR%%/insert_snippets.py
%%EXAMPLES%%%%EXAMPLESDIR%%/main.cc
%%EXAMPLES%%%%EXAMPLESDIR%%/mtapi/mtapi_c-fragmented.cc
%%EXAMPLES%%%%EXAMPLESDIR%%/mtapi/mtapi_c_action_signature-snippet.h
%%EXAMPLES%%%%EXAMPLESDIR%%/mtapi/mtapi_c_calc_direct-snippet.h
%%EXAMPLES%%%%EXAMPLESDIR%%/mtapi/mtapi_c_calc_task-snippet.h
%%EXAMPLES%%%%EXAMPLESDIR%%/mtapi/mtapi_c_domain_node_id-snippet.h
%%EXAMPLES%%%%EXAMPLESDIR%%/mtapi/mtapi_c_finalize-snippet.h
%%EXAMPLES%%%%EXAMPLESDIR%%/mtapi/mtapi_c_initialize-snippet.h
%%EXAMPLES%%%%EXAMPLESDIR%%/mtapi/mtapi_c_register_action-snippet.h
%%EXAMPLES%%%%EXAMPLESDIR%%/mtapi/mtapi_c_start_task-snippet.h
%%EXAMPLES%%%%EXAMPLESDIR%%/mtapi/mtapi_c_validate_arguments-snippet.h
%%EXAMPLES%%%%EXAMPLESDIR%%/mtapi/mtapi_c_validate_result_buffer-snippet.h
%%EXAMPLES%%%%EXAMPLESDIR%%/mtapi/mtapi_c_wait_task-snippet.h
%%EXAMPLES%%%%EXAMPLESDIR%%/mtapi/mtapi_check_status-snippet.h
%%EXAMPLES%%%%EXAMPLESDIR%%/mtapi/mtapi_cpp-fragmented.cc
%%EXAMPLES%%%%EXAMPLESDIR%%/mtapi/mtapi_cpp_action_signature-snippet.h
%%EXAMPLES%%%%EXAMPLESDIR%%/mtapi/mtapi_cpp_calc_direct-snippet.h
%%EXAMPLES%%%%EXAMPLESDIR%%/mtapi/mtapi_cpp_calc_task-snippet.h
%%EXAMPLES%%%%EXAMPLESDIR%%/mtapi/mtapi_cpp_get_node-snippet.h
%%EXAMPLES%%%%EXAMPLESDIR%%/mtapi/mtapi_cpp_start_task-snippet.h
%%EXAMPLES%%%%EXAMPLESDIR%%/mtapi/mtapi_cpp_wait_task-snippet.h
%%EXAMPLES%%%%EXAMPLESDIR%%/mtapi/mtapi_terminating_condition-snippet.h
%%EXAMPLES%%%%EXAMPLESDIR%%/mtapi/mtapi_write_back-snippet.h
%%EXAMPLES%%%%EXAMPLESDIR%%/stl_for_each/function-snippet.h
%%EXAMPLES%%%%EXAMPLESDIR%%/stl_for_each/function_define-snippet.h
%%EXAMPLES%%%%EXAMPLESDIR%%/stl_for_each/functor-snippet.h
%%EXAMPLES%%%%EXAMPLESDIR%%/stl_for_each/functor_define-snippet.h
%%EXAMPLES%%%%EXAMPLESDIR%%/stl_for_each/lambda-snippet.h
%%EXAMPLES%%%%EXAMPLESDIR%%/stl_for_each/manual-snippet.h
%%EXAMPLES%%%%EXAMPLESDIR%%/stl_for_each/setup-snippet.h
%%EXAMPLES%%%%EXAMPLESDIR%%/stl_for_each/stl_for_each-fragmented.cc
%%DOCS%%%%DOCSDIR%%/images/embb.jpg
%%DOCS%%%%DOCSDIR%%/images/embb.pdf
%%DOCS%%%%DOCSDIR%%/images/embb.png
%%DOCS%%%%DOCSDIR%%/images/embb.pptx
%%DOCS%%%%DOCSDIR%%/reference/Doxyfile.in
%%DOCS%%%%DOCSDIR%%/reference/DoxygenHTMLStyle.css
%%DOCS%%%%DOCSDIR%%/reference/DoxygenLayout.xml
%%DOCS%%%%DOCSDIR%%/reference/embb.dox
%%DOCS%%%%DOCSDIR%%/reference/header.html
%%DOCS%%%%DOCSDIR%%/reference/index.html
%%DOCS%%%%DOCSDIR%%/tutorial/content/algorithms.tex
%%DOCS%%%%DOCSDIR%%/tutorial/content/containers.tex
%%DOCS%%%%DOCSDIR%%/tutorial/content/dataflow.tex
%%DOCS%%%%DOCSDIR%%/tutorial/content/introduction.tex
%%DOCS%%%%DOCSDIR%%/tutorial/content/mtapi.tex
%%DOCS%%%%DOCSDIR%%/tutorial/content/preface.tex
%%DOCS%%%%DOCSDIR%%/tutorial/customize.tex
%%DOCS%%%%DOCSDIR%%/tutorial/pics/chicago-square.jpg
%%DOCS%%%%DOCSDIR%%/tutorial/pics/cover/logo_multicore_expert-center_siemens.png
%%DOCS%%%%DOCSDIR%%/tutorial/pics/cover/sie_logo_layer_petrol_rgb.png
%%DOCS%%%%DOCSDIR%%/tutorial/references.bib
%%DOCS%%%%DOCSDIR%%/tutorial/sty/README.txt
%%DOCS%%%%DOCSDIR%%/tutorial/sty/siemens_core.sty
%%DOCS%%%%DOCSDIR%%/tutorial/sty/siemens_double.sty
%%DOCS%%%%DOCSDIR%%/tutorial/sty/siemens_single.sty
%%DOCS%%%%DOCSDIR%%/tutorial/tutorial.tex