[Chapel Merge] Adjust prefixes for unique path

Branch: refs/heads/main
Revision: 7562cbd
Author: aconsroe-hpe
Link: Adjust prefixes for unique path by aconsroe-hpe · Pull Request #18866 · chapel-lang/chapel · GitHub
Log Message:

Merge pull request #18866 from aconsroe-hpe/uniq-path-prefixes

Adjust prefixes for unique path

reviewed by mppf and ronawho

Motivated by discussion in #16790

  1. Add prefix for hwloc and re2
  • These were the only two "top-level" (excluding eg
    CHPL_COMM_SUBSTRATE) components that didn't have a prefix in the
    unique path.
  • Before: .../atomics-cstdlib/bundled/bundled/fs-none/...
  • After: .../atomics-cstdlib/hwloc-bundled/re2-bundled/fs-none/...
  1. Rename prefix for CHPL_TARGET_CPU from arch to cpu so it is
    less confusing
  2. Rename 'sanitizers' prefix to 'san' for short. Also add this to the
    compiler build prefix

Effects:

  1. Will leave some stale directories until someone does clobber
  2. Tools like what @jhh67 has demo'd may need to adjust if they are "parsing" these paths

Paratest pass

Modified Files:
M util/chplenv/printchplenv.py

Compare: https://github.com/chapel-lang/chapel/compare/369954e88c2a...7562cbd6e7ca