Skip to content

Commit

Permalink
Merge branch 'master' into uninitialized_move
Browse files Browse the repository at this point in the history
  • Loading branch information
hkaiser committed Jun 8, 2017
2 parents 82e3643 + df67d48 commit e4f157b
Show file tree
Hide file tree
Showing 207 changed files with 6,045 additions and 1,015 deletions.
18 changes: 14 additions & 4 deletions CMakeLists.txt
Expand Up @@ -114,9 +114,13 @@ endif()

# Adjust a couple of build-system settings, if HPX is to be built using vcpkg
if(MSVC)
set(_with_vcpkg_default OFF)
if(VCPKG_TOOLCHAIN)
set(_with_vcpkg_default ON)
endif()
hpx_option(HPX_WITH_VCPKG BOOL
"Build HPX in the context of the vcpkg build and configuration tool (default: OFF)."
OFF ADVANCED)
${_with_vcpkg_default} ADVANCED)
if(HPX_WITH_VCPKG)
hpx_add_config_define(HPX_HAVE_VCPKG)
endif()
Expand Down Expand Up @@ -380,9 +384,8 @@ hpx_option(HPX_WITH_DISABLED_SIGNAL_EXCEPTION_HANDLERS BOOL
"Disables the mechanism that produces debug output for caught signals and unhandled exceptions (default: OFF)"
OFF
ADVANCED)

if(HPX_WITH_DISABLED_SIGNAL_EXCEPTION_HANDLERS)
add_definitions(-DHPX_WITH_DISABLED_SIGNAL_EXCEPTION_HANDLERS)
hpx_add_config_define(HPX_HAVE_DISABLED_SIGNAL_EXCEPTION_HANDLERS)
endif()

## Thread Manager related build options
Expand Down Expand Up @@ -544,7 +547,6 @@ if(HPX_WITH_GOOGLE_PERFTOOLS)
hpx_add_config_define(HPX_HAVE_GOOGLE_PERFTOOLS)
endif()


hpx_option(HPX_WITH_ITTNOTIFY BOOL
"Enable Amplifier (ITT) instrumentation support." OFF CATEGORY "Profiling")

Expand Down Expand Up @@ -847,6 +849,14 @@ if(HPX_WITH_ASYNC_FUNCTION_COMPATIBILITY)
hpx_add_config_define(HPX_HAVE_ASYNC_FUNCTION_COMPATIBILITY)
endif()

# HPX_WITH_QUEUE_COMPATIBILITY: introduced in V1.1.0
hpx_option(HPX_WITH_QUEUE_COMPATIBILITY BOOL
"Enable old style queue components in API (default: OFF)"
OFF ADVANCED)
if(HPX_WITH_QUEUE_COMPATIBILITY)
hpx_add_config_define(HPX_HAVE_QUEUE_COMPATIBILITY)
endif()

# BADBAD: This enables an overload of swap which is necessary to work around the
# problems caused by zip_iterator not being a real random access iterator.
# Dereferencing zip_iterator does not yield a true reference but
Expand Down
2 changes: 1 addition & 1 deletion cmake/FindAmplifier.cmake
Expand Up @@ -4,7 +4,7 @@
# Distributed under the Boost Software License, Version 1.0. (See accompanying
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

find_package(PkgConfig)
find_package(PkgConfig QUIET)
pkg_check_modules(PC_AMPLIFIER QUIET amplifier)

find_path(AMPLIFIER_INCLUDE_DIR ittnotify.h
Expand Down
2 changes: 1 addition & 1 deletion cmake/FindGooglePerftools.cmake
Expand Up @@ -12,7 +12,7 @@
# Distributed under the Boost Software License, Version 1.0. (See accompanying
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

find_package(PkgConfig)
find_package(PkgConfig QUIET)
pkg_check_modules(PC_GOOGLE_PERFTOOLS QUIET libprofiler)

find_path(GOOGLE_PERFTOOLS_INCLUDE_DIR google/profiler.h
Expand Down
2 changes: 1 addition & 1 deletion cmake/FindHwloc.cmake
Expand Up @@ -6,7 +6,7 @@
# Distributed under the Boost Software License, Version 1.0. (See accompanying
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

find_package(PkgConfig)
find_package(PkgConfig QUIET)
pkg_check_modules(PC_HWLOC QUIET hwloc)

find_path(HWLOC_INCLUDE_DIR hwloc.h
Expand Down
2 changes: 1 addition & 1 deletion cmake/FindIbverbs.cmake
Expand Up @@ -6,7 +6,7 @@
# Distributed under the Boost Software License, Version 1.0. (See accompanying
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

find_package(PkgConfig)
find_package(PkgConfig QUIET)
pkg_check_modules(PC_IBVERBS QUIET libibverbs)

find_path(IBVERBS_INCLUDE_DIR infiniband/verbs.h
Expand Down
2 changes: 1 addition & 1 deletion cmake/FindJemalloc.cmake
Expand Up @@ -7,7 +7,7 @@
# Distributed under the Boost Software License, Version 1.0. (See accompanying
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

find_package(PkgConfig)
find_package(PkgConfig QUIET)
pkg_check_modules(PC_JEMALLOC QUIET jemalloc)

find_path(JEMALLOC_INCLUDE_DIR jemalloc/jemalloc.h
Expand Down
2 changes: 1 addition & 1 deletion cmake/FindLibfabric.cmake
Expand Up @@ -3,7 +3,7 @@
# Distributed under the Boost Software License, Version 1.0. (See accompanying
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

find_package(PkgConfig)
find_package(PkgConfig QUIET)
pkg_check_modules(PC_LIBFABRIC QUIET libfabric)

find_path(LIBFABRIC_INCLUDE_DIR rdma/fabric.h
Expand Down
2 changes: 1 addition & 1 deletion cmake/FindMSR.cmake
Expand Up @@ -7,7 +7,7 @@
# Distributed under the Boost Software License, Version 1.0. (See accompanying
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

find_package(PkgConfig)
find_package(PkgConfig QUIET)
pkg_check_modules(PC_MSR QUIET libmsr)

find_path(MSR_INCLUDE_DIR msr_core.h
Expand Down
2 changes: 1 addition & 1 deletion cmake/FindOrangeFS.cmake
Expand Up @@ -4,7 +4,7 @@
# Distributed under the Boost Software License, Version 1.0. (See accompanying
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

find_package(PkgConfig)
find_package(PkgConfig QUIET)
pkg_check_modules(PC_ORANGEFS QUIET orangefs)

find_path(ORANGEFS_INCLUDE_DIR NAMES pxfs.h orange.h
Expand Down
2 changes: 1 addition & 1 deletion cmake/FindPAPI.cmake
Expand Up @@ -6,7 +6,7 @@
# Distributed under the Boost Software License, Version 1.0. (See accompanying
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

find_package(PkgConfig)
find_package(PkgConfig QUIET)
pkg_check_modules(PC_PAPI QUIET papi)

find_path(PAPI_INCLUDE_DIR papi.h
Expand Down
2 changes: 1 addition & 1 deletion cmake/FindPMI.cmake
Expand Up @@ -3,7 +3,7 @@
# Distributed under the Boost Software License, Version 1.0. (See accompanying
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

find_package(PkgConfig)
find_package(PkgConfig QUIET)
# look for cray pmi...
pkg_check_modules(PC_PMI_CRAY QUIET cray-pmi)
# look for the rest if we couldn't find the cray package
Expand Down
2 changes: 1 addition & 1 deletion cmake/FindQThreads.cmake
Expand Up @@ -4,7 +4,7 @@
# Distributed under the Boost Software License, Version 1.0. (See accompanying
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

find_package(PkgConfig)
find_package(PkgConfig QUIET)
pkg_check_modules(PC_QTHREADS QUIET swarm)

find_path(QTHREADS_INCLUDE_DIR qthread/qthread.h
Expand Down
2 changes: 1 addition & 1 deletion cmake/FindRdmacm.cmake
Expand Up @@ -6,7 +6,7 @@
# Distributed under the Boost Software License, Version 1.0. (See accompanying
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

find_package(PkgConfig)
find_package(PkgConfig QUIET)
pkg_check_modules(PC_RDMACM QUIET libibverbs)

find_path(RDMACM_INCLUDE_DIR rdma/rdma_cma.h
Expand Down
2 changes: 1 addition & 1 deletion cmake/FindSnappy.cmake
Expand Up @@ -4,7 +4,7 @@
# Distributed under the Boost Software License, Version 1.0. (See accompanying
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

find_package(PkgConfig)
find_package(PkgConfig QUIET)
pkg_check_modules(PC_SNAPPY QUIET snappy)

find_path(SNAPPY_INCLUDE_DIR snappy.h
Expand Down
2 changes: 1 addition & 1 deletion cmake/FindTBB.cmake
Expand Up @@ -4,7 +4,7 @@
# Distributed under the Boost Software License, Version 1.0. (See accompanying
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

find_package(PkgConfig)
find_package(PkgConfig QUIET)
pkg_check_modules(PC_TBB QUIET libtbb)

find_path(TBB_INCLUDE_DIR tbb/tbb.h
Expand Down
2 changes: 1 addition & 1 deletion cmake/FindTBBmalloc.cmake
Expand Up @@ -6,7 +6,7 @@
# Distributed under the Boost Software License, Version 1.0. (See accompanying
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

find_package(PkgConfig)
find_package(PkgConfig QUIET)
pkg_check_modules(PC_TBBMALLOC QUIET libtbbmalloc)

find_path(TBBMALLOC_INCLUDE_DIR tbb/scalable_allocator.h
Expand Down
2 changes: 1 addition & 1 deletion cmake/FindTCMalloc.cmake
Expand Up @@ -7,7 +7,7 @@
# Distributed under the Boost Software License, Version 1.0. (See accompanying
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

find_package(PkgConfig)
find_package(PkgConfig QUIET)
pkg_check_modules(PC_TCMALLOC_MINIMAL QUIET libtcmalloc_minimal)
pkg_check_modules(PC_TCMALLOC QUIET libtcmalloc)

Expand Down
2 changes: 1 addition & 1 deletion cmake/FindValgrind.cmake
Expand Up @@ -7,7 +7,7 @@
# Distributed under the Boost Software License, Version 1.0. (See accompanying
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

find_package(PkgConfig)
find_package(PkgConfig QUIET)
pkg_check_modules(PC_VALGRIND QUIET valgrind)

find_path(VALGRIND_INCLUDE_DIR valgrind/valgrind.h
Expand Down
5 changes: 2 additions & 3 deletions cmake/HPX_SetupBoost.cmake
Expand Up @@ -131,8 +131,7 @@ if(MSVC)
hpx_option(HPX_WITH_BOOST_ALL_DYNAMIC_LINK BOOL
"Add BOOST_ALL_DYN_LINK to compile flags (default: OFF)"
OFF ADVANCED)
if (HPX_WITH_BOOST_ALL_DYNAMIC_LINK OR HPX_WITH_VCPKG)
set(HPX_WITH_BOOST_ALL_DYNAMIC_LINK ON)
if (HPX_WITH_BOOST_ALL_DYNAMIC_LINK)
hpx_add_config_cond_define(BOOST_ALL_DYN_LINK)
endif()
else()
Expand All @@ -149,7 +148,7 @@ endif()

include_directories(SYSTEM ${Boost_INCLUDE_DIRS})
link_directories(${Boost_LIBRARY_DIRS})
if((NOT MSVC) OR HPX_WITH_BOOST_ALL_DYNAMIC_LINK)
if((NOT MSVC) OR HPX_WITH_BOOST_ALL_DYNAMIC_LINK OR HPX_WITH_VCPKG)
hpx_libraries(${Boost_LIBRARIES})
else()
hpx_library_dir(${Boost_LIBRARY_DIRS})
Expand Down
1 change: 1 addition & 0 deletions cmake/templates/autodoc.doxy.in
Expand Up @@ -13,4 +13,5 @@ XML_OUTPUT = @doxygen_output_file@
OUTPUT_DIRECTORY = @doxygen_output_dir@
GENERATE_LATEX = NO
INPUT = @doxygen_inputs@
EXCLUDE_SYMBOLS = detail

14 changes: 11 additions & 3 deletions docs/CMakeLists.txt
Expand Up @@ -72,6 +72,7 @@ set(doxygen_dependencies
"${PROJECT_SOURCE_DIR}/hpx/parallel/algorithms/for_loop_induction.hpp"
"${PROJECT_SOURCE_DIR}/hpx/parallel/algorithms/for_loop_reduction.hpp"
"${PROJECT_SOURCE_DIR}/hpx/parallel/algorithms/generate.hpp"
"${PROJECT_SOURCE_DIR}/hpx/parallel/algorithms/is_heap.hpp"
"${PROJECT_SOURCE_DIR}/hpx/parallel/algorithms/includes.hpp"
"${PROJECT_SOURCE_DIR}/hpx/parallel/algorithms/inclusive_scan.hpp"
"${PROJECT_SOURCE_DIR}/hpx/parallel/algorithms/is_partitioned.hpp"
Expand Down Expand Up @@ -100,8 +101,10 @@ set(doxygen_dependencies
"${PROJECT_SOURCE_DIR}/hpx/parallel/algorithms/transform_reduce.hpp"
"${PROJECT_SOURCE_DIR}/hpx/parallel/algorithms/transform_reduce_binary.hpp"
"${PROJECT_SOURCE_DIR}/hpx/parallel/algorithms/uninitialized_copy.hpp"
"${PROJECT_SOURCE_DIR}/hpx/parallel/algorithms/uninitialized_default_construct.hpp"
"${PROJECT_SOURCE_DIR}/hpx/parallel/algorithms/uninitialized_fill.hpp"
"${PROJECT_SOURCE_DIR}/hpx/parallel/algorithms/uninitialized_move.hpp"
"${PROJECT_SOURCE_DIR}/hpx/parallel/algorithms/uninitialized_value_construct.hpp"
"${PROJECT_SOURCE_DIR}/hpx/parallel/container_algorithms/copy.hpp"
"${PROJECT_SOURCE_DIR}/hpx/parallel/container_algorithms/for_each.hpp"
"${PROJECT_SOURCE_DIR}/hpx/parallel/container_algorithms/generate.hpp"
Expand All @@ -114,8 +117,9 @@ set(doxygen_dependencies
"${PROJECT_SOURCE_DIR}/hpx/parallel/container_algorithms/transform.hpp"
"${PROJECT_SOURCE_DIR}/hpx/parallel/executors/auto_chunk_size.hpp"
"${PROJECT_SOURCE_DIR}/hpx/parallel/executors/dynamic_chunk_size.hpp"
"${PROJECT_SOURCE_DIR}/hpx/parallel/executors/executor_traits.hpp"
"${PROJECT_SOURCE_DIR}/hpx/parallel/executors/executor_parameter_traits.hpp"
"${PROJECT_SOURCE_DIR}/hpx/parallel/executors/execution_fwd.hpp"
"${PROJECT_SOURCE_DIR}/hpx/parallel/executors/execution_information_fwd.hpp"
"${PROJECT_SOURCE_DIR}/hpx/parallel/executors/execution_parameter_fwd.hpp"
"${PROJECT_SOURCE_DIR}/hpx/parallel/executors/guided_chunk_size.hpp"
"${PROJECT_SOURCE_DIR}/hpx/parallel/executors/parallel_executor.hpp"
"${PROJECT_SOURCE_DIR}/hpx/parallel/executors/persistent_auto_chunk_size.hpp"
Expand All @@ -124,6 +128,7 @@ set(doxygen_dependencies
"${PROJECT_SOURCE_DIR}/hpx/parallel/executors/static_chunk_size.hpp"
"${PROJECT_SOURCE_DIR}/hpx/parallel/executors/thread_pool_executors.hpp"
"${PROJECT_SOURCE_DIR}/hpx/parallel/executors/timed_executor_traits.hpp"
"${PROJECT_SOURCE_DIR}/hpx/performance_counters/manage_counter_type.hpp"
"${PROJECT_SOURCE_DIR}/hpx/runtime_fwd.hpp"
"${PROJECT_SOURCE_DIR}/hpx/runtime/applier_fwd.hpp"
"${PROJECT_SOURCE_DIR}/hpx/runtime/basename_registration.hpp"
Expand Down Expand Up @@ -172,9 +177,12 @@ set(doxygen_dependencies
"${PROJECT_SOURCE_DIR}/hpx/lcos/when_some.hpp"
"${PROJECT_SOURCE_DIR}/hpx/lcos/wait_each.hpp"
"${PROJECT_SOURCE_DIR}/hpx/lcos/when_each.hpp"
"${PROJECT_SOURCE_DIR}/hpx/traits/is_execution_policy.hpp"
"${PROJECT_SOURCE_DIR}/hpx/util/invoke.hpp"
"${PROJECT_SOURCE_DIR}/hpx/util/invoke_fused.hpp"
"${PROJECT_SOURCE_DIR}/hpx/util/unwrapped.hpp"
"${PROJECT_SOURCE_DIR}/hpx/performance_counters/manage_counter_type.hpp")


foreach(doxygen_input ${doxygen_dependencies})
set(doxygen_inputs "${doxygen_inputs} ${doxygen_input}")
endforeach()
Expand Down

0 comments on commit e4f157b

Please sign in to comment.