[Chapel Merge] Look for gcc libs using multiple environment varia

Branch: refs/heads/master
Revision: ed08bc7
Author: daviditen
Log Message:

Merge pull request #17641 from daviditen/llvm-cs

Look for gcc libs using multiple environment variables

[reviewed by @ronawho]

Our nightly cray-cs testing didn't have the variable GCC_X86_64 set so it
didn't set COMPILER_PATH correctly. Try looking at both GCC_X86_64 and
GCC_PATH to find what the path should be.

Signed-off-by: David Iten daviditen@users.noreply.github.com

Modified Files:
M util/cron/common-slurm-gasnet-cray-cs.bash

Compare: https://github.com/chapel-lang/chapel/compare/e57c3bb4726c...ed08bc707655