@@ -59,9 +59,9 @@ endif()
59
59
# ##############################################################################
60
60
set (HPX_VERSION_MAJOR 1)
61
61
set (HPX_VERSION_MINOR 9)
62
- set (HPX_VERSION_SUBMINOR 0 )
62
+ set (HPX_VERSION_SUBMINOR 1 )
63
63
set (HPX_VERSION_DATE 20230502)
64
- set (HPX_VERSION_TAG "" )
64
+ set (HPX_VERSION_TAG "-rc1 " )
65
65
66
66
set (HPX_VERSION
67
67
"${HPX_VERSION_MAJOR} .${HPX_VERSION_MINOR} .${HPX_VERSION_SUBMINOR} "
@@ -110,7 +110,7 @@ if(NOT HPX_CMAKE_LOGLEVEL)
110
110
endif ()
111
111
112
112
# print initial diagnostics
113
- hpx_info("CMake version: ${CMAKE_VERSION} " )
113
+ hpx_info("CMake version: ${CMAKE_VERSION} , generator: ${CMAKE_GENERATOR} " )
114
114
hpx_info("HPX version: ${HPX_VERSION} " )
115
115
116
116
# ##############################################################################
@@ -373,9 +373,9 @@ endif()
373
373
# The cmake Ninja generator runs out of memory if the modules are being built as
374
374
# OBJECT libraries. In this case the fallback is to build whole-archive STATIC
375
375
# libraries.
376
- set (HPX_WITH_MODULES_AS_STATIC_LIBRARIES_DEFAULT ON )
377
- if ("${CMAKE_MAKE_PROGRAM } " STREQUAL "ninja " )
378
- set (HPX_WITH_MODULES_AS_STATIC_LIBRARIES_DEFAULT OFF )
376
+ set (HPX_WITH_MODULES_AS_STATIC_LIBRARIES_DEFAULT OFF )
377
+ if ("${CMAKE_GENERATOR } " STREQUAL "Ninja " )
378
+ set (HPX_WITH_MODULES_AS_STATIC_LIBRARIES_DEFAULT ON )
379
379
endif ()
380
380
381
381
hpx_option(
@@ -655,8 +655,8 @@ endif()
655
655
hpx_option(
656
656
HPX_WITH_ZERO_COPY_SERIALIZATION_THRESHOLD
657
657
STRING
658
- "The threshold in bytes to when perform zero copy optimizations (default: 128 )"
659
- "128 "
658
+ "The threshold in bytes to when perform zero copy optimizations (default: 8192 )"
659
+ "8192 "
660
660
ADVANCED
661
661
)
662
662
hpx_add_config_define(
@@ -1138,7 +1138,7 @@ if(HPX_WITH_NETWORKING)
1138
1138
ADVANCED
1139
1139
)
1140
1140
hpx_option(
1141
- HPX_WITH_LCI_TAG STRING "LCI repository tag or branch" "v1.7.4 "
1141
+ HPX_WITH_LCI_TAG STRING "LCI repository tag or branch" "v1.7.5 "
1142
1142
CATEGORY "Build Targets"
1143
1143
ADVANCED
1144
1144
)
@@ -1754,6 +1754,12 @@ if(WIN32)
1754
1754
hpx_add_target_compile_option(-MP PUBLIC )
1755
1755
# Increase the maximum size of object file sections
1756
1756
hpx_add_target_compile_option(-bigobj PUBLIC )
1757
+ elseif (MINGW)
1758
+ if (HPX_CXX11_STD_ATOMIC_LIBRARIES)
1759
+ target_link_libraries (
1760
+ hpx_base_libraries INTERFACE ${HPX_CXX11_STD_ATOMIC_LIBRARIES}
1761
+ )
1762
+ endif ()
1757
1763
endif ()
1758
1764
1759
1765
target_link_libraries (hpx_base_libraries INTERFACE psapi shlwapi)
@@ -1834,8 +1840,6 @@ if(HPX_WITH_COMPILER_WARNINGS)
1834
1840
1835
1841
else () # Trial and error approach for any other compiler ...
1836
1842
hpx_add_compile_flag_if_available(-Wall)
1837
- hpx_add_compile_flag_if_available(-Wextra)
1838
- hpx_add_compile_flag_if_available(-Wpedantic)
1839
1843
hpx_add_compile_flag_if_available(-Wno-strict-aliasing)
1840
1844
hpx_add_compile_flag_if_available(-Wno-sign-promo)
1841
1845
hpx_add_compile_flag_if_available(-Wno-attributes)
@@ -1848,6 +1852,16 @@ if(HPX_WITH_COMPILER_WARNINGS)
1848
1852
# caused by the use of std::destructive_interference_size
1849
1853
hpx_add_compile_flag_if_available(-Wno-interference-size)
1850
1854
endif ()
1855
+ if ("${CMAKE_CXX_COMPILER_VERSION} " VERSION_GREATER_EQUAL "13.0" )
1856
+ # gcc V13.x is overeager to report dangling references where there are
1857
+ # none
1858
+ hpx_add_compile_flag_if_available(-Wextra)
1859
+ hpx_add_compile_flag_if_available(-Wpedantic)
1860
+ hpx_add_compile_flag_if_available(-Wno-self-move)
1861
+ endif ()
1862
+ else ()
1863
+ hpx_add_compile_flag_if_available(-Wextra)
1864
+ hpx_add_compile_flag_if_available(-Wpedantic)
1851
1865
endif ()
1852
1866
1853
1867
# We do not in general guarantee ABI compatibility between C++ standards, so
0 commit comments