Skip to content

Better support for Linux ARM machines #5706

Closed

Description

@zcbenz

This issue lists the tasks on making Electron support more ARM machines.

  • Enable building libchromiumcontent locally with Electron together

http://electron.atom.io/docs/development/build-instructions-linux/#advanced-topics

  • Make it possible to pass ARM related configurations when building
$ ./script/bootstrap.py -v --build_libchromiumcontent \
                           --target_arch=arm \
                           --defines='arm_version=7 arm_float_abi=softfp'
  • Add docs on which ARM related configurations we can provide
  • Add support for ARM 64
$ ./script/bootstrap.py -v --build_libchromiumcontent \
                           --target_arch=arm64
  • Provide prebuilt builds for popular ARM machines

Related: #2343

  • Enable building without using sysroot
$ ./script/bootstrap.py -v --build_libchromiumcontent \
                           --target_arch=arm
                           --disable_sysroot
  • Enable building with GCC provided by user
$ export CC=my-weird-gcc
$ export CXX=my-werid-g++
$ export CPPFLAGS=--my-weird-flags
$ ./script/bootstrap.py -v --build_libchromiumcontent \
                           --disable_clang
                           --target_arch=arm

Feel free to share opinions here if anyone thinks this is not enough for building Electron for your ARM machine.

/cc @iolsen @francoislaberge

Activity

  1. dantwinkler commented on May 30, 2017

    @dantwinkler

    FYI, it looks like support for arm64 was merged in: 1257dee

    Electron for arm64 builds successfully now that libchromiumcontent merged the arm64 support. Will this be included in future official builds for electron?

  2. zeke commented on Aug 4, 2017

    @zeke
    Contributor
  3. groundwater commented on Aug 7, 2017

    @groundwater
    Contributor

    We have a PR here #10205 for Linux.

  4. galvesribeiro commented on Jan 13, 2020

    @galvesribeiro

    Any updates on getting this out?

  5. zcbenz commented on Nov 19, 2020

    @zcbenz
    ContributorAuthor

    This issue was mostly about libchromiumcontent which had already been removed, so I'm closing it. Please create new issues if there is any problem with arm Linux support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions