Skip to content

Commit

Permalink
add setup support for aarch64
Browse files Browse the repository at this point in the history
  • Loading branch information
christianrauch committed Feb 17, 2024
1 parent 0381f88 commit de34817
Showing 1 changed file with 26 additions and 16 deletions.
42 changes: 26 additions & 16 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,22 +16,32 @@

url_repo_qt_fmt = "https://download.qt.io/online/qtsdkrepository/{os}_{arch}/desktop/qt{ver_maj}_{ver_concat}/"

os_map = {"Linux": "linux",
"Windows": "windows",
"Darwin": "mac"}

arch_map = {"i386": "x86",
"i686": "x86",
"x86": "x86",
"x86_64": "x64",
"AMD64": "x64"}

os_compiler = {"Linux": "gcc",
"Windows": "msvc2019",
"Darwin": "clang"}

arch_bits = {"x86": "32",
"x64": "64"}
os_map = {
"Linux": "linux",
"Windows": "windows",
"Darwin": "mac",
}

arch_map = {
"i386": "x86",
"i686": "x86",
"x86": "x86",
"x86_64": "x64",
"AMD64": "x64",
"aarch64": "arm64",
}

os_compiler = {
"Linux": "gcc",
"Windows": "msvc2019",
"Darwin": "clang",
}

arch_bits = {
"x86": "32",
"x64": "64",
"arm64": "64",
}

def download_check_fail(url, expected_type):
response = requests.get(url, allow_redirects=True)
Expand Down

0 comments on commit de34817

Please sign in to comment.