question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Different architectures for different platforms

See original GitHub issue

For example I want to create nsis installer for Windovs --ia32 --x64 and Linux deb --x64; Perhaps there is a way to specify in the configuration area to build? Something like this:

{
  "appId": "com.electron.app",
  "compression": "maximum",
  "platforms": {
    "win": ["ia32", "x64"],
    "linux": "x64"
  }
}

In this case there is no need to specify the architecture of the platform and the command line. Instead of this

build -wl --x64 --ia32

Suffice it to perform

build

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

7reactions
timfishcommented, Apr 17, 2017

To build x64 Deb & ia32/x64 NSIS, the final syntax looks something like:

    "win": {
      "target": [
        {
          "target": "nsis",
          "arch": ["ia32", "x64"]
        }
      ]
    },
    "linux": {
      "target": [
        {
          "target": "deb",
          "arch": ["x64"]
        }
      ]
    },
2reactions
cawa-93commented, Mar 6, 2017

Then maybe it should be done as follows:

{
  "win": {
    "targets": [{
      "target": "nsis",
      "arch": ["ia32", "x64"],
    }]
  },
  "linux": {
    "targets": [{
      "target": "deb",
      "arch": ["ia32", "x64"],
    }, {
      "target": "snap",
      "arch": ["x64"],
    }]
  }

The idea is to be able specify architecture to individually for each platform and each target

Read more comments on GitHub >

github_iconTop Results From Across the Web

Four Architecture Choices for Application Development ... - IBM
Microservices are an architectural style that structures the application as a collection of services. Each service can be written in a different ......
Read more >
How to choose the right software architecture: The top 5 patterns
This is a distilled reference guide to the top 5 patterns in software architecture. Learn their strengths and weaknesses to help choose the...
Read more >
10 Best Software Architecture Patterns You Must Know About
This article covers different types of software architecture patterns, their importance, and comparative analysis to help you choose the ...
Read more >
Platform Architecture and Data Architecture Are Different but ...
Data architects are indispensable. They own an MDA's big picture across interdependent platforms. They design architectural structures, and they ...
Read more >
3 Proven Architecture Patterns for Integrating Digital ...
There are various ways in which a digital platform and its underlying solution architecture can be defined. Consequently, there are a number of...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found