Branch: refs/heads/main
Revision: 6550afe
Author: mppf
Link: Fix problems after LLVM configuration PRs by mppf · Pull Request #20439 · chapel-lang/chapel · GitHub
Log Message:
Merge pull request #20439 from mppf/fix-llvm-default
Fix problems after LLVM configuration PRs
Follow-up to PRs #20396 and #20385 to address issues raised by nightly testing.
- build failures in cron-xc-wb-host-prgenv-cray-failure and
xc-wb.prgenv-cray configurations: don't default to
CHPL_LLVM_SUPPORT=system if all the LLVM dependencies are not
installed. These configurations have justllvm-config
but not the
required headers. - networking-packages failure with curl tests: update
common-quickstart.bash
to setCHPL_LLVM=none
. The quickstart setup
script can provideCHPL_LLVM=none
orCHPL_LLVM=system
but since we
testCHPL_LLVM=system
in most configurations, in the quickstart
testing configuration, we want to testCHPL_LLVM=none
. At the moment,
the curl tests do not all work with the LLVM backend. - darwin-m1 or other Mac OS testing failure with chpl-env-gen: fixed a
sed portability issue between linux and Mac OS X.
Reviewed by @arezaii - thanks!
-
On Ubuntu, if llvm-14 is installed but not llvm-14-dev
- default is CHPL_LLVM=unset and CHPL_LLVM_SUPPORT=bundled
- setting CHPL_LLVM=system produces an error from printchplenv about a
missing header
-
On Ubuntu, if we have the needed LLVM dependencies
- default is CHPL_LLVM=system and CHPL_LLVM_SUPPORT=system
-
make
functions on XC with PrgEnv-cray and GCC as the host
compiler -
make
functions on XC with PrgEnv-cray and cray-prgenv-cray as the
host compiler -
full local testing
Modified Files:
M runtime/Makefile
M test/runtime/sungeun/chpl-env-gen.precomp
M util/chplenv/chpl_llvm.py
M util/cron/common-quickstart.bashCompare: Comparing 42683d8a2bc9...6550afe36864 · chapel-lang/chapel · GitHub