Skip to content

Commit 2acd9f1

Browse files
authored
Fix architecture mapping at Apt documentation (#4165)
Just copy the mapping from [`package_manager.py`](https://github.com/conan-io/conan/blob/fdc7bfa41a183ebe015ea03460077959ab62ae16/conan/tools/system/package_manager.py#L235-L242).
1 parent 7107847 commit 2acd9f1

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

reference/tools/system/package_manager.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -171,13 +171,13 @@ The default mapping that Conan uses for *APT* packages architecture is:
171171

172172
.. code-block:: python
173173
174-
self._arch_names = {"x86_64": "x86_64",
175-
"x86": "i?86",
174+
self._arch_names = {"x86_64": "amd64",
175+
"x86": "i386",
176176
"ppc32": "powerpc",
177-
"ppc64le": "ppc64le",
178-
"armv7": "armv7",
179-
"armv7hf": "armv7hl",
180-
"armv8": "aarch64",
177+
"ppc64le": "ppc64el",
178+
"armv7": "arm",
179+
"armv7hf": "armhf",
180+
"armv8": "arm64",
181181
"s390x": "s390x"} if arch_names is None else arch_names
182182
183183
.. _conan_tools_system_package_manager_yum:

0 commit comments

Comments
 (0)