elementary / elementary/code

[compilation controls] Ability to easily target other CPU architectures

Ouverte
#1,034 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Needs Design Priority: Wishlist
Langage dominant
Vala
Étoiles
521
Forks
118
Merge moyen
1 j 8 h
PR mergées (30 j)
14

Description

## Problem

There isn't an easy GUI way of targeting other architectures that flatpak can support. Optimally AppCenter has the ability to autocompile for other archs automatically when submitting an app, so that there is no friction between devices elementary is officially supported on (especially in the future)

## Proposal

There are tickboxes to set the archs compiling for when setting up an app's build settings.
I'm not 100% sure how it works but flatpak docs say that it can be specified with ` --arch=ARCH `, but it probably requires extra work if not using libs in io.elementary.Sdk (the example on the docs has a part in the manifest that adds/remove build options based on the arch).
Either way, the default arches (x86_64, ARM and Pi) could all be supported by the runtime and have whatever extra manifest stuff necessary for building as a part of the app template.

## Prior Art
Like this, but not a dropdown:

![image](https://user-images.githubusercontent.com/58219504/118793897-f4651a00-b890-11eb-9729-d260f2692e5a.png)

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Aucun fichier, test ou point d’entrée n’est indiqué. Commencez par suivre l’UI des paramètres de build de l’application et le processus de soumission/build Flatpak, puis examinez les recommandations sur l’architecture et le manifeste Flatpak référencées dans l’issue. Le travail est terminé lorsque les utilisateurs peuvent sélectionner des architectures cibles et que les builds résultants prennent en charge les architectures choisies avec toute configuration de manifeste requise.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Domaine
build-system
Type d'issue
Fonctionnalité
Difficulté
5/5
Temps estimé
Plus d'une semaine
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
25/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.