Accepting request 969515 from home:HenkKalkwater:branches:devel:languages:D
Update LDC from 1.26.0 to 1.29.0 OBS-URL: https://build.opensuse.org/request/show/969515 OBS-URL: https://build.opensuse.org/package/show/devel:languages:D/ldc?expand=0&rev=49
This commit is contained in:
parent
d97727b362
commit
c4d69fc237
3
ldc-1.29.0-src.tar.gz
Normal file
3
ldc-1.29.0-src.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d0c066eb965467625d9c5e75c00c583451b9ffa363601f9e37275ca8a8aea140
|
||||
size 8080420
|
47
ldc.changes
47
ldc.changes
@ -1,3 +1,50 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 12 11:47:22 CEST 2022 - Chris Josten <chris+suse@netsoj.nl>
|
||||
|
||||
- Update to 1.29.0:
|
||||
* Frontend, druntime and Phobos are at version 2.099.1
|
||||
* Support for LLVM 13 and LLVM 14
|
||||
* New @hidden UDA (as counterpart of export).
|
||||
* Support 'raw mangles' via leading \1 in pragma(mangle) strings,
|
||||
e.g., to access magic linker symbols on Mac.
|
||||
* New @noSanitize UDA to selectively disable sanitizer
|
||||
instrumentation of functions.
|
||||
* WebAssembly: Larger default stack size (1 MB) and protection
|
||||
against stack overflow overwriting global memory.
|
||||
* LDC doesn't default to the ld.gold linker anymore. The
|
||||
combination of LLVM 13+ and older gold linkers can apparently
|
||||
cause problems. We recommend using LLD, e.g., via -linker=lld
|
||||
or by setting your default /usr/bin/ld symlink; it's
|
||||
significantly faster too.
|
||||
* -linkonce-templates is less aggressive by default now and
|
||||
IMHO production-ready.
|
||||
* When linking manually (not via LDC) against shared druntime, it
|
||||
is now required to link the bundled lib/ldc_rt.dso.o[bj] object
|
||||
file into each binary. It replaces the previously
|
||||
Windows-specific dso_windows.obj.
|
||||
* Basic compiler support for Newlib targets, i.e., triples
|
||||
like arm-none-newlibeabi.
|
||||
* dcompute: Add support for OpenCL image I/O.
|
||||
* Revamped and improved -ftime-trace implementation for compiler
|
||||
profiling/tracing, now excluding LLVM-internal traces, adding
|
||||
frontend memory tracing, source file location infos etc
|
||||
* Implement core.atomic.pause() for some architectures.
|
||||
* Bug fixes:
|
||||
* Linux: Make LTO work with LLD.
|
||||
* Capture NRVO variable by ref for stack closures.
|
||||
* -ftime-trace: JSON-escape filenames.
|
||||
* RISC-V: Use 128-bit quadruple real.
|
||||
* Linux x86/x64: Fix TLS range with static druntime and bfd/lld
|
||||
linkers.
|
||||
* Support rdtscp in DMD-style inline assembly.
|
||||
* Fix dynamic casts across binary boundaries (DLLs etc.).
|
||||
* Don't silently ignore invalid external tool specifications.
|
||||
* LLVM v11.1: Add missing PGO ldc-profdata tool.
|
||||
* ICE for 64-bit targets with 32-bit pointer size.
|
||||
* Breaking ABI changes:
|
||||
* extern(D): formal parameters of non-variadic functions aren't
|
||||
reversed anymore, in line with the spec.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 17 13:49:15 UTC 2021 - Ferdinand Thiessen <rpm@fthiessen.de>
|
||||
|
||||
|
26
ldc.spec
26
ldc.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package ldc
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -16,7 +16,7 @@
|
||||
#
|
||||
|
||||
|
||||
%define so_ver 96
|
||||
%define so_ver 99
|
||||
%define lname_jit libldc-jit
|
||||
%define lname_runtime libdruntime-%{name}
|
||||
%define lname_phobos libphobos2-%{name}
|
||||
@ -40,10 +40,11 @@
|
||||
%bcond_with ldc_tests
|
||||
|
||||
Name: ldc
|
||||
Version: 1.26.0
|
||||
Version: 1.29.0
|
||||
Release: 0
|
||||
Summary: The LLVM D Compiler
|
||||
License: BSD-3-Clause AND Artistic-1.0
|
||||
License: Artistic-1.0 AND BSD-3-Clause
|
||||
Group: Development/Languages/Other
|
||||
URL: https://wiki.dlang.org/LDC
|
||||
Source0: https://github.com/ldc-developers/ldc/releases/download/v%{version}/ldc-%{version}-src.tar.gz
|
||||
Source1: %{name}-rpmlintrc
|
||||
@ -61,16 +62,16 @@ BuildRequires: llvm7-devel
|
||||
BuildRequires: llvm-clang >= 6.0
|
||||
BuildRequires: llvm-devel >= 6.0
|
||||
%endif
|
||||
BuildRequires: binutils-gold
|
||||
BuildRequires: ncurses-devel
|
||||
BuildRequires: sqlite3-devel
|
||||
BuildRequires: zlib-devel
|
||||
BuildRequires: pkgconfig(bash-completion)
|
||||
BuildRequires: binutils-gold
|
||||
# Should be installed, at least runtime
|
||||
Recommends: ldc-phobos-devel = %{version}
|
||||
Recommends: ldc-runtime-devel = %{version}
|
||||
Recommends: ldc-jit-devel = %{version}
|
||||
Recommends: %{name}-bash-completion
|
||||
Recommends: ldc-jit-devel = %{version}
|
||||
Recommends: ldc-runtime-devel = %{version}
|
||||
# Since version 1.13.0, ldc uses ld.gold by default
|
||||
Requires: binutils-gold
|
||||
%if %{with ldc_bootstrap}
|
||||
@ -109,14 +110,17 @@ capabilities.
|
||||
|
||||
%package -n %{lname_runtime}%{so_ver}
|
||||
Summary: Minimal D runtime library
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n %{lname_runtime}%{so_ver}
|
||||
The minimal runtime library required to support the D programming language.
|
||||
|
||||
%package runtime-devel
|
||||
Summary: Development files for the D runtime library
|
||||
Group: Development/Libraries/Other
|
||||
Requires: %{lname_runtime}%{so_ver} = %{version}
|
||||
Recommends: ldc-phobos-devel = %{version}
|
||||
Group: System/Libraries
|
||||
|
||||
%description runtime-devel
|
||||
This package contains the druntime development files necessary for developing
|
||||
@ -124,18 +128,21 @@ with LDC.
|
||||
|
||||
%package -n %{lname_phobos}%{so_ver}
|
||||
Summary: The D standard library
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n %{lname_phobos}%{so_ver}
|
||||
This package includes ldc's phobos library - The D standard library.
|
||||
|
||||
%package -n %{lname_jit}%{so_ver}
|
||||
Summary: The LDC jit library
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n %{lname_jit}%{so_ver}
|
||||
This package includes ldc's jit library.
|
||||
|
||||
%package jit-devel
|
||||
Summary: Development files for the D standard library
|
||||
Group: Development/Libraries/Other
|
||||
Requires: %{lname_jit}%{so_ver} = %{version}
|
||||
|
||||
%description jit-devel
|
||||
@ -143,6 +150,7 @@ This package contains the LDC jit development files.
|
||||
|
||||
%package phobos-devel
|
||||
Summary: Development files for the D standard library
|
||||
Group: Development/Libraries/Other
|
||||
Requires: %{lname_phobos}%{so_ver} = %{version}
|
||||
Requires: %{name}-runtime-devel = %{version}
|
||||
|
||||
@ -157,7 +165,6 @@ Requires: bash-completion
|
||||
%description bash-completion
|
||||
Optional dependency offering bash completion for ldc2
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n ldc-%{version}-src
|
||||
%patch0 -p1
|
||||
@ -294,6 +301,7 @@ rm -rf %{buildroot}%{_prefix}/lib/debug
|
||||
%files -n %{lname_runtime}%{so_ver}
|
||||
%{_libdir}/%{lname_runtime}-shared.so.*
|
||||
%{_libdir}/%{lname_runtime}-debug-shared.so.*
|
||||
%{_libdir}/ldc_rt.dso.o
|
||||
|
||||
%files runtime-devel
|
||||
%{_libdir}/%{lname_runtime}-shared.so
|
||||
@ -301,6 +309,8 @@ rm -rf %{buildroot}%{_prefix}/lib/debug
|
||||
%dir %{_includedir}/d
|
||||
%{_includedir}/d/core
|
||||
%{_includedir}/d/ldc
|
||||
%{_includedir}/d/__builtins.di
|
||||
%{_includedir}/d/importc.h
|
||||
%{_includedir}/d/object.d
|
||||
|
||||
%files -n %{lname_phobos}%{so_ver}
|
||||
|
Loading…
Reference in New Issue
Block a user