Skip to content

Commit 203151f

Browse files
Fix C++20 modules BMI configuration and stabilize external build tests
- Resolved Linux configuration mismatches (GNU extensions) by propagating CMAKE_CXX_EXTENSIONS and HPX_CXX_STANDARD to external tests. - Fixed Windows installation crashes by removing CXX_MODULES_DIRECTORY from install(EXPORT) and adding MSVC guards for Clang linker flags. - Improved module metadata propagation by explicitly linking HPXInternal module targets in external examples. - Added CXX_STANDARD support to hpx_setup_target and applied it to hello_world_component. - Skipped pkg-config tests when modules are enabled due to lack of BMI discovery support. - Fixed CMake quoting and logic bugs in standard header collection. - Applied project-wide clang-format and cmake-format to ensure CI compliance.
1 parent 472c3da commit 203151f

232 files changed

Lines changed: 3018 additions & 4683 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.

.cmake-format.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -586,7 +586,7 @@
586586
'INCLUDE_DIRS': '+',
587587
'FOUND_HEADERS': 1},
588588
'pargs': { 'flags': [], 'nargs': '1+'}},
589-
'hpx_configure_module_producer': { 'kwargs': { 'MODULE_OUT_DIR': 1},
589+
'hpx_configure_module_producer': { 'kwargs': {},
590590
'pargs': { 'flags': [], 'nargs': '1+'}}
591591
}
592592

.github/workflows/cancel-workflows.yml

Lines changed: 0 additions & 75 deletions
This file was deleted.

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
queries: security-and-quality
5555

5656
- name: Install CMake
57-
uses: lukka/get-cmake@v4.3.0
57+
uses: jwlawson/actions-setup-cmake@v2.2
5858

5959
- name: Install Ninja
6060
uses: seanmiddleditch/gha-setup-ninja@master

.github/workflows/documentation-push.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,15 @@ jobs:
3535
- uses: actions/checkout@v6
3636

3737
- name: Download Documentation Artifacts
38-
uses: dawidd6/action-download-artifact@v21
38+
uses: dawidd6/action-download-artifact@v20
3939
with:
4040
workflow: documentation-build.yml
4141
commit: ${{ github.event.workflow_run.head_sha || github.sha }}
4242
name: documentation-artifacts
4343
path: /__w/hpx/hpx/build/share/hpx/docs
4444

4545
- name: Download Depreport Artifacts
46-
uses: dawidd6/action-download-artifact@v21
46+
uses: dawidd6/action-download-artifact@v20
4747
with:
4848
workflow: depreport.yml
4949
commit: ${{ github.event.workflow_run.head_sha || github.sha }}

.github/workflows/linux_crosscompile_arm_eve_sve_release.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ jobs:
5050
cmake --build build --target core
5151
cmake --build build --target tests.unit.modules.algorithms.datapar_algorithms
5252
cmake --build build --target tests.regressions.modules.algorithms.for_each_datapar
53-
cmake --build build --target tests.regressions.modules.algorithms.counting_iterator_datapar
5453
- name: Test
5554
shell: bash
5655
run: |

.github/workflows/linux_crosscompile_arm_sve_release.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ jobs:
5050
cmake --build build --target core
5151
cmake --build build --target tests.unit.modules.algorithms.datapar_algorithms
5252
cmake --build build --target tests.regressions.modules.algorithms.for_each_datapar
53-
cmake --build build --target tests.regressions.modules.algorithms.counting_iterator_datapar
5453
- name: Test
5554
shell: bash
5655
run: |

.github/workflows/windows_clang_debug.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ jobs:
1919

2020
steps:
2121
- uses: actions/checkout@v6
22-
- uses: lukka/get-cmake@v4.3.0
22+
- uses: jwlawson/actions-setup-cmake@v2.2
23+
with:
24+
github-api-token: ${{ secrets.GITHUB_TOKEN }}
2325

2426
- name: Install dependencies
2527
run: |

.github/workflows/windows_clang_release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ jobs:
1919

2020
steps:
2121
- uses: actions/checkout@v6
22-
- uses: lukka/get-cmake@v4.3.0
22+
- uses: jwlawson/actions-setup-cmake@v2.2
23+
with:
24+
github-api-token: ${{ secrets.GITHUB_TOKEN }}
2325

2426
- name: Install dependencies
2527
run: |

.github/workflows/windows_debug_vs2022.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ jobs:
1919

2020
steps:
2121
- uses: actions/checkout@v6
22-
- uses: lukka/get-cmake@v4.3.0
22+
- uses: jwlawson/actions-setup-cmake@v2.2
23+
with:
24+
github-api-token: ${{ secrets.GITHUB_TOKEN }}
2325

2426
- name: Install dependencies
2527
run: |

.github/workflows/windows_debug_vs2022_fetch_boost.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ jobs:
1818

1919
steps:
2020
- uses: actions/checkout@v6
21-
- uses: lukka/get-cmake@v4.3.0
21+
- uses: jwlawson/actions-setup-cmake@v2.2
22+
with:
23+
github-api-token: ${{ secrets.GITHUB_TOKEN }}
2224

2325
- name: Install dependencies
2426
run: |

0 commit comments

Comments
 (0)