elementary / elementary/code

[compilation controls] Ability to easily target other CPU architectures

Đang mở
#1,034 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Needs Design Priority: Wishlist
Ngôn ngữ chính
Vala
Star
521
Fork
118
Merge trung bình
1 ngày 8 giờ
Pull request đã merge (30 ngày)
14

Mô tả

## 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)

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.