-
Notifications
You must be signed in to change notification settings - Fork 428
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #20396 from mppf/chpl-llvm-support-var
Add CHPL_LLVM_SUPPORT and adjust quickstart Follow-up to PR #19565. This PR takes two steps to improve the situation after PR #19565. First, it adds `CHPL_LLVM_SUPPORT` as a `printchplenv` variable. This variable indicates where to get the LLVM Support Library (which is currently required to build the compiler). It can be `bundled` or `system`. See issue #20380. On the name of this variable, I wondered if `CHPL_LLVM_SUPPORT_LIBRARY` would be a better name? `CHPL_LLVM_SUPPORT` could be interpreted as "does Chapel build with LLVM support" but that is what `CHPL_LLVM` does. On the other hand, since it appears in `printchplenv --all` within the `CHPL_LLVM` block, I think `CHPL_LLVM_SUPPORT` is OK. Second, it adjusts the quickstart scripts to set `CHPL_LLVM=system` if a compatible system LLVM is detected. See issue #20273. Reviewed by @daviditen - thanks! - [x] full local testing - [x] make check with CHPL_LLVM unset where no system LLVM exists produces "Please set the environment variable CHPL_LLVM to a supported value." error - [x] make check with CHPL_LLVM=none where no system LLVM exists - [x] make check with CHPL_LLVM=none where a system LLVM exists - [x] make check with CHPL_LLVM=bundled - [x] make check with CHPL_LLVM=system
- Loading branch information
Showing
9 changed files
with
115 additions
and
43 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
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