[WiP] Creating a snap package of LDC
Joseph Rushton Wakeling via digitalmars-d-ldc
digitalmars-d-ldc at puremagic.com
Sun Aug 28 13:42:12 PDT 2016
On Sunday, 28 August 2016 at 20:15:28 UTC, kinke wrote:
> On Sunday, 28 August 2016 at 19:47:57 UTC, Joseph Rushton
> Wakeling wrote:
>> Is there any way to get the build process of LDC to
>> auto-generate the file with these relative paths including the
>> %%ldcbinarypath%% wildcard ... ? e.g. a cmake or make flag?
>
> A single line in PowerShell suffices to replace a well-known
> build dir with the placeholder in the ldc2.conf file:
> https://github.com/ldc-developers/ldc/blob/master/appveyor.yml#L144
Yea, and similarly I can use `sed` just fine on Linux. I was
just curious if there was a 'standard' way to do this that didn't
involve search'n'replace.
>> This is another binary generated as part of the LDC build?
>
> Yes (ninja target: ldc-profdata, included by the default
> target).
Erm ... I've just done a completely fresh build of LDC v1.0.0
(freshly checked out from git), and there's no sign of an
ldc-profdata binary. Nor does make seem to know anything about
and ldc-profdata target.
What am I missing? :-\
More information about the digitalmars-d-ldc
mailing list