This is an automated email from the ASF dual-hosted git repository. jensg pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/thrift.git
commit 7054b315f4fc84d95461268a5e47b67f4ff6801d Author: James Lacey <[email protected]> AuthorDate: Fri Mar 26 11:38:38 2021 -0700 THRIFT-4303 Update ubuntu-xenial to use D 2.087.0 Client: d Patch: James Lacey This closes #2363 --- LANGUAGES.md | 2 +- build/docker/README.md | 2 +- build/docker/ubuntu-xenial/Dockerfile | 41 ++++++++++++++--------------------- 3 files changed, 18 insertions(+), 27 deletions(-) diff --git a/LANGUAGES.md b/LANGUAGES.md index 2d506ab..46a7838 100644 --- a/LANGUAGES.md +++ b/LANGUAGES.md @@ -96,7 +96,7 @@ Thrift's core protocol is TBinary, supported by all languages except for JavaScr <td align=left><a href="https://github.com/apache/thrift/blob/master/lib/d/README.md">Dlang</a></td> <!-- Since -----------------><td>0.9.0</td> <!-- Build Systems ---------><td><img src="doc/images/cgrn.png" alt="Yes"/></td><td><img src="doc/images/cred.png" alt=""/></td> -<!-- Language Levels -------><td>2.075.1</td><td>2.087.0</td> +<!-- Language Levels -------><td>2.087.0</td><td>2.087.0</td> <!-- Low-Level Transports --><td><img src="doc/images/cred.png" alt=""/></td><td><img src="doc/images/cgrn.png" alt="Yes"/></td><td><img src="doc/images/cgrn.png" alt="Yes"/></td><td><img src="doc/images/cgrn.png" alt="Yes"/></td><td><img src="doc/images/cgrn.png" alt="Yes"/></td><td><img src="doc/images/cgrn.png" alt="Yes"/></td> <!-- Transport Wrappers ----><td><img src="doc/images/cgrn.png" alt="Yes"/></td><td><img src="doc/images/cred.png" alt=""/></td><td><img src="doc/images/cgrn.png" alt="Yes"/></td><td><img src="doc/images/cgrn.png" alt="Yes"/></td> <!-- Protocols -------------><td><img src="doc/images/cgrn.png" alt="Yes"/></td><td><img src="doc/images/cgrn.png" alt="Yes"/></td><td><img src="doc/images/cgrn.png" alt="Yes"/></td><td><img src="doc/images/cred.png" alt=""/></td> diff --git a/build/docker/README.md b/build/docker/README.md index 44e30b0..127de8e 100644 --- a/build/docker/README.md +++ b/build/docker/README.md @@ -174,7 +174,7 @@ Last updated: October 1, 2017 | C# (mono) | 4.2.1.0 | 4.6.2.7 | | | c_glib | 2.48.2 | 2.56.4 | | | cl (sbcl) | | 1.5.3 | | -| d | 2.075.1 | 2.087.0 | | +| d | 2.087.0 | 2.087.0 | | | dart | 2.0.0 | 2.4.0 | | | delphi | | | Not in CI | | erlang | 18.3 | 22.0 | | diff --git a/build/docker/ubuntu-xenial/Dockerfile b/build/docker/ubuntu-xenial/Dockerfile index 1184458..c0f42c7 100644 --- a/build/docker/ubuntu-xenial/Dockerfile +++ b/build/docker/ubuntu-xenial/Dockerfile @@ -13,7 +13,7 @@ # # Apache Thrift Docker build environment for Ubuntu Xenial # Using all stock Ubuntu Xenial packaging except for: -# - d: does not come with Ubuntu so we're installing 2.075.1 for coverage +# - d: does not come with Ubuntu so we're installing 2.087.0 for coverage # - dart: does not come with Ubuntu so we're installing 2.0.0-1 for coverage # - dotnet: does not come with Ubuntu # - go: Xenial comes with 1.6, but we need 1.10 or later @@ -37,11 +37,6 @@ RUN apt-get update && \ software-properties-common \ wget && \ -# D - apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EBCF975E5BA24D5E && \ - wget http://master.dl.sourceforge.net/project/d-apt/files/d-apt.list -O /etc/apt/sources.list.d/d-apt.list && \ - wget -qO - https://dlang.org/d-keyring.gpg | apt-key add - && \ - # Dart curl https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - && \ curl https://storage.googleapis.com/download.dartlang.org/linux/debian/dart_stable.list > \ @@ -93,26 +88,22 @@ RUN apt-get install -y --no-install-recommends \ qtbase5-dev \ qtbase5-dev-tools -ENV D_VERSION 2.075.1-0 -RUN apt-get install -y --allow-unauthenticated --no-install-recommends \ +ENV D_VERSION 2.087.0 +ENV DMD_DEB dmd_2.087.0-0_amd64.deb +RUN \ `# D dependencies` \ - dmd-bin=$D_VERSION \ - libphobos2-dev=$D_VERSION \ - dub=1.6.0-0 \ - dfmt \ - dscanner \ - libevent-dev \ - libssl-dev \ - xdg-utils -RUN mkdir -p /usr/include/dmd/druntime/import/deimos /usr/include/dmd/druntime/import/C && \ - curl -sSL https://github.com/D-Programming-Deimos/libevent/archive/master.tar.gz| tar xz && \ - mv libevent-master/deimos/* /usr/include/dmd/druntime/import/deimos/ && \ - mv libevent-master/C/* /usr/include/dmd/druntime/import/C/ && \ - rm -rf libevent-master -RUN curl -sSL https://github.com/D-Programming-Deimos/openssl/archive/v1.1.6+1.0.1g.tar.gz | tar xz && \ - mv openssl-1.1.6-1.0.1g/deimos/* /usr/include/dmd/druntime/import/deimos/ && \ - mv openssl-1.1.6-1.0.1g/C/* /usr/include/dmd/druntime/import/C/ && \ - rm -rf openssl-1.1.6-1.0.1g + wget -q http://downloads.dlang.org/releases/2.x/${D_VERSION}/${DMD_DEB} && \ + dpkg --install ${DMD_DEB} && \ + rm -f ${DMD_DEB} && \ + mkdir -p /usr/include/dmd/druntime/import/deimos /usr/include/dmd/druntime/import/C && \ + git clone -b 'v2.0.2+2.0.16' https://github.com/D-Programming-Deimos/libevent.git deimos-libevent-2.0 && \ + mv deimos-libevent-2.0/deimos/* /usr/include/dmd/druntime/import/deimos/ && \ + mv deimos-libevent-2.0/C/* /usr/include/dmd/druntime/import/C/ && \ + rm -rf deimos-libevent-2.0 && \ + git clone -b 'v1.1.6+1.0.1g' https://github.com/D-Programming-Deimos/openssl.git deimos-openssl-1.0.1g && \ + mv deimos-openssl-1.0.1g/deimos/* /usr/include/dmd/druntime/import/deimos/ && \ + mv deimos-openssl-1.0.1g/C/* /usr/include/dmd/druntime/import/C/ && \ + rm -rf deimos-openssl-1.0.1g ENV DART_VERSION 2.7.2-1 RUN apt-get install -y --no-install-recommends \
