[Chapel Merge] avoid quickstart CHPL_LLVM=system on incompatible

Branch: refs/heads/main
Revision: d6e34e5
Author: mppf
Link: avoid quickstart CHPL_LLVM=system on incompatible platforms by mppf · Pull Request #20577 · chapel-lang/chapel · GitHub
Log Message:

Merge pull request #20577 from mppf/quickstart-32b

avoid quickstart CHPL_LLVM=system on incompatible platforms

This is a follow-up to PR #20396.

In doing some portability testing, I noticed that the quickstart
configuration was not working on a 32-bit Debian 11 image. The problem
was that the image has the right LLVM/clang packages installed, but
Chapel does not support using LLVM on a 32-bit platform right now. The
result was that quickstart set CHPL_LLVM=system but that led to errors
later on from printchplenv / make.

This PR just adjusts the chpl_llvm.py code determining the quickstart
setting for CHPL_LLVM to use none if the platform is not supported for
Chapel+LLVM.

Reviewed by @bhavanijayakumaran and @daviditen - thanks!

Modified Files:
M util/chplenv/chpl_llvm.py

Compare: https://github.com/chapel-lang/chapel/compare/c1ba43756adf...d6e34e5f44e8