SERVER-138552ClosedDuplicate

Use target architecture in cross-compiled archive directory names

Cross-compiled distribution archives currently put the build host architecture in their extraction directory. An s390x build on ARM64 therefore extracts into {{mongodb-linux-aarch64-...}} even though its binaries target s390x. Use the target platform's OS and CPU constraints in {{bazel/install_rules/archive_name.bzl}}, shared by the {{dist}} definition and packaging regression tests. Preserve the existing distribution architecture spellings and edition, distro, and version suffixes. Add tar/zip

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix

No fix available yet.

Components
Server components related to this issue
Bazel
Labels
Tags and classification

No labels assigned.