Skip to content

Commit 8da4996

Browse files
restore HPX_HAVE_STDEXEC define, bump foreach_report exclusion to AppleClang<=17
Signed-off-by: guptapratykshh <pratykshgupta9999@gmail.com>
1 parent 98e25f3 commit 8da4996

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

cmake/HPX_SetupStdexec.cmake

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,3 +80,7 @@ else()
8080
)
8181
endif()
8282
endif()
83+
84+
# stdexec is now unconditionally required; define HPX_HAVE_STDEXEC so that
85+
# downstream code using #if defined(HPX_HAVE_STDEXEC) continues to work.
86+
hpx_add_config_define(HPX_HAVE_STDEXEC)

libs/core/algorithms/tests/performance/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ set(benchmarks
3131
)
3232

3333
# foreach_report uses tag_invoke-based sender patterns that do not compile with
34-
# Clang <= 21 / AppleClang <= 16 against the current stdexec.
34+
# Clang <= 21 / AppleClang <= 17 against the current stdexec.
3535
if((CMAKE_CXX_COMPILER_ID STREQUAL "Clang" AND CMAKE_CXX_COMPILER_VERSION
3636
VERSION_LESS_EQUAL "21")
3737
OR (CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang"
38-
AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS_EQUAL "16")
38+
AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS_EQUAL "17")
3939
)
4040
list(REMOVE_ITEM benchmarks foreach_report)
4141
endif()

0 commit comments

Comments
 (0)