From 2949deb6d25e4e616809c7f4fc738ae3ee6872a6 Mon Sep 17 00:00:00 2001 From: RedYetiDev <38299977+RedYetiDev@users.noreply.github.com> Date: Thu, 18 Jul 2024 13:39:44 -0400 Subject: [PATCH] tools: remove unused python files --- tools/getarch.py | 10 ---------- tools/getendian.py | 4 ---- tools/getmachine.py | 3 --- 3 files changed, 17 deletions(-) delete mode 100644 tools/getarch.py delete mode 100644 tools/getendian.py delete mode 100644 tools/getmachine.py diff --git a/tools/getarch.py b/tools/getarch.py deleted file mode 100644 index 3c366525463340..00000000000000 --- a/tools/getarch.py +++ /dev/null @@ -1,10 +0,0 @@ -from __future__ import print_function -from utils import GuessArchitecture -arch = GuessArchitecture() - -# assume 64 bit unless set specifically -print(GuessArchitecture() \ - .replace('ia32', 'x64') \ - .replace('ppc', 'ppc64') \ - .replace('arm', 'arm64') \ - .replace('s390', 's390x')) diff --git a/tools/getendian.py b/tools/getendian.py deleted file mode 100644 index 0f9fcc1c860584..00000000000000 --- a/tools/getendian.py +++ /dev/null @@ -1,4 +0,0 @@ -from __future__ import print_function -import sys -# "little" or "big" -print(sys.byteorder) diff --git a/tools/getmachine.py b/tools/getmachine.py deleted file mode 100644 index 046d8b17a797fd..00000000000000 --- a/tools/getmachine.py +++ /dev/null @@ -1,3 +0,0 @@ -from __future__ import print_function -import platform -print(platform.machine())