Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
…el-lang#22049) [reviewed and curated by @ronawho and @mppf] This updates the description of the `CHPL_HOST_ARCH` options to include `arm64`, which is what we infer it to be on Mac M1/M2 platforms, and a string that other UNIX instances reportedly use as well. It also updates our `chplenv` scripts that look for `aarch64` to make them recognize `arm64` as follows: * updates a check in `chpl_platform.py` to treat `arm64` similarly to `aarch64` * generalizes a check in `chpl_cpu.py` to look for `arm` as a prefix rather than `arm-` since this would handle the `arm64` case * updates a comment in `chpl_cpu.py` to name `arm64` as a possible `uname[4]` output as well I chose not to update a final `aarch64` check in `chpl_cpu.py` because it seemed to assume that it was a valid platform value, which I'm not aware that it is, so didn't feel confident that it should be updated (and also didn't feel confident enough that it's dead code to remove it).
- Loading branch information