-
-
Notifications
You must be signed in to change notification settings - Fork 542
Re-enable external build tests with C++ modules #7202
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
LSUDOKO
wants to merge
20
commits into
TheHPXProject:master
from
LSUDOKO:fix/7197-reenable-modules-external-build-tests
Closed
Changes from 2 commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
797854d
Re-enable external build tests with C++ modules
LSUDOKO cdff10b
build: fix C++ modules BMI export and re-enable external build tests
LSUDOKO a7c5c53
chore: resolve modify/delete conflict by removing deleted file
LSUDOKO af1fe47
style: apply clang-format to modified files
LSUDOKO 6ec642a
style: apply clang-format to all library, example, and test files
LSUDOKO e286bfd
fix: restore extern C++ and fix POSIX header collection for modules
LSUDOKO 45d182a
fix:disable pkg-config test for modules and cleanup header whitespace…
LSUDOKO a5cd735
apply CI-requested formatting for clang-format and cmake-format
LSUDOKO 03ae3b5
trigger ci: verify all builds pass with restored extern C++ and macro…
LSUDOKO f879162
fix: restore standard build stability by fixing macro definitions and…
LSUDOKO 13c5e03
fix: restore standard build stability by fixing macro definitions and…
LSUDOKO 8b3984b
build: fix C++ modules BMI export and re-enable external build tests
LSUDOKO 489d884
build: fix C++ modules BMI export and re-enable external build tests
LSUDOKO fd1e4eb
fix: correctly register pseudo-targets for build tests
LSUDOKO 62a85b6
fix: correctly restore build tests and fix cmake formatting
LSUDOKO 2f9325d
fix: unconditionally include POSIX headers for modules on Linux
LSUDOKO ccbec5a
Fix external C++ modules package consumers
LSUDOKO d5609b6
build: fix C++ modules BMI export and re-enable external build tests
LSUDOKO fb671ac
build: fix external C++ modules package tests
LSUDOKO 3fdd927
build: fix wrapper module generation in CI
LSUDOKO File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -18,12 +18,12 @@ module; | |
| // violations. | ||
| #include <hpx/config/std_headers.hpp> | ||
|
|
||
| export module HPX.@cap_libname@; | ||
| #if !defined(__ANDROID__) && !defined(ANDROID) && !defined(__APPLE__) | ||
| #include <link.h> | ||
| #endif | ||
| #include <dlfcn.h> | ||
|
LSUDOKO marked this conversation as resolved.
Outdated
|
||
|
|
||
| // Make sure the exported symbols are name-mangled using standard C++ rules. | ||
| // This is necessary as otherwise the symbols exported from the shared libraries | ||
| // will be exported from the module using a differently encoded name. | ||
| extern "C++" { | ||
|
hkaiser marked this conversation as resolved.
|
||
| export module HPX.@cap_libname@; | ||
|
|
||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This change will break linking when C++ modules are enabled. I think we discussed this before. What's you rationale of removing the |
||
| #if defined(HPX_MSVC) | ||
| // disable warning C5244: '#include <filename>' in the purview of module | ||
|
|
@@ -51,5 +51,3 @@ extern "C++" { | |
| #if defined(HPX_MSVC) | ||
| #pragma warning(pop) | ||
| #endif | ||
|
|
||
| } // extern "C++" | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.