test: Support riscv64 in get_previous_releases.py

This commit is contained in:
MarcoFalke 2023-08-22 10:31:37 +02:00
parent ded6873340
commit 2222e15771
No known key found for this signature in database

View File

@ -1,6 +1,6 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
# #
# Copyright (c) 2018-2022 The Bitcoin Core developers # Copyright (c) 2018-present The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying # Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php. # file COPYING or http://www.opensource.org/licenses/mit-license.php.
# #
@ -250,6 +250,7 @@ def check_host(args) -> int:
if args.download_binary: if args.download_binary:
platforms = { platforms = {
'aarch64-*-linux*': 'aarch64-linux-gnu', 'aarch64-*-linux*': 'aarch64-linux-gnu',
'riscv64-*-linux*': 'riscv64-linux-gnu',
'x86_64-*-linux*': 'x86_64-linux-gnu', 'x86_64-*-linux*': 'x86_64-linux-gnu',
'x86_64-apple-darwin*': 'x86_64-apple-darwin', 'x86_64-apple-darwin*': 'x86_64-apple-darwin',
'aarch64-apple-darwin*': 'arm64-apple-darwin', 'aarch64-apple-darwin*': 'arm64-apple-darwin',