dmd.snap:2.091

Last commit made on 2020-04-09
Get this branch:
git clone -b 2.091 https://git.launchpad.net/dmd.snap

Branch merges

Branch information

Name:
2.091
Repository:
lp:dmd.snap

Recent commits

de6f407... by Ernesto Castellotti <email address hidden>

Set -fPIC also for i386 in dmd.conf

This is necessary to avoid compiling not workinge xecutables
on distro where position independent code generation is necessary.

See also: https://issues.dlang.org/show_bug.cgi?id=19116

dc206e3... by Ernesto Castellotti <email address hidden>

Update to 2.091.0 stable release

https://dlang.org/changelog/2.091.0.html
https://github.com/dlang/dmd/releases/tag/v2.091.0

This version includes an upstream patch (dlang/dmd#10889) not present
in DMD 2.091.0 but which will be included in DMD 2.091.1
This patch is necessary to resolve a regression present in DMD 2.091.0
which would make the snap package unusable, for information: https://issues.dlang.org/show_bug.cgi?id=20662

0ff5faa... by Ernesto Castellotti <email address hidden>

Preinstall snap core

This is required for some snapd changes

21971a6... by Ernesto Castellotti <email address hidden>

Update to 2.090.1 stable release

https://dlang.org/changelog/2.090.1.html
https://github.com/dlang/dmd/releases/tag/v2.090.1

1458d61... by Ernesto Castellotti <email address hidden>

Update to 2.090.0 stable release

https://dlang.org/changelog/2.090.0.html
https://github.com/dlang/dmd/releases/tag/v2.090.0

fe8c758... by Ermesto Castellotti

Update to 2.089.1 stable release

https://dlang.org/changelog/2.089.1.html
https://github.com/dlang/dmd/releases/tag/v2.089.1

eb49896... by Ermesto Castellotti

Simplified CI/CD scripts

This patch removes the code not really necessary to
successfully complete the current CI/CD tests, the main
purpose of this is to reduce the complexity before
implementing the tests for other distributions too.

6cc1c4b... by Ermesto Castellotti

Added a first CI/CD test to verify the build

This is the first step in creating a CI/CD infrastructure
for DMD's Snap packages.
The CI/CD tests will be performed through
Github Actions (https://github.com/features/actions), the
executive scripts will be placed in .github/workflows while
the respective Dockerfiles in .github/docker

We need to create a workflow for each "family" of distributions,
for example there will have to be an ubuntu.yml workflow that
will handle every version of Ubuntu we intend to support.

While the Dockerfiles must be different for each version, they
will be placed in subdirectories of .github/docker to separate
the distribution families, for example there must be the
file .github/docker/ubuntu/Xenial.Dockerfile

Unfortunately since snapd depends on systemd you need to install it,
to make systemd work in Docker I replaced /sbin/udevadm with /bin/true
because otherwise it would have given problems inside the container,
this should not be a problem since udev is not needed to test DMD.

Currently the tests will only interest the DMD build phase, I have
only inserted a small test to verify if at least the builded
Snap package is able to install and perform a simple operation
inside Ubuntu Xenial (dmd --version).

The next works will concern the expansion of the runtime tests and
increasing the number of supported distributions with time.

e90cd7f... by Ermesto Castellotti

Update to 2.089.0 stable release

https://dlang.org/changelog/2.089.0.html
https://github.com/dlang/dmd/releases/tag/v2.089.0

Signed-off-by: Ernesto Castellotti <email address hidden>

c3c797c... by Ermesto Castellotti

Update to 2.088.0 stable release

https://dlang.org/changelog/2.088.0.html
https://github.com/dlang/dmd/releases/tag/v2.088.0

LTO optimization is currently disabled because starting from
https://github.com/dlang/dmd/pull/10199 it is no longer supported.

When the support is restored, in a future version of DMD, then
ENABLE_LTO=1 will be re-added

Signed-off-by: Ernesto Castellotti <email address hidden>