Architecture-specific settings for snapcraft parts
Joseph Rushton Wakeling
joseph.wakeling at webdrake.net
Sun Apr 9 08:12:28 UTC 2017
On 03/04/17 21:18, Joseph Rushton Wakeling wrote:
> Recently I tried some ARM builds of the LDC snap package, and came across some
> issues where one of the custom C flags used were not supported:
> https://launchpadlibrarian.net/313662608/buildlog_snap_ubuntu_xenial_armhf_ldc2_BUILDING.txt.gz
>
> Is there any way to customize the settings for parts according to architecture?
> In this case I'm looking to customize the cmake configflags.
I wonder if I might ping on the above question? I actually have two use-cases:
* different `configflags` for the cmake plugin depending on the architecture;
* a different `source:` field for a plugin that downloads a prebuilt binary
used in the build process (I obviously need a different binary for i386
versus amd64 builds).
Thanks & best wishes,
-- Joe
More information about the Snapcraft
mailing list