-
Notifications
You must be signed in to change notification settings - Fork 424
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ability to infer CHPL_LLVM_GCC_INSTALL_DIR (#26429)
Adds the ability to infer `CHPL_LLVM_GCC_INSTALL_DIR`. Resolves #25925 This PR uses similar logic to the LLVM spack package to determine this. Thanks @PHHargrove for the pointer to this. Testing - [x] A system with a "broken" clang can fix itself automatically now - [x] relatedly, a user can request no gcc install dir with `CHPL_LLVM_GCC_INSTALL_DIR=none` - [x] `make check` on a nightly test system - [x] full paratest with/without gasnet on linux64 - [x] `make check` on M1 mac - [x] Setting GCC_INSTALL_DIR or GCC_PREFIX turns off inference - [x] Setting both GCC_INSTALL_DIR and GCC_PREFIX warns, then prefers GCC_INSTALL_DIR if available - [x] If supported, GCC_INSTALL_DIR is preferred (unless user requests otherwise) This PR also adds a missing line to `overrides.py` for `CHPL_LLVM_GCC_INSTALL_DIR` [Reviewed by @mppf]
- Loading branch information
Showing
2 changed files
with
77 additions
and
12 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