[Chapel Merge] Mason external bugfix

Branch: refs/heads/main
Revision: 7589a20
Author: arezaii
Log Message:

Merge pull request #18509 from arezaii/mason-external-bugfix

Mason external bugfix

This is a hotfix to correct a failing test that breaks nightly testing.
test/mason/mason-external/libtomlc99

This PR lowers the spack version that mason uses, from the latest 0.16.3
to the last patch prior to the 0.16 release, 0.15.4.

It also adds a small correction when getting the version info
from spack --version, where some locally installed versions
may report additional information beyond major.minor.patch.

TESTING:

  • [x] test/mason/mason-external tests pass
  • [x] can make mason
  • [x] mason external --setup updates spack to v0.15.4

Reviewed by @dlongnecke-cray, thanks!

Signed-off-by: arezaii ahmad.rezaii@hpe.com

Modified Files:
M tools/mason/MasonExternal.chpl

Compare: https://github.com/chapel-lang/chapel/compare/b3de71a8a1df...7589a20f1a3f