commit ldc for openSUSE:Factory

2020-10-02 Thread root
Hello community,

here is the log from the commit of package ldc for openSUSE:Factory checked in 
at 2020-10-02 17:39:13

Comparing /work/SRC/openSUSE:Factory/ldc (Old)
 and  /work/SRC/openSUSE:Factory/.ldc.new.4249 (New)


Package is "ldc"

Fri Oct  2 17:39:13 2020 rev:12 rq:839016 version:1.23.0

Changes:

--- /work/SRC/openSUSE:Factory/ldc/ldc.changes  2020-08-17 14:40:57.994596831 
+0200
+++ /work/SRC/openSUSE:Factory/.ldc.new.4249/ldc.changes2020-10-02 
17:40:04.786837961 +0200
@@ -1,0 +2,43 @@
+Thu Oct  1 09:04:59 UTC 2020 - Guillaume GARDET 
+
+- Update to 1.23.0:
+  Bug news
+  * Frontend, druntime and Phobos are at version 2.093.1+, 
+incl. new command-line option -vtemplates. (#3476, #3538, #3541)
+  * New -platformlib CLI option to override the default linked-with
+platform libraries, e.g., when targeting bare-metal. (#3374, #3475)
+  Platform support
+  * Supports LLVM 6.0 - 10.0.
+  Bug fixes
+  * Fix regression since v1.22: shared druntime potentially overriding
+libstdc++ symbols and breaking exceptions in C++ libraries. (#3530, #3537)
+  * Fix naked DMD-style asm emission for non-Mac x86 Darwin targets
+(e.g., iOS simulators). (#3478)
+  * -betterC: Don't use unsupported EH for handling clean-ups. (#3479, #3482)
+  * dcompute: Fix wrong address space loads and stores. Thx Rob! (#3428)
+  * Fix ICE wrt. missing IR declarations for some forward-declared 
+functions. (#3496, #3503)
+  * Fix ICE wrt. inline IR and empty parameter types tuple. (#3509)
+  * Fix PGO issues. (#3375, #3511, #3512, #3524)
+  * Improve support for LLVM's ThreadSanitizer. (#3522)
+  * Fix linker cmdline length limitation via response files. (#3535, #3536)
+  Internals
+  * Compiler performance wrt. string literals emission has been improved.
+Thx @looked-at-me! (#3490, #3492)
+  * Link libstdc++ statically for libldc-jit.so of prebuilt Linux packages,
+to increase portability. (#3473, #3474)
+  * Set up Visual D when using the Visual Studio CMake generator, making
+LDC compiler development on Windows a smooth out-of-the-box experience. 
(#3494)
+  Known issues
+  * When building LDC, old LDC 0.17.*/ltsmaster host compilers miscompile 
+LDC ≥ 1.21, leading to potential segfaults of the built LDC. Ltsmaster 
+can still be used to bootstrap a first compiler and then let that compiler
+compile itself. (#3354)
+  * 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.
+
+---

Old:

  ldc-1.22.0-src.tar.gz

New:

  ldc-1.23.0-src.tar.gz



Other differences:
--
++ ldc.spec ++
--- /var/tmp/diff_new_pack.foafeQ/_old  2020-10-02 17:40:09.962841047 +0200
+++ /var/tmp/diff_new_pack.foafeQ/_new  2020-10-02 17:40:09.966841049 +0200
@@ -16,7 +16,7 @@
 #
 
 
-%define so_ver92
+%define so_ver93
 %define lname_jit libldc-jit
 %define lname_runtime libdruntime-%{name}
 %define lname_phobos  libphobos2-%{name}
@@ -39,7 +39,7 @@
 %bcond_with ldc_tests
 
 Name:   ldc
-Version:1.22.0
+Version:1.23.0
 Release:0
 Summary:The LLVM D Compiler
 License:BSD-3-Clause AND Artistic-1.0

++ ldc-1.22.0-src.tar.gz -> ldc-1.23.0-src.tar.gz ++
/work/SRC/openSUSE:Factory/ldc/ldc-1.22.0-src.tar.gz 
/work/SRC/openSUSE:Factory/.ldc.new.4249/ldc-1.23.0-src.tar.gz differ: char 5, 
line 1




commit ldc for openSUSE:Factory

2020-08-17 Thread root
Hello community,

here is the log from the commit of package ldc for openSUSE:Factory checked in 
at 2020-08-17 14:40:56

Comparing /work/SRC/openSUSE:Factory/ldc (Old)
 and  /work/SRC/openSUSE:Factory/.ldc.new.3399 (New)


Package is "ldc"

Mon Aug 17 14:40:56 2020 rev:11 rq:827298 version:1.22.0

Changes:

--- /work/SRC/openSUSE:Factory/ldc/ldc.changes  2020-06-03 20:31:58.537073853 
+0200
+++ /work/SRC/openSUSE:Factory/.ldc.new.3399/ldc.changes2020-08-17 
14:40:57.994596831 +0200
@@ -1,0 +2,74 @@
+Sun Aug  9 21:57:52 UTC 2020 - Matthias Eliasson 
+
+- Update to 1.22.0: 
+  Big news
+  * Frontend, druntime and Phobos are at version 2.092.1+.
+(#3413, #3416, #3429, #3434, #3452, #3467) (new)
+  * AArch64: All known ABI issues have been fixed. C(++) interop should now be 
+on par with x86_64, and variadics usable with core.{vararg,stdc.stdarg}.
+(#3421)
+  * Windows hosts: DMD's Visual C++ toolchain detection has been adopted. As
+that's orders of magnitude faster than the previous method involving the MS
+batch file, auto-detection has been enabled by default, so if you have a
+non-ancient Visual C++ installation, it will now be used automatically for
+linking. The environment setup has been reduced to the bare minimum
+(LIB and PATH). (#3415)
+  * FreeBSD x64: CI with CirrusCI is now fully green and includes automated
+prebuilt package generation. The package depends on the llvm ports package
+and should currently work on FreeBSD 11-13. (#3453, #3464) (new)
+  * Link-time overridable @weak functions are now emulated for Windows targets
+and work properly for ELF platforms. For ELF, LDC doesn't emit any COMDATs
+anymore. (#3424)
+  * New ldc.gccbuiltins_{amdgcn,nvvm} for AMD GCN and NVIDIA PTX targets.
+(#3411)
+  * druntime: Significant speed-up for core.math.ldexp. (#3440, #3446)
+  Platform support
+  * Supports LLVM 3.9 - 10.0.
+  Bug fixes
+  * Cross-module inlining (incl. pragma(inline, true)): Enable emission into
+multiple object files. This may have a significant impact on performance
+(incl. druntime/Phobos) when not using LTO. (#3126, #3442)
+  * Android: Fix TLS initialization regression (introduced in v1.21) and
+potential alignment issues. Unfortunately, the ld.bfd linker is required
+for our custom TLS emulation scheme, unless you're willing to use a custom
+linker script. So -linker=bfd is the new default for Android targets.
+(#3462) (new)
+  * Casting (static and dynamic) arrays to vectors now loads the data instead
+of splatting the first element. (#3418, #3419)
+  * Fix return statements potentially accessing memory from destructed
+temporaries. (#3426)
+  * Add proper support for -checkaction=halt. (#3430, #3431)
+  * druntime: Include core.stdcpp.* modules. (#3103, #3158)
+  * GCC-style asm: Add support for indirect input operands ("m"). (#3438)
+  * FreeBSD: Fix backtraces for optimized code by switching to external
+libexecinfo. (#3108, #3453)
+  * FreeBSD: Fix C math related issues (incl. CTFE math issues) by bringing
+core.stdc.{math,tgmath} up to speed. (dlang/druntime#3119)
+  * Fix ICE for captured parameters not passed on the LLVM level. (#3441)
+  * Convenience fixes for RISC-V and other exotic targets. (#3457, #3460) (new)
+  Internals
+  * When printing compile-time reals to hex strings (mangling, .di headers),
+LDC now uses LLVM instead of the host C runtime, for proper and consistent
+results. (#3410)
+  * One limitation for exotic hosts wrt. C long double precision has been
+lifted. (#3414)
+  * For AVR targets, the compiler now predefines AVR and emits all TLS globals 
+as regular __gshared ones. (#3420)
+  * WebAssembly: New memory grow/size intrinsics. 
(ldc-developers/druntime#187) 
+(new)
+  * New -fno-plt option to avoid PLT external calls. (#3443)
+  * iOS/arm64 CI, running the debug druntime & Phobos unittests on an iPhone 
+6S. Thx Jacob for this tedious work! (#3379, #3450)
+  Known issues
+  * When building LDC, old LDC 0.17.*/ltsmaster host compilers miscompile LDC 
≥ 
+1.21, leading to potential segfaults of the built LDC. Ltsmaster can still 
+be used to bootstrap a first compiler and then let that compiler compile 
+itself. (#3354)
+  * 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.
+
+---

Old:

  ldc-1.21.0-src.tar.gz

New:

  ldc-1.22.0-src.tar.gz


commit ldc for openSUSE:Factory

2020-06-03 Thread root
Hello community,

here is the log from the commit of package ldc for openSUSE:Factory checked in 
at 2020-06-03 20:31:12

Comparing /work/SRC/openSUSE:Factory/ldc (Old)
 and  /work/SRC/openSUSE:Factory/.ldc.new.3606 (New)


Package is "ldc"

Wed Jun  3 20:31:12 2020 rev:10 rq:810748 version:1.21.0

Changes:

--- /work/SRC/openSUSE:Factory/ldc/ldc.changes  2019-07-11 13:18:30.638765176 
+0200
+++ /work/SRC/openSUSE:Factory/.ldc.new.3606/ldc.changes2020-06-03 
20:31:58.537073853 +0200
@@ -1,0 +2,66 @@
+Mon Jun  1 09:09:31 UTC 2020 - Max Lin 
+
+- Switch to llvm7 explicity on Leap 15.2 as the default llvm in Leap 15.2
+  isn't llvm7
+
+---
+Sun May 24 22:00:42 UTC 2020 - Matthias Eliasson 
+
+- Remove groups from specfile since they are not used anymore
+- Add ldc-jit lib and devel packages
+- Update to 1.21.0:
+  * Big news
+- Frontend, druntime and Phobos are at version 2.091.1+, incl. new CLI
+ switches -verror-style and -HC, -HCd, -HCf. (#, #3399)
+   - LLVM for prebuilt packages upgraded to v10.0.0. Android NDK version
+ bumped to r21. (#3307, #3387, #3398)
+   - Initial support for GCC/GDC-style inline assembly syntax, besides
+ DMD-style inline asm and LDC-specific __asm, enabling to write inline
+ asm that is portable across GDC/LDC and corresponds to the GCC syntax
+ in C. See ldc-developers/druntime#171 for examples wrt. how to
+ transition from __asm to similar GCC-style asm. (#3304)
+   - Inline assembly diagnostics have been extended by the D source
+ location. (#3339)
+  * Platform support
+- Supports LLVM 3.9 - 10.0.
+  * Bug fixes
+- Fixed tail calls in thunks, affecting AArch64 (the debug libraries now 
work)
+ and possibly other architectures. (#3329, #3332)
+- Windows: Do not emit any column infos for CodeView by default
+ (like clang) & add -gcolumn-info. (#3102, #3388)
+- Windows: Do not leak MSVC-environment-setup into -run child processes.
+ A new LDC_VSDIR_FORCE environment variable can be used to enforce MSVC
+ toolchain setup. (#3340, #3341)
+- Windows: Fix memory leak when throwing exceptions in threads. 
+ (#3369, ldc-developers/druntime#181)
+- Try to use memcmp for (in)equality of non-mutable static arrays and
+ mutable slices. (#3400, #3401)
+- ldc.gccbuiltins_*: Lift 256-bit vector limit, adding 174 AVX512
+ builtins for x86; 512-bit vector aliases have been added to core.simd.
+ (#3405, #3406)
+  * Internals  
+- core.bitop.{bts,btr,btc} are now CTFE-able. (ldc-developers/druntime#182)
+- Do not fallback to host for critical section size of unknown targets.
+ (#3389)
+- Linux: Possibility to avoid passing -fuse-ld to cc via -linker=. 
+ (#3382)
+- WebAssembly: Switch from legacy linked-list ModuleInfo registry to
+ __minfo section. (#3348)
+- Windows: Bundled libcurl upgraded to v7.69.1, incl. the option to link
+ it statically. (#3378)
+- Windows: Switch to wide wmain C entry point in druntime. (#3351)
+- druntime unittests are now compiled with -checkaction=context.
+  * Known issues
+- NEW: When building LDC, old LDC 0.17.*/ltsmaster host compilers
+ miscompile LDC ≥ 1.21, leading to potential segfaults of the built 
LDC.
+ Ltsmaster can still be used to bootstrap a first compiler and then let
+ that compiler compile itself. (#3354)
+- 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.
+
+
+---

Old:

  ldc-1.16.0-src.tar.gz

New:

  ldc-1.21.0-src.tar.gz



Other differences:
--
++ ldc.spec ++
--- /var/tmp/diff_new_pack.46WBHS/_old  2020-06-03 20:32:00.281079155 +0200
+++ /var/tmp/diff_new_pack.46WBHS/_new  2020-06-03 20:32:00.285079167 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ldc
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 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,8 @@
 #
 
 
-%define so_ver86
+%define so_ver91
+%define lname_jit libldc-jit
 %define lname_runtime 

commit ldc for openSUSE:Factory

2019-07-11 Thread root
Hello community,

here is the log from the commit of package ldc for openSUSE:Factory checked in 
at 2019-07-11 13:17:54

Comparing /work/SRC/openSUSE:Factory/ldc (Old)
 and  /work/SRC/openSUSE:Factory/.ldc.new.4615 (New)


Package is "ldc"

Thu Jul 11 13:17:54 2019 rev:9 rq:714369 version:1.16.0

Changes:

--- /work/SRC/openSUSE:Factory/ldc/ldc.changes  2019-04-22 12:26:13.492965686 
+0200
+++ /work/SRC/openSUSE:Factory/.ldc.new.4615/ldc.changes2019-07-11 
13:18:30.638765176 +0200
@@ -1,0 +2,42 @@
+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.
+
+---

Old:

  ldc-1.15.0-src.tar.gz

New:

  ldc-1.16.0-src.tar.gz



Other differences:
--
++ ldc.spec ++
--- /var/tmp/diff_new_pack.17IXHo/_old  2019-07-11 13:18:31.594764875 +0200
+++ /var/tmp/diff_new_pack.17IXHo/_new  2019-07-11 13:18:31.598764873 +0200
@@ -16,11 +16,14 @@
 #
 
 
-%define so_ver85
+%define so_ver86
 %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:  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

++ ldc-1.15.0-src.tar.gz -> ldc-1.16.0-src.tar.gz ++
/work/SRC/openSUSE:Factory/ldc/ldc-1.15.0-src.tar.gz 
/work/SRC/openSUSE:Factory/.ldc.new.4615/ldc-1.16.0-src.tar.gz differ: char 5, 
line 1




commit ldc for openSUSE:Factory

2019-04-22 Thread root
Hello community,

here is the log from the commit of package ldc for openSUSE:Factory checked in 
at 2019-04-22 12:26:11

Comparing /work/SRC/openSUSE:Factory/ldc (Old)
 and  /work/SRC/openSUSE:Factory/.ldc.new.5536 (New)


Package is "ldc"

Mon Apr 22 12:26:11 2019 rev:8 rq:696453 version:1.15.0

Changes:

--- /work/SRC/openSUSE:Factory/ldc/ldc.changes  2019-01-25 22:45:33.103066571 
+0100
+++ /work/SRC/openSUSE:Factory/.ldc.new.5536/ldc.changes2019-04-22 
12:26:13.492965686 +0200
@@ -1,0 +2,44 @@
+Sat Apr 20 21:04:20 UTC 2019 - Matthias Eliasson 
+
+- Update to 1.15.0
+  * Big news
+- Frontend, druntime and Phobos are at version 2.085.1, incl. new
+ command-line options -preview, -revert, -checkaction=context,
+ -verrors-context and -extern-std. (#3003, #3039, #3053) (new)
+  + The Objective-C improvements from DMD 2.085 are not implemented
+   (#3007)
+- Support for LLVM 8.0. The prebuilt packages have been upgraded to
+ LLVM 8.0.0 and include the Khronos SPIRV-LLVM-Translator, so that
+ dcompute can now emit OpenCL too. (#3005)
+- Compiler memory requirements can now be reduced via the new -lowmem
+ switch, which enables the garbage collector for the front-end and
+ sacrifices compile times for less required memory. In some cases, the
+ overall max process memory can be reduced by more than 60%; see #2916
+ (comment) for some numbers. (#2916)
+  + Note for package maintainers: this feature requires a recent D host
+   compiler (most notably, it doesn't work with ltsmaster), ideally
+   LDC 1.15 itself due to important GC memory overhead 
improvements in
+   2.085 druntime.
+- Support for generic @llvmAttr("name") parameter UDAs, incl. new
+ @restrict with C-like semantics. (#3043) (new)
+- macOS: 32-bit support was dropped in the sense of not being CI-tested
+ anymore and the prebuilt macOS package now containing x86_64 libraries
+ only. MACOSX_DEPLOYMENT_TARGET for the prebuilt package has been 
raised
+ from 10.8 to 10.9.
+- Prebuilt packages don't depend on libtinfo and libedit anymore. 
+ (#1827, #3019)
+- x86: SSSE3 isn't required for the prebuilt packages and generated
+ optimized binaries anymore. (#3045) (new)
+  * Platform support
+- Supports LLVM 3.9 - 8.0.
+  * Bug fixes
+- Implicit cross-module-inlining of functions annotated with
+ pragma(inline, true) without explicit -enable-cross-module-inlining 
has
+ been restored. (#2552, #3014)
+- Propagate well-known length of newly allocated dynamic arrays for
+ better optimizability. (#3041, #3042) (new)
+- JIT: Support implicit __chkstk calls for Windows targets, e.g., for
+ large stack allocations. (#3051) (new)
+- Update so_version to 85
+
+---

Old:

  ldc-1.13.0-src.tar.gz

New:

  ldc-1.15.0-src.tar.gz



Other differences:
--
++ ldc.spec ++
--- /var/tmp/diff_new_pack.koCfHm/_old  2019-04-22 12:26:15.228965009 +0200
+++ /var/tmp/diff_new_pack.koCfHm/_new  2019-04-22 12:26:15.260964997 +0200
@@ -16,7 +16,7 @@
 #
 
 
-%define so_ver83
+%define so_ver85
 %define lname_runtime libdruntime-%{name}
 %define lname_phobos  libphobos2-%{name}
 %define _bashcompletionsdir %{_datadir}/bash-completion/completions
@@ -35,7 +35,7 @@
 %bcond_with ldc_tests
 
 Name:   ldc
-Version:1.13.0
+Version:1.15.0
 Release:0
 Summary:The LLVM D Compiler
 License:BSD-3-Clause AND Artistic-1.0

++ ldc-1.13.0-src.tar.gz -> ldc-1.15.0-src.tar.gz ++
/work/SRC/openSUSE:Factory/ldc/ldc-1.13.0-src.tar.gz 
/work/SRC/openSUSE:Factory/.ldc.new.5536/ldc-1.15.0-src.tar.gz differ: char 5, 
line 1




commit ldc for openSUSE:Factory

2019-01-25 Thread root
Hello community,

here is the log from the commit of package ldc for openSUSE:Factory checked in 
at 2019-01-25 22:45:30

Comparing /work/SRC/openSUSE:Factory/ldc (Old)
 and  /work/SRC/openSUSE:Factory/.ldc.new.28833 (New)


Package is "ldc"

Fri Jan 25 22:45:30 2019 rev:7 rq:668571 version:1.13.0

Changes:

--- /work/SRC/openSUSE:Factory/ldc/ldc.changes  2019-01-24 14:12:24.427432252 
+0100
+++ /work/SRC/openSUSE:Factory/.ldc.new.28833/ldc.changes   2019-01-25 
22:45:33.103066571 +0100
@@ -1,0 +2,5 @@
+Fri Jan 25 10:14:01 UTC 2019 - Guillaume GARDET 
+
+- Requires binutils.gold as ldc uses ld.gold by default since version 1.13.0
+
+---



Other differences:
--
++ ldc.spec ++
--- /var/tmp/diff_new_pack.zwqmIA/_old  2019-01-25 22:45:34.523064910 +0100
+++ /var/tmp/diff_new_pack.zwqmIA/_new  2019-01-25 22:45:34.543064886 +0100
@@ -59,6 +59,8 @@
 Recommends: ldc-phobos-devel = %{version}
 Recommends: ldc-runtime-devel = %{version}
 Recommends: %{name}-bash-completion
+# Since version 1.13.0, ldc uses ld.gold by default
+Requires:   binutils-gold
 %if %{with ldc_bootstrap}
 # v0.17.6 is the last version buildable with a C++ compiler, so use it for 
bootstrapping
 Source10:   
https://github.com/ldc-developers/ldc/releases/download/v0.17.6/ldc-0.17.6-src.tar.gz




commit ldc for openSUSE:Factory

2019-01-24 Thread root
Hello community,

here is the log from the commit of package ldc for openSUSE:Factory checked in 
at 2019-01-24 14:12:22

Comparing /work/SRC/openSUSE:Factory/ldc (Old)
 and  /work/SRC/openSUSE:Factory/.ldc.new.28833 (New)


Package is "ldc"

Thu Jan 24 14:12:22 2019 rev:6 rq:667604 version:1.13.0

Changes:

--- /work/SRC/openSUSE:Factory/ldc/ldc.changes  2019-01-15 09:16:02.514254121 
+0100
+++ /work/SRC/openSUSE:Factory/.ldc.new.28833/ldc.changes   2019-01-24 
14:12:24.427432252 +0100
@@ -1,0 +2,8 @@
+Mon Jan 21 09:31:49 UTC 2019 - Guillaume GARDET 
+
+- Enable bootstrap again for all flavours, otherwise ldc will require old 
+  .so file instead of new one
+- Use ldc 1.12.0 as intermediate build on 32-bit, due to upstream bug:
+  * https://github.com/ldc-developers/ldc/issues/2947
+
+---

New:

  ldc-1.12.0-src.tar.gz



Other differences:
--
++ ldc.spec ++
--- /var/tmp/diff_new_pack.Ft6xuj/_old  2019-01-24 14:12:25.019431569 +0100
+++ /var/tmp/diff_new_pack.Ft6xuj/_new  2019-01-24 14:12:25.019431569 +0100
@@ -20,13 +20,20 @@
 %define lname_runtime libdruntime-%{name}
 %define lname_phobos  libphobos2-%{name}
 %define _bashcompletionsdir %{_datadir}/bash-completion/completions
-# Do not bootstrap in Tumbleweed, and Leap 15+ as LDC is already available
-%if 0%{suse_version} >= 1500
-%bcond_with ldc_bootstrap
-%else
+
+# 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
+
+%ifarch %{ix86} %arm
+# 32-bit needs 1.12.0 intermediate build due to: 
https://github.com/ldc-developers/ldc/issues/2947
+%bcond_without 1_12_0_intermediate
+%else
+%bcond_with 1_12_0_intermediate
 %endif
+
 %bcond_with ldc_tests
+
 Name:   ldc
 Version:1.13.0
 Release:0
@@ -55,6 +62,10 @@
 %if %{with ldc_bootstrap}
 # v0.17.6 is the last version buildable with a C++ compiler, so use it for 
bootstrapping
 Source10:   
https://github.com/ldc-developers/ldc/releases/download/v0.17.6/ldc-0.17.6-src.tar.gz
+%if %{with 1_12_0_intermediate}
+# 1.12.0 is needed to build on 32-bit: 
https://github.com/ldc-developers/ldc/issues/2947
+Source11:   
https://github.com/ldc-developers/ldc/releases/download/v1.12.0/ldc-1.12.0-src.tar.gz
+%endif
 %endif
 %if %{with ldc_tests}
 BuildRequires:  gcc-c++
@@ -132,6 +143,12 @@
 tar xf %{SOURCE10}
 pushd ldc-0.17.6-src
 popd
+%if %{with 1_12_0_intermediate}
+tar xf %{SOURCE11}
+pushd ldc-1.12.0-src
+%patch0 -p1
+popd
+%endif
 %endif
 
 %build
@@ -152,6 +169,25 @@
 make %{?_smp_mflags}
 popd
 popd
+%if %{with 1_12_0_intermediate}
+pushd ldc-1.12.0-src
+#Needs to be compiled with clang, but opensuse_rules.cmake forces gcc so 
disable rule
+touch ./no-suse-rules
+mkdir build && pushd build
+# FIXME: you should use %%cmake macros
+cmake \
+-DCMAKE_USER_MAKE_RULES_OVERRIDE=./no-suse-rules \
+-DCMAKE_C_COMPILER="%{_bindir}/clang" \
+-DCMAKE_CXX_COMPILER="%{_bindir}/clang++" \
+-DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/d \
+-DD_COMPILER:PATH=`pwd`/../../ldc-0.17.6-src/build/bin/ldmd2 \
+-DCMAKE_CXX_FLAGS="-std=c++11" \
+-DCMAKE_C_FLAGS="-fPIC" \
+..
+make %{?_smp_mflags}
+popd
+popd
+%endif
 %endif
 #Needs to be compiled with clang, but opensuse_rules.cmake forces gcc so 
disable rule
 touch no-suse-rules
@@ -161,8 +197,12 @@
 -DCMAKE_CXX_COMPILER="%{_bindir}/clang++" \
 -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/d \
 %if %{with ldc_bootstrap}
+%if %{with 1_12_0_intermediate}
+-DD_COMPILER:PATH=`pwd`/../ldc-1.12.0-src/build/bin/ldmd2 \
+%else
 -DD_COMPILER:PATH=`pwd`/../ldc-0.17.6-src/build/bin/ldmd2 \
 %endif
+%endif
 -DCMAKE_CXX_FLAGS="-std=c++11"
 make %{?_smp_mflags}
 




commit ldc for openSUSE:Factory

2019-01-15 Thread root
Hello community,

here is the log from the commit of package ldc for openSUSE:Factory checked in 
at 2019-01-15 09:16:01

Comparing /work/SRC/openSUSE:Factory/ldc (Old)
 and  /work/SRC/openSUSE:Factory/.ldc.new.28833 (New)


Package is "ldc"

Tue Jan 15 09:16:01 2019 rev:5 rq:664386 version:1.13.0

Changes:

--- /work/SRC/openSUSE:Factory/ldc/ldc.changes  2018-10-25 09:11:22.126324761 
+0200
+++ /work/SRC/openSUSE:Factory/.ldc.new.28833/ldc.changes   2019-01-15 
09:16:02.514254121 +0100
@@ -1,0 +2,71 @@
+Thu Jan 10 14:00:36 UTC 2019 - Guillaume GARDET 
+
+- Remove wrong requires to 'ldc-utils' as there is no such package
+
+---
+Tue Dec 18 13:19:42 UTC 2018 - Guillaume GARDET 
+
+- Disable bootstrap in Tumbleweed and Leap 15+ as it is bootstrapped already
+  and to workaround https://github.com/ldc-developers/ldc/issues/2947
+
+---
+Tue Dec 18 13:01:16 UTC 2018 - Guillaume GARDET 
+
+- Add bash-completion sub-package
+
+---
+Tue Dec 18 12:11:21 UTC 2018 - Guillaume GARDET 
+
+- Update to 1.13.0:
+  * Big news
+- Frontend, druntime and Phobos are at version 2.083.1. 
+  (#2878, #2893, #2920, #2933) (new)
+- The Windows packages are now fully self-sufficient, i.e., a 
+  Visual Studio/C++ Build Tools installation isn't required anymore, 
+  as we now ship with MinGW-w64-based libraries, similar to DMD. Check out 
+  the included README.txt for all relevant details. 
+  (dlang/installer#346, #2886, Wiki: Cross-compiling with LDC)
+- Debug info improvements:
+  - For GDB: printing global and imported symbols, non-member 
+and member function calls. (#2826)
+  - For Visual Studio and mago: names, by-value params, nested 
+variables. (#2895, #2908, #2909, #2912)
+  - Associative arrays now showing up properly (at least with mago), 
+not as opaque void* anymore. (#2869)
+  - -gc now translates D names to C++ ones, e.g., to use the regular 
+Visual Studio debugger (bypassing mago) and as preparation for VS Code 
+debugging with Microsoft's C/C++ plug-in (screenshots). Thanks to 
+Oleksandr for this contribution and the AA fix! (#2869)
+- New command-line option -fvisibility=hidden to hide functions/globals 
+  not marked as export (for non-Windows targets), primarily to reduce the
+  size of shared libraries. Thanks to Andrey for stepping up! (#2894, 
#2923)
+- Dropped support for LLVM 3.7 and 3.8. (#2872)
+- LLVM for prebuilt packages upgraded to v7.0.1. (new)
+- Linux: now defaulting to ld.gold linker in general, not just with 
+  -flto=thin, as buggy older ld.bfd versions may wrongly strip out required
+  symbols (change with -linker). (#2870)
+- Improved support for Android/x86[_64], musl libc and FreeBSD/AArch64. 
+  (#2917, ldc-developers/druntime#146) (new)
+- LDC-specific druntime: ldc.simd.inlineIR moved/renamed to 
ldc.llvmasm.__ir
+  (with deprecated legacy alias). (#2931) (new)
+- New CMake option COMPILE_D_MODULES_SEPARATELY builds D files in the DDMD 
+  frontend separately to reduce the time required to build LDC with many 
+  CPU cores and/or for iterative development. (#2914)
+  * Platform support
+- Supports LLVM 3.9 - 7.0.
+- Alpine linux/x64: built against Musl libc to support Docker images based 
on 
+  the Alpine distro, requires the llvm5-libs, musl-dev, binutils-gold and 
gcc 
+  packages to build and link D apps and the tzdata and curl-dev packages 
for 
+  certain stdlib modules.
+  * Bug fixes
+- 32-bit Android/ARM regression introduced in v1.12. (#2892)
+- Non-Windows x86_64 ABI fixes wrt. what's passed in registers, 
+  relevant for C[++] interop. (#2864)
+- Some issues with beta1's newly bundled Windows libraries. (#2900, #2903)
+- Alignment of scope allocated class instances. (#2919)
+- Beta2's -fvisibility=hidden causing lots of linker errors. 
+  (#2922, #2923) (new)
+- Update so_version to 83
+- Disable ppc64 builds (boo#1113531)
+
+---

Old:

  ldc-1.12.0-src.tar.gz

New:

  ldc-1.13.0-src.tar.gz



Other differences:
--
++ ldc.spec ++
--- /var/tmp/diff_new_pack.BTlLCD/_old  2019-01-15 09:16:04.670252116 +0100
+++ /var/tmp/diff_new_pack.BTlLCD/_new  2019-01-15 09:16:04.678252108 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ldc
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All 

commit ldc for openSUSE:Factory

2018-10-25 Thread root
Hello community,

here is the log from the commit of package ldc for openSUSE:Factory checked in 
at 2018-10-25 09:11:15

Comparing /work/SRC/openSUSE:Factory/ldc (Old)
 and  /work/SRC/openSUSE:Factory/.ldc.new (New)


Package is "ldc"

Thu Oct 25 09:11:15 2018 rev:4 rq:644173 version:1.12.0

Changes:

--- /work/SRC/openSUSE:Factory/ldc/ldc.changes  2018-08-27 13:00:20.20919 
+0200
+++ /work/SRC/openSUSE:Factory/.ldc.new/ldc.changes 2018-10-25 
09:11:22.126324761 +0200
@@ -1,0 +2,51 @@
+Wed Oct 17 09:54:24 UTC 2018 - Guillaume GARDET 
+
+- Update to 1.12.0:
+  * Big news
+- Frontend, druntime and Phobos are at version 2.082.1. 
+  (#2818, #2837, #2858, #2873) (new)
+Significant performance improvements for some transcendental
+std.math functions in single and double precision, at least 
+for x86. (dlang/phobos#6272 (comment))
+- Support for LLVM 7, which is used for the prebuilt packages. 
+  Due to an LLVM 7.0.0 regression, the prebuilt x86[_64] LDC 
+  binaries require a CPU with SSSE3, and so will your optimized
+  binaries (unless compiling with -mattr=-ssse3). (#2850)
+- JIT compilation: new ldc.dynamic_compile.bind function with 
+  interface similar to C++ std::bind, allowing to generate 
+  efficient specialized versions of functions (much like 
+  Easy::jit for C++). (#2726)
+- LTO now working for Win64 too; the prebuilt package includes
+  the required external LLD linker and the optional LTO default
+  libs. Enable as usual with -flto= 
+  [-defaultlib=druntime-ldc-lto,phobos2-ldc-lto]. (#2774)
+- Config file: new lib-dirs array for directories to be searched 
+  for libraries, incl. LLVM compiler-rt libraries. (#2790)
+  * Platform support
+- Supports LLVM 3.7 - 7.0.
+- Windows: Supports Visual Studio/C++ Build Tools 2015 and 2017.
+- Alpine linux/x64: built against Musl libc to support Docker 
+  images based on the Alpine distro, requires the llvm5-libs, 
+  musl-dev, and gcc packages to build and link D apps and the 
+  tzdata and libcurl packages for certain stdlib modules.
+- Android/ARM: This release slightly changes the way emulated TLS
+  is interfaced, but is missing a patch for 32-bit ARM. See the
+  wiki for instructions on patching that file manually before 
+  cross-compiling the runtime libraries for 32-bit Android/ARM.
+  * Bug fixes
+- Fix IR-based PGO on Windows (requires our LLVM fork). (#2539)
+- Fix C++ class construction with D new on Posix. (#2801)
+- Android: No more text relocations in Phobos zlib, required for 
+  API level 23+. (#2822, #2835)
+- Declare extern const/immutable globals as IR constants. 
+  (#2849, #2852)
+- Fix issue when emitting both object and textual assembly files
+  at once (-output-o -output-s). (#2847)
+- Support address of struct member as key/value in AA literal.
+  (#2859, #2860)
+- Fix ICE when computing addresses relative to functions/labels. 
+  (#2865, #2867) (new)
+- beta2 regression wrt. cross-compiling to Android. (#2863) (new)
+- Fix so_version to 82
+
+---

Old:

  ldc-1.11.0-src.tar.gz

New:

  ldc-1.12.0-src.tar.gz



Other differences:
--
++ ldc.spec ++
--- /var/tmp/diff_new_pack.uSdE4c/_old  2018-10-25 09:11:24.394323404 +0200
+++ /var/tmp/diff_new_pack.uSdE4c/_new  2018-10-25 09:11:24.398323401 +0200
@@ -12,17 +12,17 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
-%define so_ver81
+%define so_ver82
 %define lname_runtime libdruntime-%{name}
 %define lname_phobos  libphobos2-%{name}
 %bcond_without ldc_bootstrap
 %bcond_with ldc_tests
 Name:   ldc
-Version:1.11.0
+Version:1.12.0
 Release:0
 Summary:The LLVM D Compiler
 License:BSD-3-Clause AND Artistic-1.0

++ ldc-1.11.0-src.tar.gz -> ldc-1.12.0-src.tar.gz ++
/work/SRC/openSUSE:Factory/ldc/ldc-1.11.0-src.tar.gz 
/work/SRC/openSUSE:Factory/.ldc.new/ldc-1.12.0-src.tar.gz differ: char 5, line 1




commit ldc for openSUSE:Factory

2018-08-27 Thread root
Hello community,

here is the log from the commit of package ldc for openSUSE:Factory checked in 
at 2018-08-27 13:00:18

Comparing /work/SRC/openSUSE:Factory/ldc (Old)
 and  /work/SRC/openSUSE:Factory/.ldc.new (New)


Package is "ldc"

Mon Aug 27 13:00:18 2018 rev:3 rq:631699 version:1.11.0

Changes:

--- /work/SRC/openSUSE:Factory/ldc/ldc.changes  2018-07-31 16:02:48.255893605 
+0200
+++ /work/SRC/openSUSE:Factory/.ldc.new/ldc.changes 2018-08-27 
13:00:20.20919 +0200
@@ -1,0 +2,74 @@
+Mon Aug 27 06:56:16 UTC 2018 - guillaume.gar...@opensuse.org
+
+- Fix so_version to 81
+
+---
+Fri Aug 24 10:24:47 UTC 2018 - guilla...@opensuse.org
+
+- Update to 1.11.0:
+  * Big news:
+- Frontend, druntime and Phobos are at version 2.081.2. 
+  (#2752, #2772, #2776, #2791, #2815) (new)
+- Add some support for classes without TypeInfos, for 
+  -betterC and/or a minimal (d)runtime. (#2765)
+- LLVM for prebuilt packages upgraded to v6.0.1. 
+  The x86_64 packages feature some more LLVM targets for 
+  cross-compilation (experiments): MIPS, MSP430, RISC-V 
+  and WebAssembly. (#2760)
+- Rudimentary support for compiling & linking directly to 
+  WebAssembly. See the dedicated Wiki page for how to get 
+  started. (#2766, #2779, #2785)
+- AArch64 (64-bit ARM) now mostly working on Linux/glibc 
+  and Android. Current ltsmaster is able to bootstrap v1.11, 
+  which can also bootstrap itself; most tests pass. 
+  (Preliminary) CI has been set up. (#2802, #2817, #2813) (new)
+- LDC on Windows now uses 80-bit compile-time reals. This allows 
+  for seamless cross-compilation to other x86(_64) targets, 
+  e.g., without real.min underflowing to 0 and real.max 
+  overflowing to infinity. (#2752)
+- New @naked UDA in ldc.attributes & enhanced functionality 
+  for @llvmAttr(""). (#2773) 
+  * Platform support:
+- Supports LLVM 3.7 - 6.0.
+- Windows: Supports Visual Studio/C++ Build Tools 2015 and 2017.
+- Alpine linux/x64: built against Musl libc to support Docker 
+  images based on the Alpine distro, requires the llvm5-libs, 
+  musl-dev, and gcc packages to build and link D apps and the 
+  tzdata and libcurl packages for certain stdlib modules.
+  * Bug fixes:
+- extern(C++) on Posix: Pass non-PODs indirectly by value. 
+  (#2728)
+- extern(C++) on Windows/MSVC: Methods return all structs via 
+  hidden sret pointer. (#2720, #1935)
+- Make GC2Stack IR optimization pass work as intended. (#2750)
+- Work around inline assembly regression with LLVM 6 on Win32. 
+  The prebuilt Win32 package is now using LLVM 6.0.1 too. (#2629, #2770)
+- Fix overzealous check for multiple main() functions. (#2778) (new)
+- Fix corrupt prefix in integrated LLD's console output. (#2781) (new)
+- No context ptr for nested non-extern(D) functions. (#2808, #2809) (new)
+  * Known issues:
+- 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.
+- Update bootstrap version to 0.17.6:
+  * Added support for LLVM 6.0 and 7.0. (#2600, #2825)
+  * Backported AArch64 fixes from master; most tests passing on 
+Linux/glibc and Android
+  * Fix generation of debug info. (#2594)
+  * Added support for bootstrapping on DragonFly BSD
+  * Fixed missing definition in std.datetime on Solaris
+  * Fixed std.datetime unittest failure. (ldc-developers/phobos#59)
+  * Fixed tests for PowerPC. (#2634, #2635)
+  * Improvements for MIPS.
+  * Make core.stdc.stdarg.va_* functions nothrow to enable 
+compiling the 2.082 frontend. (#2821)
+  * CI updates.
+- Remove upstreamed patches:
+  * ldc-0.17.5-add_missing_include.patch
+  * ldc-0.17.5-add_support_to_LLVM6.patch
+  * ldc-0.17.5-backport_pr_2315.patch
+  * ldc-0.17.5-default-to-pic.patch
+- Enable aarch64 since it can be boostrapped with ldc 0.17.6
+- Fix x86_64 build by adding '-fPIC' to C_FLAGS of bootstrap
+
+---

Old:

  ldc-0.17.5-add_missing_include.patch
  ldc-0.17.5-add_support_to_LLVM6.patch
  ldc-0.17.5-backport_pr_2315.patch
  ldc-0.17.5-default-to-pic.patch
  ldc-0.17.5-src.tar.gz
  ldc-1.10.0-src.tar.gz

New:

  ldc-0.17.6-src.tar.gz
  ldc-1.11.0-src.tar.gz



Other differences:
--
++ ldc.spec ++
--- /var/tmp/diff_new_pack.ZjgAE1/_old  2018-08-27 13:00:21.148881856 +0200
+++ /var/tmp/diff_new_pack.ZjgAE1/_new  2018-08-27 13:00:21.152881861 +0200
@@ -16,18 +16,18 @@
 #
 
 
-%define so_ver80
+%define so_ver  

commit ldc for openSUSE:Factory

2018-07-31 Thread root
Hello community,

here is the log from the commit of package ldc for openSUSE:Factory checked in 
at 2018-07-31 16:02:45

Comparing /work/SRC/openSUSE:Factory/ldc (Old)
 and  /work/SRC/openSUSE:Factory/.ldc.new (New)


Package is "ldc"

Tue Jul 31 16:02:45 2018 rev:2 rq:626466 version:1.10.0

Changes:

--- /work/SRC/openSUSE:Factory/ldc/ldc.changes  2018-07-06 10:41:18.255304096 
+0200
+++ /work/SRC/openSUSE:Factory/.ldc.new/ldc.changes 2018-07-31 
16:02:48.255893605 +0200
@@ -1,0 +2,13 @@
+Mon Jul 30 09:55:27 UTC 2018 - matthias.elias...@gmail.com
+
+- Remove _sysconfdir from phobos-devel filelist and add etc since its a 
+  d package name. spec-cleaner was to eager to clean.
+
+---
+Sat Jul 28 14:03:46 UTC 2018 - matthias.elias...@gmail.com
+
+- Update so_ver to 80 for libdruntime-ldc and libphobos2-ldc to 
+  match version in 1.10.0 release of ldc.
+- Run spec-cleaner
+
+---



Other differences:
--
++ ldc.spec ++
--- /var/tmp/diff_new_pack.iMgJTL/_old  2018-07-31 16:02:48.971894824 +0200
+++ /var/tmp/diff_new_pack.iMgJTL/_new  2018-07-31 16:02:48.979894837 +0200
@@ -15,19 +15,35 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
+%define so_ver80
+%define lname_runtime libdruntime-%{name}
+%define lname_phobos  libphobos2-%{name}
 %bcond_without ldc_bootstrap
 %bcond_with ldc_tests
-
 Name:   ldc
 Version:1.10.0
 Release:0
 Summary:The LLVM D Compiler
 License:BSD-3-Clause AND Artistic-1.0
 Group:  Development/Languages/Other
-Url:https://wiki.dlang.org/LDC
+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
 Patch0: ldc-1.9.0-fix_arm_build.patch
+BuildRequires:  cmake
+BuildRequires:  help2man
+BuildRequires:  libconfig++-devel
+BuildRequires:  libcurl-devel
+BuildRequires:  libstdc++-devel
+BuildRequires:  llvm-clang
+BuildRequires:  llvm-devel >= 3.7
+BuildRequires:  ncurses-devel
+BuildRequires:  sqlite3-devel
+BuildRequires:  zlib-devel
+# Should be installed, at least runtime
+Recommends: ldc-phobos-devel = %{version}
+Recommends: ldc-runtime-devel = %{version}
 %if %{with ldc_bootstrap}
 # v0.17.5 is the last version buildable with a C++ compiler, so use it for 
bootstrapping
 Source10:
https://github.com/ldc-developers/ldc/releases/download/v0.17.5/ldc-0.17.5-src.tar.gz
@@ -36,39 +52,22 @@
 Patch12: ldc-0.17.5-add_missing_include.patch
 Patch13: ldc-0.17.5-default-to-pic.patch
 %endif
-BuildRequires:  cmake
 %if %{with ldc_tests}
 BuildRequires:  gcc-c++
 BuildRequires:  gdb
 %endif
-BuildRequires:  help2man
-BuildRequires:  libconfig++-devel
-BuildRequires:  libcurl-devel
-BuildRequires:  libstdc++-devel
 %if %{without ldc_bootstrap}
 BuildRequires:  ldc
 BuildRequires:  ldc-phobos-devel
 BuildRequires:  ldc-runtime-devel
 %endif
-BuildRequires:  llvm-clang
-BuildRequires:  llvm-devel >= 3.7
-BuildRequires:  ncurses-devel
 %if %{with ldc_tests}
 BuildRequires:  python
 %endif
-BuildRequires:  sqlite3-devel
 %if %{with ldc_tests}
 BuildRequires:  timezone
 BuildRequires:  unzip
 %endif
-BuildRequires:  zlib-devel
-# Should be installed, at least runtime
-Recommends: ldc-phobos-devel = %{version}
-Recommends: ldc-runtime-devel = %{version}
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-%define so_ver68
-%define lname_runtime libdruntime-%{name}
-%define lname_phobos  libphobos2-%{name}
 %if %{with ldc_bootstrap}
 # We cannot build v0.17.5 for aarch64 due to no aarch64 support in phobos, so 
bootstrap is impossible
 ExcludeArch: aarch64
@@ -133,6 +132,7 @@
 #Needs to be compiled with clang, but opensuse_rules.cmake forces gcc so 
disable rule
 touch ./no-suse-rules
 mkdir build && pushd build
+# FIXME: you should use %%cmake macros
 cmake \
 -DCMAKE_USER_MAKE_RULES_OVERRIDE=./no-suse-rules \
 -DCMAKE_C_COMPILER="%{_bindir}/clang" \
@@ -160,7 +160,7 @@
 %if %{with ldc_tests}
 %check
 pushd build/
-make test
+make %{?_smp_mflags} test
 popd
 %endif
 
@@ -171,32 +171,27 @@
 help2man %{buildroot}%{_bindir}/ldmd2 > ldmd2.1 && gzip ldmd2.1
 install -d %{buildroot}%{_mandir}/man1
 install -m 644 -t %{buildroot}%{_mandir}/man1/ ldmd2.1.gz ldc2.1.gz
-rm -rf %{buildroot}/usr/lib/debug
+rm -rf %{buildroot}%{_libexecdir}/debug
 
 %post -n %{lname_runtime}%{so_ver} -p /sbin/ldconfig
-
 %post -n %{lname_phobos}%{so_ver}  -p /sbin/ldconfig
-
 %postun -n %{lname_runtime}%{so_ver} -p /sbin/ldconfig
-
 %postun -n 

commit ldc for openSUSE:Factory

2017-07-17 Thread root
Hello community,

here is the log from the commit of package ldc for openSUSE:Factory checked in 
at 2017-07-17 09:09:22

Comparing /work/SRC/openSUSE:Factory/ldc (Old)
 and  /work/SRC/openSUSE:Factory/.ldc.new (New)


Package is "ldc"

Mon Jul 17 09:09:22 2017 rev:2 rq:509950 version:0.17.4

Changes:

--- /work/SRC/openSUSE:Factory/ldc/ldc.changes  2017-07-05 23:57:38.470970636 
+0200
+++ /work/SRC/openSUSE:Factory/.ldc.new/ldc.changes 2017-07-17 
09:09:24.994655525 +0200
@@ -1,0 +2,5 @@
+Fri Jun  9 08:54:07 UTC 2017 - jeng...@inai.de
+
+- Rectify RPM groups
+
+---



Other differences:
--
++ ldc.spec ++
--- /var/tmp/diff_new_pack.yqmeGu/_old  2017-07-17 09:09:25.946521460 +0200
+++ /var/tmp/diff_new_pack.yqmeGu/_new  2017-07-17 09:09:25.950520897 +0200
@@ -48,12 +48,14 @@
 
 %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}
 
@@ -63,12 +65,14 @@
 
 %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 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}
 




commit ldc for openSUSE:Factory

2017-07-05 Thread root
Hello community,

here is the log from the commit of package ldc for openSUSE:Factory checked in 
at 2017-07-05 23:57:34

Comparing /work/SRC/openSUSE:Factory/ldc (Old)
 and  /work/SRC/openSUSE:Factory/.ldc.new (New)


Package is "ldc"

Wed Jul  5 23:57:34 2017 rev:1 rq:499498 version:0.17.4

Changes:

New Changes file:

--- /dev/null   2017-06-30 09:57:03.955002226 +0200
+++ /work/SRC/openSUSE:Factory/.ldc.new/ldc.changes 2017-07-05 
23:57:38.470970636 +0200
@@ -0,0 +1,46 @@
+---
+Mon May 29 19:50:03 UTC 2017 - mailaen...@opensuse.org
+
+- update to version 0.17.4
+
+---
+Fri May 26 19:56:33 UTC 2017 - mailaen...@opensuse.org
+
+- update to version 0.17.3
+- https://en.opensuse.org/SourceUrls
+- drop workaround-buggy-llvm-config.patch
+
+---
+Mon Feb 15 15:47:39 UTC 2016 - schue...@gmx.net
+
+- update to 0.17.0
+- based on DMD 2.068.2
+- more information here:
+  https://github.com/ldc-developers/ldc/releases/tag/v0.17.0
+
+---
+Sun Dec  6 20:08:34 UTC 2015 - r...@fthiessen.de
+
+- Build runtime and phobos libraries as shared libraries, therefore
+  refactored spec file:
+ * Basic cleanup
+ * Split lib* packages, see openSUSE shared library policy
+ * Added ldc-rpmlintrc for false positiv.
+
+---
+Wed Oct 28 11:02:24 UTC 2015 - schue...@gmx.net
+
+- update to 0.16.1
+- this is a bugfix only release
+
+---
+Sat Oct 24 11:29:29 UTC 2015 - schue...@gmx.net
+
+- update 0.16.0
+- based on DMD 2.067.1
+
+---
+Sun Feb 22 16:15:02 UTC 2015 - schue...@gmx.net
+
+- initial submission based on Duncan Mac-Vicar's work
+

New:

  ldc-0.17.4-src.tar.gz
  ldc-rpmlintrc
  ldc.changes
  ldc.spec



Other differences:
--
++ ldc.spec ++
#
# spec file for package ldc
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

Name:   ldc
Version:0.17.4
Release:0
Summary:The LLVM D Compiler
License:BSD-3-Clause and Artistic-1.0
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
BuildRequires:  cmake
BuildRequires:  help2man
BuildRequires:  libconfig++-devel
BuildRequires:  libstdc++-devel
BuildRequires:  llvm-clang
BuildRequires:  llvm-devel >= 3.5
BuildRequires:  ncurses-devel
BuildRequires:  zlib-devel
# Should be installed, at least runtime
Recommends: ldc-phobos-devel = %{version}
Recommends: ldc-runtime-devel = %{version}
BuildRoot:  %{_tmppath}/%{name}-%{version}-build
%define so_ver68
%define lname_runtime libdruntime-%{name}
%define lname_phobos  libphobos2-%{name}

%description
LDC is an LLVM based compiler for the D programming language. It uses the
frontend of the reference compiler (DMD), thereby supporting the same language
features, but profits from LLVM's superior optimizing and code generation
capabilities.

%package -n %{lname_runtime}%{so_ver}
Summary:Minimal D runtime library

%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
Requires:   %{lname_runtime}%{so_ver} = %{version}
Recommends: ldc-phobos-devel  = %{version}

%description runtime-devel
This package contains the druntime development files necessary for developing
with LDC.

%package -n %{lname_phobos}%{so_ver}
Summary:The D standard library

%description -n %{lname_phobos}%{so_ver}
This package includes ldc's phobos library - The D standard library.

%package phobos-devel
Summary:Development files for the D