Add targets for release binaries? (1.3+)
Johan Engelen via digitalmars-d-ldc
digitalmars-d-ldc at puremagic.com
Sat Apr 22 07:52:07 PDT 2017
On Saturday, 22 April 2017 at 11:55:39 UTC, David Nadlinger wrote:
> On Saturday, 22 April 2017 at 10:21:05 UTC, Johan Engelen wrote:
>> Would it make sense to release 1.3 with more targets enabled
>> than the host?
>> X86, ARM, AArch64 ?
>
> I don't really think it makes sense for end users, as we would
> need to ship the respective standard libraries and a way to
> select between cross-compilation targets as well.
The extra standard libraries could be separate downloads (hosted
by whoever), but there is also `-betterC`.
We could include a script that builds Phobos for a certain triple
(I was already thinking about including such a script for
building Phobos with LTO), but for druntime we don't include all
the source...
> The primary motivation behind shipping host-only releases was
> binary size - have you checked recently how the two build
> compare?
Just tested: adding ARM and AArch64 to X86 on Mac adds 5 MB (LTO
build).
More information about the digitalmars-d-ldc
mailing list