Skip to content

Commit 55b419e

Browse files
authored
Merge branch 'master' into p2079-section-4.1
2 parents 18497d0 + 07ceb3a commit 55b419e

90 files changed

Lines changed: 2486 additions & 399 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.circleci/tests.unit1.segmented_algorithms

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ tests.unit.modules.segmented_algorithms.partitioned_vector_for_each_n
1919
tests.unit.modules.segmented_algorithms.partitioned_vector_generate
2020
tests.unit.modules.segmented_algorithms.partitioned_vector_handle_values
2121
tests.unit.modules.segmented_algorithms.partitioned_vector_iter
22+
tests.unit.modules.segmented_algorithms.partitioned_vector_is_sorted
2223
tests.unit.modules.segmented_algorithms.partitioned_vector_max_element1
2324
tests.unit.modules.segmented_algorithms.partitioned_vector_max_element2
2425
tests.unit.modules.segmented_algorithms.partitioned_vector_min_element1

.conanignore

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
# Copyright (c) 2026 Pratyksh Gupta
2+
#
3+
# SPDX-License-Identifier: BSL-1.0
4+
# Distributed under the Boost Software License, Version 1.0. (See accompanying
5+
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6+
7+
# Build directories
8+
build/
9+
build_*/
10+
.build/
11+
cmake-build-*/
12+
13+
# IDE and editor files
14+
.vscode/
15+
.idea/
16+
*.swp
17+
*.swo
18+
*~
19+
.DS_Store
20+
21+
# Git files
22+
.git/
23+
.gitignore
24+
.gitattributes
25+
.github/
26+
27+
# CI/CD files
28+
.circleci/
29+
.jenkins/
30+
.gitlab-ci.yml
31+
azure-pipelines.yml
32+
33+
# Documentation build artifacts
34+
docs/_build/
35+
docs/sphinx/_build/
36+
37+
# Test and example build artifacts
38+
*.o
39+
*.a
40+
*.so
41+
*.dylib
42+
*.dll
43+
*.exe
44+
45+
# Temporary and log files
46+
*.log
47+
*.tmp
48+
*.bak
49+
*.cache
50+
51+
# Python cache
52+
__pycache__/
53+
*.pyc
54+
*.pyo
55+
56+
# Conan specific
57+
test_package/build/
58+
.conan/

.github/test-targets/tests.unit1.segmented_algorithms

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ tests.unit.modules.segmented_algorithms.partitioned_vector_for_each_n
1919
tests.unit.modules.segmented_algorithms.partitioned_vector_generate
2020
tests.unit.modules.segmented_algorithms.partitioned_vector_handle_values
2121
tests.unit.modules.segmented_algorithms.partitioned_vector_iter
22+
tests.unit.modules.segmented_algorithms.partitioned_vector_is_sorted
2223
tests.unit.modules.segmented_algorithms.partitioned_vector_max_element1
2324
tests.unit.modules.segmented_algorithms.partitioned_vector_max_element2
2425
tests.unit.modules.segmented_algorithms.partitioned_vector_min_element1

.github/workflows/build-and-test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1411,3 +1411,4 @@ jobs:
14111411
working-directory: build
14121412
run: |
14131413
ninja -j2 -k 0 tests.performance
1414+
Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,20 @@ on:
1414
- 'release**'
1515
workflow_dispatch:
1616

17+
concurrency:
18+
group: docs-build-${{ github.ref }}
19+
cancel-in-progress: true
20+
1721
jobs:
1822
build-documentation:
1923
runs-on: ubuntu-latest
2024
container: stellargroup/build_env:17
25+
permissions:
26+
actions: read
2127

2228
steps:
2329
- uses: actions/checkout@v6
30+
2431
- name: Configure
2532
shell: bash
2633
run: |
@@ -36,14 +43,17 @@ jobs:
3643
-DHPX_WITH_DOCUMENTATION_OUTPUT_FORMATS="html;singlehtml;latexpdf" \
3744
3845
- name: Build Documentation (HTML)
46+
timeout-minutes: 120
3947
shell: bash
4048
run: cmake --build build --target docs-html
4149

4250
- name: Build Documentation (Single HTML)
51+
timeout-minutes: 120
4352
shell: bash
4453
run: cmake --build build --target docs-singlehtml
4554

4655
- name: Build Documentation (PDF)
56+
timeout-minutes: 120
4757
shell: bash
4858
run: cmake --build build --target docs-latexpdf
4959

@@ -55,15 +65,3 @@ jobs:
5565
build/share/hpx/docs/html
5666
build/share/hpx/docs/singlehtml
5767
build/share/hpx/docs/latexpdf/latex/HPX.pdf
58-
59-
- name: Configure Local Git
60-
shell: bash
61-
run: |
62-
git config --global user.name "StellarBot"
63-
git config --global user.email "contact@stellar-group.org"
64-
65-
- name: Push Documentation
66-
if: github.ref == 'refs/heads/master'
67-
shell: bash
68-
run: |
69-
cmake --build build --target git_docs
Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
# Copyright (c) 2026 The STE||AR Group
2+
#
3+
# SPDX-License-Identifier: BSL-1.0
4+
# Distributed under the Boost Software License, Version 1.0. (See accompanying
5+
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6+
7+
name: Documentation Deploy
8+
9+
on:
10+
workflow_run:
11+
workflows: ["Documentation Build"]
12+
types:
13+
- completed
14+
branches:
15+
- master
16+
- 'release**'
17+
workflow_dispatch:
18+
19+
concurrency:
20+
group: docs-deploy-${{ github.ref }}
21+
cancel-in-progress: false
22+
23+
jobs:
24+
deploy-documentation:
25+
runs-on: ubuntu-latest
26+
container: stellargroup/build_env:17
27+
if: >
28+
(github.event.workflow_run.conclusion == 'success' &&
29+
github.event.workflow_run.head_repository.full_name == github.repository) ||
30+
github.event_name == 'workflow_dispatch'
31+
permissions:
32+
actions: read
33+
34+
steps:
35+
- uses: actions/checkout@v6
36+
37+
- name: Download Documentation Artifacts
38+
uses: dawidd6/action-download-artifact@v19
39+
with:
40+
workflow: documentation-build.yml
41+
commit: ${{ github.event.workflow_run.head_sha }}
42+
name: documentation-artifacts
43+
path: /__w/hpx/hpx/build/share/hpx/docs
44+
45+
- name: Download Depreport Artifacts
46+
uses: dawidd6/action-download-artifact@v19
47+
with:
48+
workflow: depreport.yml
49+
commit: ${{ github.event.workflow_run.head_sha }}
50+
name: hpx-depreport
51+
path: /__w/hpx/hpx/build/share/hpx/docs/report
52+
53+
- name: Add GitHub to known hosts
54+
shell: bash
55+
run: |
56+
mkdir -p /root/.ssh
57+
chmod 700 /root/.ssh
58+
ssh-keyscan -H github.com >> /root/.ssh/known_hosts
59+
60+
- name: Setup SSH deploy key
61+
shell: bash
62+
run: |
63+
eval "$(ssh-agent -s)"
64+
echo "${{ secrets.DOCS_DEPLOY_KEY }}" | ssh-add -
65+
echo "SSH_AUTH_SOCK=$SSH_AUTH_SOCK" >> $GITHUB_ENV
66+
echo "SSH_AGENT_PID=$SSH_AGENT_PID" >> $GITHUB_ENV
67+
68+
- name: Configure Local Git
69+
shell: bash
70+
run: |
71+
git config --global user.name "TheHPXBot"
72+
git config --global user.email "hpxdude42@protonmail.com"
73+
git config --global --add safe.directory /__w/hpx/hpx
74+
git config --global --add safe.directory /__w/hpx/hpx/build/docs/gh-pages
75+
76+
- name: Push Documentation
77+
shell: bash
78+
run: |
79+
mkdir -p /__w/hpx/hpx/build/docs
80+
cd /__w/hpx/hpx/build/docs
81+
cmake \
82+
-DHPX_BINARY_DIR=/__w/hpx/hpx/build \
83+
-DHPX_WITH_GIT_BRANCH=master \
84+
-DHPX_WITH_DOCUMENTATION_OUTPUT_FORMATS="html singlehtml latexpdf" \
85+
"-DGIT_REPOSITORY=git@github.com:STEllAR-GROUP/hpx-docs.git;--branch;HPXBot-test" \
86+
-P /__w/hpx/hpx/cmake/HPX_UpdateGitDocs.cmake
87+
88+
- name: Cleanup SSH agent
89+
if: always()
90+
shell: bash
91+
run: ssh-agent -k

.github/workflows/linux_release_clang_p2996_reflection.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,4 @@ jobs:
5050
ctest \
5151
--output-on-failure \
5252
--tests-regex "tests.unit.modules.serialization"
53+
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
# Copyright (c) 2026 Surya Teja
2+
#
3+
# SPDX-License-Identifier: BSL-1.0
4+
# Distributed under the Boost Software License, Version 1.0. (See accompanying
5+
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6+
7+
name: Linux CI (Release, GCC Trunk Reflection)
8+
9+
on: [pull_request]
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
container: stellargroup/gcc_trunk_build_env:1
15+
16+
steps:
17+
- uses: actions/checkout@v6
18+
- name: Configure
19+
shell: bash
20+
run: |
21+
cmake \
22+
. \
23+
-Bbuild \
24+
-GNinja \
25+
-DHPX_WITH_MALLOC=system \
26+
-DCMAKE_BUILD_TYPE=Debug \
27+
-DHPX_WITH_CXX_STANDARD=26 \
28+
-DCMAKE_C_COMPILER=gcc \
29+
-DCMAKE_CXX_COMPILER=g++ \
30+
-DCMAKE_CXX_FLAGS="-freflection -std=c++26 -latomic" \
31+
-DCMAKE_EXE_LINKER_FLAGS="-latomic" \
32+
-DCMAKE_SHARED_LINKER_FLAGS="-latomic" \
33+
-DCMAKE_REQUIRED_LIBRARIES="atomic" \
34+
-DHPX_INTERNAL_CACHE_LINE_SIZE_DETECT=64 \
35+
-DHPX_WITH_FETCH_ASIO=ON \
36+
-DHPX_WITH_EXAMPLES=OFF \
37+
-DHPX_WITH_TESTS=ON \
38+
-DHPX_WITH_TESTS_MAX_THREADS_PER_LOCALITY=2 \
39+
-DHPX_SERIALIZATION_WITH_ALLOW_AUTO_GENERATE=ON \
40+
-DHPX_WITH_CHECK_MODULE_DEPENDENCIES=On
41+
- name: Build
42+
shell: bash
43+
run: |
44+
cmake --build build --target all
45+
cmake --build build --target tests.unit.modules.serialization
46+
- name: Test
47+
shell: bash
48+
run: |
49+
cd build
50+
ctest \
51+
--output-on-failure \
52+
--tests-regex "tests.unit.modules.serialization"

CMakeLists.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1893,6 +1893,17 @@ hpx_option(
18931893
ADVANCED
18941894
)
18951895

1896+
hpx_option(
1897+
HPX_WITH_CXX20_STD_EXECUTION_POLICES
1898+
BOOL
1899+
"Support using std execution policies for HPX parallel algorithms (default: ON)."
1900+
ON
1901+
ADVANCED
1902+
)
1903+
if(HPX_WITH_CXX20_STD_EXECUTION_POLICES)
1904+
hpx_add_config_define(HPX_HAVE_CXX20_STD_EXECUTION_POLICES)
1905+
endif()
1906+
18961907
# Need to include the CUDA setup before the config test to enable the CUDA
18971908
# language
18981909
include(HPX_SetupCUDA)

cmake/HPX_AddConfigTest.cmake

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -534,15 +534,6 @@ function(hpx_check_for_cxx20_std_endian)
534534
)
535535
endfunction()
536536

537-
# ##############################################################################
538-
function(hpx_check_for_cxx20_std_execution_policies)
539-
add_hpx_config_test(
540-
HPX_WITH_CXX20_STD_EXECUTION_POLICES
541-
SOURCE cmake/tests/cxx20_std_execution_policies.cpp
542-
FILE ${ARGN}
543-
)
544-
endfunction()
545-
546537
# ##############################################################################
547538
function(hpx_check_for_cxx20_std_ranges_iter_swap)
548539
add_hpx_config_test(
@@ -552,15 +543,6 @@ function(hpx_check_for_cxx20_std_ranges_iter_swap)
552543
)
553544
endfunction()
554545

555-
# ##############################################################################
556-
function(hpx_check_for_cxx20_std_construct_at)
557-
add_hpx_config_test(
558-
HPX_WITH_CXX20_STD_CONSTRUCT_AT
559-
SOURCE cmake/tests/cxx20_std_construct_at.cpp
560-
FILE ${ARGN}
561-
)
562-
endfunction()
563-
564546
# ##############################################################################
565547
function(hpx_check_for_cxx23_std_generator)
566548
add_hpx_config_test(

0 commit comments

Comments
 (0)