ldc2.snap:1.18

Last commit made on 2020-03-03
Get this branch:
git clone -b 1.18 https://git.launchpad.net/ldc2.snap

Branch merges

Branch information

Name:
1.18
Repository:
lp:ldc2.snap

Recent commits

4d11707... by Joseph Wakeling

Drop unnecessary ctest-setup part

There is no need for this to be a standalone part, as all it does is to
install a couple of build-packages. These can be moved to `ldc`, which
is the only real user, and highlighted as being ctest requirements.

e5cd17d... by Joseph Wakeling

Update ldc2.conf to better match upstream 1.18.0 binary package

This brings the config file in line with upstream standards. It should
be backwards compatible, while adding support for some extra settings,
such as WebAssembly builds.

The only differences from upstream are the import paths, which are set
to `include/d` instead of `import` (accepting the default install path
of the build system), and the library paths, which are set to `lib64`
and `lib32` instead of `lib` and `lib32` (making the paths consistent
for both amd64 and i386 package builds).

13b2550... by Joseph Wakeling

Add license metadata to snapcraft.yaml

This will allow the package to display license info in the snap store
and on the command-line `snap info` results.

The license spec is provided in SPDX format <https://spdx.org> with the
following components:

  * BSD-3-Clause (for LDC itself)

  * BSL-1.0 (DMD/druntime/phobos)

  * Zlib (zlib, statically compiled into phobos)

  * Apache-2.0 AND NCSA (LLVM)

  * Artistic-1.0 OR GPL-2.0+ (GDC artefacts)

Note that snapcraft and snapd only support SPDX 2.x license identifiers,
so we must use `GPL-2.0+` instead of the more recent `GPL-2.0-or-later`.
See:
https://forum.snapcraft.io/t/keeping-up-with-spdx-license-identifier-updates/7095

1ba5c85... by Joseph Wakeling

Update copyright years in LICENSE file

Both LDC and DMD/druntime/phobos have been updated more recently than
2017. The copyright date reflects the releases of LDC 1.18.0 and DMD
2.088.x.

712d417... by Joseph Wakeling

Update LLVM license to Apache 2.0

LLVM 9 and later is released under the terms of the Apache License v2.0
with LLVM exceptions. Since the snap package for LDC 1.18+ uses LLVM 9
or later, we need to update the package LICENSE file accordingly.

681a23f... by Joseph Wakeling

Merge license updates from 1.17 branch into 1.18

b887cc4... by Joseph Wakeling

Merge build-fix and license updates from 1.16 branch into 1.17

0ebb7af... by Joseph Wakeling

Merge build-fix and license updates from 1.15 branch into 1.16

12bd366... by Joseph Wakeling

Backport test suite workaround build fix

The `ddocYear` test bug that hardcodes the expected year in the test
results first appears in this version of LDC (or rather, in v2.086 of
the DMD frontend). This patch backports the `sed` workaround introduced
in commit d80460670e77175ae0e42ec578b1727726b313db.

0424f66... by Joseph Wakeling

Remove obsolete libedit details from LICENSE file

libedit was dropped in commit 950fd5b1866b226fbb5a5cd35e4a6fa9ffec285e
with the upgrade to LLVM 8.