Skip to content
Permalink
Browse files

Merge pull request #4114 from STEllAR-GROUP/module_serialization_2

Module serialization
  • Loading branch information...
sithhell committed Oct 8, 2019
2 parents 708072c + 19bb042 commit fa2ae9eb2c8b50d742e837373b5a1c5b11d7aa48
Showing 349 changed files with 6,041 additions and 4,111 deletions.
@@ -609,32 +609,6 @@ jobs:
- store_artifacts:
path: tests.unit.resource

tests.unit.serialization:
<<: *defaults
steps:
- attach_workspace:
at: /hpx
- run:
name: Building Unit Tests
command: |
ninja -j2 -k 0 tests.unit.serialization
- run:
name: Running Unit Tests
when: always
command: |
ulimit -c unlimited
ctest --timeout 60 -T test --no-compress-output --output-on-failure -R tests.unit.serialization
- run:
<<: *convert_xml
- run:
<<: *move_core_dump
- run:
<<: *move_debug_log
- store_test_results:
path: tests.unit.serialization
- store_artifacts:
path: tests.unit.serialization

tests.unit.threads:
<<: *defaults
steps:
@@ -763,6 +737,7 @@ jobs:
ninja -j2 -k 0 tests.unit.modules.iterator_support
ninja -j2 -k 0 tests.unit.modules.logging
ninja -j2 -k 0 tests.unit.modules.preprocessor
ninja -j2 -k 0 tests.unit.modules.serialization
ninja -j2 -k 0 tests.unit.modules.statistics
ninja -j2 -k 0 tests.unit.modules.testing
ninja -j2 -k 0 tests.unit.modules.thread_support
@@ -787,6 +762,7 @@ jobs:
ctest --timeout 60 -T test --no-compress-output --output-on-failure -R tests.unit.modules.iterator_support
ctest --timeout 60 -T test --no-compress-output --output-on-failure -R tests.unit.modules.logging
ctest --timeout 60 -T test --no-compress-output --output-on-failure -R tests.unit.modules.preprocessor
ctest --timeout 60 -T test --no-compress-output --output-on-failure -R tests.unit.modules.serialization
ctest --timeout 60 -T test --no-compress-output --output-on-failure -R tests.unit.modules.statistics
ctest --timeout 60 -T test --no-compress-output --output-on-failure -R tests.unit.modules.testing
ctest --timeout 60 -T test --no-compress-output --output-on-failure -R tests.unit.modules.thread_support
@@ -1088,8 +1064,6 @@ workflows:
<<: *core_dependency
- tests.unit.resource:
<<: *core_dependency
- tests.unit.serialization:
<<: *core_dependency
- tests.unit.threads:
<<: *core_dependency
- tests.unit.topology:
@@ -1136,7 +1110,6 @@ workflows:
- tests.unit.parcelset
- tests.unit.performance_counter
- tests.unit.resource
- tests.unit.serialization
- tests.unit.threads
- tests.unit.topology
- tests.unit.traits
@@ -74,14 +74,16 @@ IncludeCategories:
Priority: 1
- Regex: '^<hpx/.*/config\.hpp>'
Priority: 2
- Regex: '^<hpx/.*\.hpp>'
- Regex: '^<hpx/.*/config/defines\.hpp>'
Priority: 3
- Regex: '^<hpx/parallel/.*\.hpp>'
- Regex: '^<hpx/.*\.hpp>'
Priority: 4
- Regex: '^<.*'
- Regex: '^<hpx/parallel/.*\.hpp>'
Priority: 5
- Regex: '.*'
- Regex: '^<.*'
Priority: 6
- Regex: '.*'
Priority: 7
# IncludeIsMainRegex: ''
IndentCaseLabels: false
IndentWidth: 4
@@ -11,13 +11,16 @@ function(create_configuration_summary message module_name)

set(hpx_config_information)
set(upper_cfg_name "HPX")
set(upper_option_suffix "")

string(TOUPPER ${module_name} module_name_uc)
if(NOT "${module_name_uc}x" STREQUAL "HPXx")
set(upper_cfg_name "HPX_${module_name_uc}")
set(upper_option_suffix "_${module_name_uc}")
endif()

get_property(DEFINITIONS_VARS GLOBAL PROPERTY HPX_CONFIG_DEFINITIONS)
get_property(DEFINITIONS_VARS GLOBAL
PROPERTY HPX_CONFIG_DEFINITIONS${upper_option_suffix})
if(DEFINED DEFINITIONS_VARS)
list(SORT DEFINITIONS_VARS)
list(REMOVE_DUPLICATES DEFINITIONS_VARS)
@@ -10,5 +10,4 @@
#define HPX_@name_upper@_HPP

@module_headers@

#endif
@@ -104,6 +104,10 @@ def build_cmd(options, args):
cmd = [args[0]]
args.pop(0)

# Append the remaining args
for arg in args:
cmd += [arg]

if options.localities > 1:
# Selecting the parcelport for hpx via hpx ini confifuration
select_parcelport = (lambda pp:
@@ -126,10 +130,6 @@ def build_cmd(options, args):
if options.localities > 1:
cmd += ['--hpx:localities=' + str(options.localities)]

# Append the remaining args
for arg in args:
cmd += [arg]

return cmd

def check_options(parser, options, args):
@@ -9,7 +9,7 @@

#include <hpx/config.hpp>
#include <hpx/components/containers/partitioned_vector/partitioned_vector_decl.hpp>
#include <hpx/runtime/serialization/serialize.hpp>
#include <hpx/serialization/serialize.hpp>
#include <hpx/errors.hpp>

#include <string>
@@ -18,9 +18,9 @@
#include <hpx/runtime/components/new.hpp>
#include <hpx/runtime/components/server/distributed_metadata_base.hpp>
#include <hpx/runtime/get_ptr.hpp>
#include <hpx/runtime/serialization/serialize.hpp>
#include <hpx/runtime/serialization/unordered_map.hpp>
#include <hpx/runtime/serialization/vector.hpp>
#include <hpx/serialization/serialize.hpp>
#include <hpx/serialization/unordered_map.hpp>
#include <hpx/serialization/vector.hpp>
#include <hpx/traits/is_distribution_policy.hpp>
#include <hpx/functional/bind_front.hpp>

@@ -9,7 +9,7 @@

#include <hpx/config.hpp>
#include <hpx/lcos/local/recursive_mutex.hpp>
#include <hpx/runtime/serialization/serialization_fwd.hpp>
#include <hpx/serialization/serialization_fwd.hpp>

#include <hpx/components/iostreams/export_definitions.hpp>
#include <hpx/components/iostreams/write_functions.hpp>
@@ -11,7 +11,7 @@
#include <hpx/config.hpp>
#include <hpx/runtime/actions/component_action.hpp>
#include <hpx/runtime/components/server/component_base.hpp>
#include <hpx/runtime/serialization/vector.hpp>
#include <hpx/serialization/vector.hpp>

#include <hpx/components/iostreams/export_definitions.hpp>
#include <hpx/components/iostreams/server/buffer.hpp>
@@ -11,9 +11,9 @@

#include <hpx/runtime_fwd.hpp>
#include <hpx/runtime/threads/thread_helpers.hpp>
#include <hpx/runtime/serialization/serialize.hpp>
#include <hpx/runtime/serialization/shared_ptr.hpp>
#include <hpx/runtime/serialization/vector.hpp>
#include <hpx/serialization/serialize.hpp>
#include <hpx/serialization/shared_ptr.hpp>
#include <hpx/serialization/vector.hpp>

#include <hpx/components/iostreams/server/buffer.hpp>
#include <hpx/components/iostreams/server/output_stream.hpp>
@@ -15,7 +15,7 @@

#if !defined(HPX_WINDOWS)
#include <hpx/components/process/util/posix/initializers/initializer_base.hpp>
#include <hpx/runtime/serialization/serialization_fwd.hpp>
#include <hpx/serialization/serialization_fwd.hpp>

#include <utility>

@@ -15,7 +15,7 @@

#if !defined(HPX_WINDOWS)
#include <hpx/components/process/util/posix/initializers/initializer_base.hpp>
#include <hpx/runtime/serialization/serialization_fwd.hpp>
#include <hpx/serialization/serialization_fwd.hpp>

#include <utility>

@@ -15,7 +15,7 @@

#if !defined(HPX_WINDOWS)
#include <hpx/components/process/util/posix/initializers/initializer_base.hpp>
#include <hpx/runtime/serialization/serialization_fwd.hpp>
#include <hpx/serialization/serialization_fwd.hpp>

#include <utility>

@@ -15,7 +15,7 @@

#if !defined(HPX_WINDOWS)
#include <hpx/components/process/util/posix/initializers/initializer_base.hpp>
#include <hpx/runtime/serialization/serialization_fwd.hpp>
#include <hpx/serialization/serialization_fwd.hpp>

#include <utility>

@@ -15,7 +15,7 @@

#if !defined(HPX_WINDOWS)
#include <hpx/components/process/util/posix/initializers/initializer_base.hpp>
#include <hpx/runtime/serialization/serialization_fwd.hpp>
#include <hpx/serialization/serialization_fwd.hpp>

#include <utility>

@@ -16,7 +16,7 @@
#if !defined(HPX_WINDOWS)
#include <hpx/components/process/util/posix/initializers/initializer_base.hpp>
#include <hpx/filesystem.hpp>
#include <hpx/runtime/serialization/string.hpp>
#include <hpx/serialization/string.hpp>

#include <boost/shared_array.hpp>

@@ -15,7 +15,7 @@

#if !defined(HPX_WINDOWS)
#include <hpx/components/process/util/posix/initializers/initializer_base.hpp>
#include <hpx/runtime/serialization/string.hpp>
#include <hpx/serialization/string.hpp>

#include <cstddef>
#include <string>
@@ -15,8 +15,8 @@

#if !defined(HPX_WINDOWS)
#include <hpx/components/process/util/posix/initializers/initializer_base.hpp>
#include <hpx/runtime/serialization/string.hpp>
#include <hpx/runtime/serialization/vector.hpp>
#include <hpx/serialization/string.hpp>
#include <hpx/serialization/vector.hpp>

#include <boost/shared_array.hpp>
#include <boost/tokenizer.hpp>
@@ -15,7 +15,7 @@

#if !defined(HPX_WINDOWS)
#include <hpx/components/process/util/posix/initializers/initializer_base.hpp>
#include <hpx/runtime/serialization/string.hpp>
#include <hpx/serialization/string.hpp>

#include <cstddef>
#include <string>
@@ -15,7 +15,7 @@

#if !defined(HPX_WINDOWS)
#include <hpx/components/process/util/posix/initializers/initializer_base.hpp>
#include <hpx/runtime/serialization/serialization_fwd.hpp>
#include <hpx/serialization/serialization_fwd.hpp>

#include <string>
#include <unistd.h>
@@ -15,8 +15,8 @@

#if !defined(HPX_WINDOWS)
#include <hpx/components/process/util/posix/initializers/initializer_base.hpp>
#include <hpx/runtime/serialization/serialization_fwd.hpp>
#include <hpx/errors.hpp>
#include <hpx/serialization/serialization_fwd.hpp>

#include <errno.h>
#include <fcntl.h>
@@ -12,7 +12,7 @@
#if !defined(HPX_WINDOWS)
#include <hpx/collectives.hpp>
#include <hpx/components/process/util/posix/initializers/initializer_base.hpp>
#include <hpx/runtime/serialization/string.hpp>
#include <hpx/serialization/string.hpp>

#include <string>

@@ -16,7 +16,7 @@

#if defined(HPX_WINDOWS)
#include <hpx/components/process/util/windows/initializers/initializer_base.hpp>
#include <hpx/runtime/serialization/serialization_fwd.hpp>
#include <hpx/serialization/serialization_fwd.hpp>

#include <utility>

@@ -16,7 +16,7 @@

#if defined(HPX_WINDOWS)
#include <hpx/components/process/util/windows/initializers/initializer_base.hpp>
#include <hpx/runtime/serialization/serialization_fwd.hpp>
#include <hpx/serialization/serialization_fwd.hpp>

#include <utility>

@@ -16,7 +16,7 @@

#if defined(HPX_WINDOWS)
#include <hpx/components/process/util/windows/initializers/initializer_base.hpp>
#include <hpx/runtime/serialization/serialization_fwd.hpp>
#include <hpx/serialization/serialization_fwd.hpp>

#include <utility>

@@ -17,7 +17,7 @@
#if defined(HPX_WINDOWS)
#include <hpx/components/process/util/windows/initializers/initializer_base.hpp>
#include <hpx/filesystem.hpp>
#include <hpx/runtime/serialization/string.hpp>
#include <hpx/serialization/string.hpp>

#include <string>

@@ -16,7 +16,7 @@

#if defined(HPX_WINDOWS)
#include <hpx/components/process/util/windows/initializers/initializer_base.hpp>
#include <hpx/runtime/serialization/string.hpp>
#include <hpx/serialization/string.hpp>

#include <boost/algorithm/string/predicate.hpp>
#include <boost/range/algorithm/copy.hpp>
@@ -16,7 +16,7 @@

#if defined(HPX_WINDOWS)
#include <hpx/components/process/util/windows/initializers/initializer_base.hpp>
#include <hpx/runtime/serialization/string.hpp>
#include <hpx/serialization/string.hpp>

#include <boost/shared_array.hpp>

@@ -16,7 +16,7 @@

#if defined(HPX_WINDOWS)
#include <hpx/components/process/util/windows/initializers/initializer_base.hpp>
#include <hpx/runtime/serialization/string.hpp>
#include <hpx/serialization/string.hpp>

#include <boost/range/numeric.hpp>

@@ -17,7 +17,7 @@
#if defined(HPX_WINDOWS)
#include <hpx/components/process/util/windows/initializers/initializer_base.hpp>
#include <hpx/filesystem.hpp>
#include <hpx/runtime/serialization/serialization_fwd.hpp>
#include <hpx/serialization/serialization_fwd.hpp>

#include <string>

@@ -12,7 +12,7 @@
#if defined(HPX_WINDOWS)
#include <hpx/collectives.hpp>
#include <hpx/components/process/util/windows/initializers/initializer_base.hpp>
#include <hpx/runtime/serialization/string.hpp>
#include <hpx/serialization/string.hpp>

#include <string>

@@ -11,7 +11,7 @@

#include <hpx/hpx_init.hpp>
#include <hpx/hpx.hpp>
#include <hpx/runtime/serialization/serialize.hpp>
#include <hpx/serialization/serialize.hpp>
#include <hpx/type_support/unused.hpp>

#include <boost/shared_array.hpp>
@@ -11,7 +11,7 @@

#include <hpx/hpx_init.hpp>
#include <hpx/hpx.hpp>
#include <hpx/runtime/serialization/serialize.hpp>
#include <hpx/serialization/serialize.hpp>
#include <hpx/type_support/unused.hpp>

#include <boost/shared_array.hpp>

0 comments on commit fa2ae9e

Please sign in to comment.
You can’t perform that action at this time.