From 6d146f16ca2bfe8f32cb5a9e86b3f500bab46b7d2e82a99babbddab8b5d9849a Mon Sep 17 00:00:00 2001 From: Guillaume GARDET Date: Wed, 10 Jul 2019 06:23:46 +0000 Subject: [PATCH] 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 --- ldc-1.15.0-src.tar.gz | 3 --- ldc-1.16.0-src.tar.gz | 3 +++ ldc.changes | 42 ++++++++++++++++++++++++++++++++++++++++++ ldc.spec | 13 +++++++++++-- 4 files changed, 56 insertions(+), 5 deletions(-) delete mode 100644 ldc-1.15.0-src.tar.gz create mode 100644 ldc-1.16.0-src.tar.gz diff --git a/ldc-1.15.0-src.tar.gz b/ldc-1.15.0-src.tar.gz deleted file mode 100644 index 270ad31..0000000 --- a/ldc-1.15.0-src.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d7e0e0cf332542c42e3b6570d391b0f05d5a81a812297efcdadccf8fb0f0cee2 -size 6949021 diff --git a/ldc-1.16.0-src.tar.gz b/ldc-1.16.0-src.tar.gz new file mode 100644 index 0000000..de2c4e5 --- /dev/null +++ b/ldc-1.16.0-src.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:426d9d0dc65b7d3d739809c9c8bf022177aeaa8e65999be7145e052be3357302 +size 6995348 diff --git a/ldc.changes b/ldc.changes index f1aee34..bc9a3df 100644 --- a/ldc.changes +++ b/ldc.changes @@ -1,3 +1,45 @@ +------------------------------------------------------------------- +Tue Jul 9 14:48:29 UTC 2019 - Guillaume GARDET + +- 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 + +- 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 diff --git a/ldc.spec b/ldc.spec index 9c419eb..9f6b887 100644 --- a/ldc.spec +++ b/ldc.spec @@ -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