mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
tools: idf_tools.py: allow macOS x86_64 tools to be installed on arm64
Until arm64 tool binaries are available, we can run existing x86_64 ones under emulation. Suggested in https://github.com/espressif/esp-idf/issues/6113.
This commit is contained in:
parent
051686ca14
commit
d73fa298d1
@ -112,6 +112,8 @@ PLATFORM_FROM_NAME = {
|
|||||||
'osx': PLATFORM_MACOS,
|
'osx': PLATFORM_MACOS,
|
||||||
'darwin': PLATFORM_MACOS,
|
'darwin': PLATFORM_MACOS,
|
||||||
'Darwin-x86_64': PLATFORM_MACOS,
|
'Darwin-x86_64': PLATFORM_MACOS,
|
||||||
|
# pretend it is x86_64 until Darwin-arm64 tool builds are available:
|
||||||
|
'Darwin-arm64': PLATFORM_MACOS,
|
||||||
# Linux
|
# Linux
|
||||||
PLATFORM_LINUX64: PLATFORM_LINUX64,
|
PLATFORM_LINUX64: PLATFORM_LINUX64,
|
||||||
'linux64': PLATFORM_LINUX64,
|
'linux64': PLATFORM_LINUX64,
|
||||||
|
Loading…
Reference in New Issue
Block a user