-
Notifications
You must be signed in to change notification settings - Fork 419
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ChplConfig.compiledForSingleLocale() query (#22730)
Adds the `compiledForSingleLocale()` query to the `ChplConfig` module, which return true if the program is being compiled for a single locale. This result is controlled by the `--[no-]local` flag, and if that is not present then by `CHPL_COMM`. The output of the query is identical to the compiler-provided `_local` variable, and many uses of `_local` in modules are replaced by the query in this PR. Resolves Cray/chapel-private#5019. [reviewed by @jeremiah-corrado , thanks!] Testing: - [x] local paratest - [x] gasnet paratest - [x] tests pass (and skip as appropriate) for all combinations of `CHPL_COMM` and `--[no-]local`
- Loading branch information
Showing
23 changed files
with
166 additions
and
111 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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 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 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.