Accepting request 714253 from home:Guillaume_G:branches:openSUSE:Factory:ARM

- Switch to llvm7 for Tumbleweed as llvm8 is not able to build 
  bootstrap version 0.17.6 
  See https://github.com/ldc-developers/ldc/issues/3109
- Disable -flto=4 option as llvm does not recognize this option

- Update to 1.16.0:
  * Big news
    - Frontend, druntime and Phobos are at version 2.086.1, incl. 
      a DIP1008 fix. (#3062, #3076, #3091) (new)
    - Non-Windows x86: Faster real versions of std.math.{tan,expi}. (#2855)
    - dcompute: New __traits(getTargetInfo, "dcomputeTargets"). (#3090) (new)
  * Platform support
    - Supports LLVM 3.9 - 8.0 (incl. 7.1).
  * Bug fixes
    - Make pragma(LDC_no_typeinfo) actually elide TypeInfo emission 
      for structs, classes and interfaces. (#3068)
    - Windows: Fix DLL entry point in MinGW-based libs. 
      (ldc-developers/mingw-w64-libs@8d930c1)
    - WebAssembly: Use --export-dynamic when linking with LLD 8+.
      (#3023, #3072)
    - Fix corrupt this in functions nested in in/out contracts.
      (45460a1)
    - Fix identity comparisons of integral vectors. (a44c78f)
    - Improved handling of unsupported vector ops. (a44c78f)
    - uClibc: Fix C assert calls. (#3078, #3082) (new)
    - Improved error message on global variable collision. 
      (#3080, #3081) (new)
  * Known issues
    - Buggy older ld.bfd linker versions may wrongly strip out 
      required symbols, e.g., ModuleInfos (so that e.g. no module

OBS-URL: https://build.opensuse.org/request/show/714253
OBS-URL: https://build.opensuse.org/package/show/devel:languages:D/ldc?expand=0&rev=34
This commit is contained in:
Guillaume GARDET 2019-07-10 06:23:46 +00:00 committed by Git OBS Bridge
parent 52a74943cb
commit 6d146f16ca
4 changed files with 56 additions and 5 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d7e0e0cf332542c42e3b6570d391b0f05d5a81a812297efcdadccf8fb0f0cee2
size 6949021

3
ldc-1.16.0-src.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:426d9d0dc65b7d3d739809c9c8bf022177aeaa8e65999be7145e052be3357302
size 6995348

View File

@ -1,3 +1,45 @@
-------------------------------------------------------------------
Tue Jul 9 14:48:29 UTC 2019 - Guillaume GARDET <guillaume.gardet@opensuse.org>
- Switch to llvm7 for Tumbleweed as llvm8 is not able to build
bootstrap version 0.17.6
See https://github.com/ldc-developers/ldc/issues/3109
- Disable -flto=4 option as llvm does not recognize this option
-------------------------------------------------------------------
Tue Jul 9 12:43:24 UTC 2019 - Guillaume GARDET <guillaume.gardet@opensuse.org>
- Update to 1.16.0:
* Big news
- Frontend, druntime and Phobos are at version 2.086.1, incl.
a DIP1008 fix. (#3062, #3076, #3091) (new)
- Non-Windows x86: Faster real versions of std.math.{tan,expi}. (#2855)
- dcompute: New __traits(getTargetInfo, "dcomputeTargets"). (#3090) (new)
* Platform support
- Supports LLVM 3.9 - 8.0 (incl. 7.1).
* Bug fixes
- Make pragma(LDC_no_typeinfo) actually elide TypeInfo emission
for structs, classes and interfaces. (#3068)
- Windows: Fix DLL entry point in MinGW-based libs.
(ldc-developers/mingw-w64-libs@8d930c1)
- WebAssembly: Use --export-dynamic when linking with LLD 8+.
(#3023, #3072)
- Fix corrupt this in functions nested in in/out contracts.
(45460a1)
- Fix identity comparisons of integral vectors. (a44c78f)
- Improved handling of unsupported vector ops. (a44c78f)
- uClibc: Fix C assert calls. (#3078, #3082) (new)
- Improved error message on global variable collision.
(#3080, #3081) (new)
* Known issues
- Buggy older ld.bfd linker versions may wrongly strip out
required symbols, e.g., ModuleInfos (so that e.g. no module
ctors/dtors are run). LDC defaults to ld.gold on Linux.
- LDC does not zero the padding area of a real variable. This
may lead to wrong results if the padding area is also
considered. See #770. Does not apply to real members inside
structs etc.
-------------------------------------------------------------------
Sat Apr 20 21:04:20 UTC 2019 - Matthias Eliasson <elimat@opensuse.org>

View File

@ -16,11 +16,14 @@
#
%define so_ver 85
%define so_ver 86
%define lname_runtime libdruntime-%{name}
%define lname_phobos libphobos2-%{name}
%define _bashcompletionsdir %{_datadir}/bash-completion/completions
# llvm7 does not support -flto=4 flag
%define _lto_cflags %{nil}
# Do bootstrap (even in Tumbleweed, and Leap 15+), otherwise LDC will build
# against old installed .so instead of new built one
%bcond_without ldc_bootstrap
@ -35,7 +38,7 @@
%bcond_with ldc_tests
Name: ldc
Version: 1.15.0
Version: 1.16.0
Release: 0
Summary: The LLVM D Compiler
License: BSD-3-Clause AND Artistic-1.0
@ -49,8 +52,14 @@ BuildRequires: help2man
BuildRequires: libconfig++-devel
BuildRequires: libcurl-devel
BuildRequires: libstdc++-devel
%if 0%{?suse_version} >= 1550
# Use clang7/llvm7 on Tumbleweed due to https://github.com/ldc-developers/ldc/issues/3109
BuildRequires: clang7
BuildRequires: llvm7-devel
%else
BuildRequires: llvm-clang
BuildRequires: llvm-devel >= 3.9
%endif
BuildRequires: ncurses-devel
BuildRequires: sqlite3-devel
BuildRequires: zlib-devel