Browse Source

build: remove `mips64el` build config (#37093)

build: remove mips64el build config
Shelley Vohr 2 years ago
parent
commit
33c32a798b
5 changed files with 2 additions and 10 deletions
  1. 1 1
      appveyor-woa.yml
  2. 1 1
      appveyor.yml
  3. 0 4
      script/release/uploaders/upload.py
  4. 0 2
      script/strip-binaries.py
  5. 0 2
      script/zip-symbols.py

+ 1 - 1
appveyor-woa.yml

@@ -12,7 +12,7 @@
 #  - "ELECTRON_RELEASE" Set it to '1' upload binaries on success.
 #  - "NPM_CONFIG_ARCH" E.g. 'x86'. Is used to build native Node.js modules.
 #      Must match 'target_cpu' passed to "GN_EXTRA_ARGS" and "TARGET_ARCH" value.
-#  - "TARGET_ARCH" Choose from {'ia32', 'x64', 'arm', 'arm64', 'mips64el'}.
+#  - "TARGET_ARCH" Choose from {'ia32', 'x64', 'arm', 'arm64'}.
 #      Is used in some publishing scripts, but does NOT affect the Electron binary.
 #      Must match 'target_cpu' passed to "GN_EXTRA_ARGS" and "NPM_CONFIG_ARCH" value.
 #  - "UPLOAD_TO_STORAGE" Set it to '1' upload a release to the Azure bucket.

+ 1 - 1
appveyor.yml

@@ -12,7 +12,7 @@
 #  - "ELECTRON_RELEASE" Set it to '1' upload binaries on success.
 #  - "NPM_CONFIG_ARCH" E.g. 'x86'. Is used to build native Node.js modules.
 #      Must match 'target_cpu' passed to "GN_EXTRA_ARGS" and "TARGET_ARCH" value.
-#  - "TARGET_ARCH" Choose from {'ia32', 'x64', 'arm', 'arm64', 'mips64el'}.
+#  - "TARGET_ARCH" Choose from {'ia32', 'x64', 'arm', 'arm64'}.
 #      Is used in some publishing scripts, but does NOT affect the Electron binary.
 #      Must match 'target_cpu' passed to "GN_EXTRA_ARGS" and "NPM_CONFIG_ARCH" value.
 #  - "UPLOAD_TO_STORAGE" Set it to '1' upload a release to the Azure bucket.

+ 0 - 4
script/release/uploaders/upload.py

@@ -75,10 +75,6 @@ def main():
   electron_zip = os.path.join(OUT_DIR, DIST_NAME)
   shutil.copy2(os.path.join(OUT_DIR, 'dist.zip'), electron_zip)
   upload_electron(release, electron_zip, args)
-  if get_target_arch() != 'mips64el':
-    symbols_zip = os.path.join(OUT_DIR, SYMBOLS_NAME)
-    shutil.copy2(os.path.join(OUT_DIR, 'symbols.zip'), symbols_zip)
-    upload_electron(release, symbols_zip, args)
   if PLATFORM == 'darwin':
     if get_platform_key() == 'darwin' and get_target_arch() == 'x64':
       api_path = os.path.join(ELECTRON_DIR, 'electron-api.json')

+ 0 - 2
script/strip-binaries.py

@@ -18,8 +18,6 @@ def strip_binary(binary_path, target_cpu):
     strip = 'arm-linux-gnueabihf-strip'
   elif target_cpu == 'arm64':
     strip = 'aarch64-linux-gnu-strip'
-  elif target_cpu == 'mips64el':
-    strip = 'mips64el-redhat-linux-strip'
   else:
     strip = 'strip'
   execute([

+ 0 - 2
script/zip-symbols.py

@@ -16,8 +16,6 @@ OUT_DIR = get_out_dir()
 
 def main():
   print('Zipping Symbols')
-  if get_target_arch() == 'mips64el':
-    return
 
   args = parse_args()
   dist_name = 'symbols.zip'