SHA256
1
0
forked from pool/ldc
Commit Graph

68 Commits

Author SHA256 Message Date
Ana Guerrero
cf1927cc61 Accepting request 1198971 from devel:languages:D
OBS-URL: https://build.opensuse.org/request/show/1198971
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ldc?expand=0&rev=24
2024-09-06 15:18:16 +00:00
08d5df33e9 - Update to 1.39.0:
- Drop upstream patch merge in 1.34.0:
  * riscv64-default-target.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:D/ldc?expand=0&rev=70
2024-09-05 11:36:05 +00:00
Ana Guerrero
a7df5d716a Accepting request 1131554 from devel:languages:D
OBS-URL: https://build.opensuse.org/request/show/1131554
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ldc?expand=0&rev=23
2023-12-07 18:11:08 +00:00
4359d95768 Accepting request 1131380 from home:Andreas_Schwab:riscv:ldc
- riscv64-default-target.patch: Default to rv64gc for hosted riscv64
  target
- Enable build on riscv64

OBS-URL: https://build.opensuse.org/request/show/1131380
OBS-URL: https://build.opensuse.org/package/show/devel:languages:D/ldc?expand=0&rev=68
2023-12-07 08:57:36 +00:00
Dominique Leuenberger
a21774c1de Accepting request 1097968 from devel:languages:D
- Update to 1.32.2:
  * Big news
    - New command-line option --fwarn-stack-size=<threshold> with
      LLVM 13+. (#4378)
    - New command-line option --fsplit-stack for incremental stack
      allocations, see https://llvm.org/docs/SegmentedStacks.html. (#4379)
      - New UDA ldc.attributes.noSplitStack disables it on a per-function
        basis. (#4382)
    - New command-line option --indent for the timetrace2txt tool.
      (#4391)
  * Bug fixes
    - Fix potentially huge compile slowdowns with -g and LLVM 15+.
      (#4354, #4393)
    - Treat all LLVM warnings as regular warnings (e.g., errors
      with -w). Requires LLVM 13+. (#4384)
- Skipped 1.32.1:
  * Big news
    - The prebuilt Linux packages are now generated on a Ubuntu 20.04
      box, so the min required glibc version has been raised from
      2.26 to 2.31. (#4367)
  * Bug fixes
    - Fix empty ldc.gccbuiltins_* modules with LLVM 15+.
      (#4347, #4350)
    - Fix v1.31 regression wrt. potentially wrong constant pointer
      offsets. (#4362, #4365)
    - Windows: Fix v1.32 regression wrt. leaking Throwable.info
      backtraces. (#4369)
    - Fix C assert calls for newlib targets. (#4351)
- Do not use %{_includedir}/d to be able to install/use multiple
  D compilers in parallel - boo#1212913

OBS-URL: https://build.opensuse.org/request/show/1097968
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ldc?expand=0&rev=22
2023-07-10 14:41:01 +00:00
a2abb9bd6e OBS-URL: https://build.opensuse.org/package/show/devel:languages:D/ldc?expand=0&rev=66 2023-07-10 13:25:22 +00:00
50746a0577 Accepting request 1097494 from home:Guillaume_G:branches:devel:languages:D
- Update to 1.32.2:
  * Big news
    - New command-line option --fwarn-stack-size=<threshold> with
      LLVM 13+. (#4378)
    - New command-line option --fsplit-stack for incremental stack
      allocations, see https://llvm.org/docs/SegmentedStacks.html. (#4379)
      - New UDA ldc.attributes.noSplitStack disables it on a per-function
        basis. (#4382)
    - New command-line option --indent for the timetrace2txt tool.
      (#4391)
  * Bug fixes
    - Fix potentially huge compile slowdowns with -g and LLVM 15+.
      (#4354, #4393)
    - Treat all LLVM warnings as regular warnings (e.g., errors
      with -w). Requires LLVM 13+. (#4384)
- Skipped 1.32.1:
  * Big news
    - The prebuilt Linux packages are now generated on a Ubuntu 20.04
      box, so the min required glibc version has been raised from
      2.26 to 2.31. (#4367)
  * Bug fixes
    - Fix empty ldc.gccbuiltins_* modules with LLVM 15+.
      (#4347, #4350)
    - Fix v1.31 regression wrt. potentially wrong constant pointer
      offsets. (#4362, #4365)
    - Windows: Fix v1.32 regression wrt. leaking Throwable.info
      backtraces. (#4369)
    - Fix C assert calls for newlib targets. (#4351)
- Do not use %{_includedir}/d to be able to install/use multiple
  D compilers in parallel - boo#1212913

OBS-URL: https://build.opensuse.org/request/show/1097494
OBS-URL: https://build.opensuse.org/package/show/devel:languages:D/ldc?expand=0&rev=65
2023-07-10 13:18:12 +00:00
Dominique Leuenberger
31ef629c2d Accepting request 1081279 from devel:languages:D
OBS-URL: https://build.opensuse.org/request/show/1081279
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ldc?expand=0&rev=21
2023-04-21 18:17:04 +00:00
6a1848cad0 Accepting request 1081278 from home:dimstar:Factory
- Add specific conflict from runtime-devel to the old/previous
  libdruntime-ldc99. which contained an unversioned file.

OBS-URL: https://build.opensuse.org/request/show/1081278
OBS-URL: https://build.opensuse.org/package/show/devel:languages:D/ldc?expand=0&rev=63
2023-04-21 12:55:07 +00:00
85f743ea6c Accepting request 1080796 from home:dimstar:Factory
- Only move bash-completion from /etc to /usr/share if this was not
  properly installed. There was an error that
  bash-completion-devel did not actually contain the .cmake file
  which in turn resulted in this package mis-installing despite the
  correct build deps.

OBS-URL: https://build.opensuse.org/request/show/1080796
OBS-URL: https://build.opensuse.org/package/show/devel:languages:D/ldc?expand=0&rev=62
2023-04-20 11:27:36 +00:00
057634e762 Accepting request 1078427 from home:Guillaume_G:branches:devel:languages:D
- Move %{_libdir}/ldc_rt.dso.o to runtime-devel package

OBS-URL: https://build.opensuse.org/request/show/1078427
OBS-URL: https://build.opensuse.org/package/show/devel:languages:D/ldc?expand=0&rev=61
2023-04-11 12:24:11 +00:00
8c5a30a142 Accepting request 1077843 from home:Guillaume_G:branches:devel:languages:D
- Use llvm15 when available (Tumbleweed + Leap 15.5)
- Update to 1.32.0

OBS-URL: https://build.opensuse.org/request/show/1077843
OBS-URL: https://build.opensuse.org/package/show/devel:languages:D/ldc?expand=0&rev=60
2023-04-07 09:02:29 +00:00
Dominique Leuenberger
d58adcf31f Accepting request 1038053 from devel:languages:D
OBS-URL: https://build.opensuse.org/request/show/1038053
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ldc?expand=0&rev=20
2022-11-25 12:13:14 +00:00
18d2233e80 Accepting request 1038049 from home:mlin7442:rebuild_fails_155
force to use llvm14 in Leap 15.5

OBS-URL: https://build.opensuse.org/request/show/1038049
OBS-URL: https://build.opensuse.org/package/show/devel:languages:D/ldc?expand=0&rev=58
2022-11-25 09:07:41 +00:00
Dominique Leuenberger
c6d7de5f0c Accepting request 1037136 from devel:languages:D
OBS-URL: https://build.opensuse.org/request/show/1037136
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ldc?expand=0&rev=19
2022-11-21 15:44:48 +00:00
f2c8651ef9 Accepting request 1037129 from home:dimstar:Factory
- Do not have the main package recommend the bash-completion
  sub-package, but rather have the subpackage supplement the
  combination of ldc and bash-completion.

OBS-URL: https://build.opensuse.org/request/show/1037129
OBS-URL: https://build.opensuse.org/package/show/devel:languages:D/ldc?expand=0&rev=56
2022-11-21 15:13:37 +00:00
Dominique Leuenberger
ed62bd9e7a Accepting request 1010627 from devel:languages:D
OBS-URL: https://build.opensuse.org/request/show/1010627
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ldc?expand=0&rev=18
2022-10-14 13:42:42 +00:00
d6f46203c2 Accepting request 1010626 from home:Guillaume_G:branches:openSUSE:Factory
- Build against llvm14 for Tumbleweed since llvm15 is not
  supported yet

OBS-URL: https://build.opensuse.org/request/show/1010626
OBS-URL: https://build.opensuse.org/package/show/devel:languages:D/ldc?expand=0&rev=54
2022-10-14 08:51:50 +00:00
Dominique Leuenberger
0012cdaa09 Accepting request 976651 from devel:languages:D
- Use gcc-d (gdc) for bootstrapping as recommended by upstream.
  Only gdc is needed for bootstrapping instead of various older ldc
  versions, which also allows to use newer versions of LLVM
  (boo#1199054). On top of that, this allows ldc to use the shared
  runtime built with itself.
- Drop use of binutils-gold, 1.29.0 does not use it by default anymore
- Mention %so_ver in %files

OBS-URL: https://build.opensuse.org/request/show/976651
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ldc?expand=0&rev=17
2022-05-16 16:07:44 +00:00
Dominique Leuenberger
21a06d27fa Switch ldc bootstrapping over to gdc through the gdmd wrapper, as recommended by upstream. Not only does that simplify the build by a lot, it also allows us to switch away from LLVM7! The test project built gtkd and tilix successfully.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:D/ldc?expand=0&rev=52
2022-05-12 13:57:58 +00:00
Dominique Leuenberger
a11138367f Accepting request 972624 from devel:languages:D
- Update to 1.29.0

OBS-URL: https://build.opensuse.org/request/show/972624
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ldc?expand=0&rev=16
2022-04-25 21:35:55 +00:00
a0d180efc4 OBS-URL: https://build.opensuse.org/package/show/devel:languages:D/ldc?expand=0&rev=50 2022-04-25 13:55:53 +00:00
c4d69fc237 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
2022-04-25 12:56:21 +00:00
Dominique Leuenberger
e61e5083b4 Accepting request 894236 from devel:languages:D
OBS-URL: https://build.opensuse.org/request/show/894236
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ldc?expand=0&rev=15
2021-05-19 15:49:27 +00:00
d97727b362 Accepting request 894138 from home:susnux:branches:devel:languages:D
- Update to 1.26.0:

OBS-URL: https://build.opensuse.org/request/show/894138
OBS-URL: https://build.opensuse.org/package/show/devel:languages:D/ldc?expand=0&rev=47
2021-05-19 07:56:26 +00:00
Dominique Leuenberger
fde3c66e68 Accepting request 860116 from devel:languages:D
OBS-URL: https://build.opensuse.org/request/show/860116
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ldc?expand=0&rev=14
2021-01-04 18:08:36 +00:00
d13feb7c10 Accepting request 859085 from home:elimat:branches:devel:languages:D
- Update to 1.24.0:
  Big news
  * Frontend, druntime and Phobos are at version 2.094.1+, incl. new command-line options -cov=ctfe, -vtemplates=list-instances and -HC=<silent|verbose> . (#3560, #3582, #3588, #3593)
  * Support for LLVM 11. The prebuilt packages use v11.0.0; x86 packages newly include the LLVM backend for AMD GPUs. (#3546, #3586)
  * Experimental support for macOS on 64-bit ARM, thanks Guillaume! All druntime/Phobos unit tests pass. The macOS package includes prebuilt druntime/Phobos; adapt the SDK path in etc/ldc2.conf and then use -mtriple=arm64-apple-macos to cross-compile. If you know how to work around the countless linker warnings, please let us know. (dlang/druntime#3226, #3583)
  Platform support
  * Supports LLVM 6.0 - 11.0.
  Bug fixes
  * Fix potentially wrong context pointers when calling delegate literals. (#3553, #3554)
  * Fix alignment issue when casting vector rvalue to static array. (c8889a9)
  * Make sure lambdas in pragma(inline, true) functions are emitted into each referencing compilation unit. (#3570)
  * Fix -Xcc=-Wl,... by dropping support for comma-separated list of cc options. (c61b135)
  * Fix ThreadSanitizer support by not detaching main thread upon program termination. (#3572)
  * Traverse full chain of nested aggregates when resolving a nested variable. (#3556, #3558)
  Internals
  * CI: Linux AArch64 is now also tested by a Travis job, because Shippable has sadly become unreliable. (#3469)
  * Building LDC with an LDC host compiler might be somewhat faster now (requires -DLDC_LINK_MANUALLY=OFF in the CMake command-line on non-Windows hosts). (#3575)
  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.

OBS-URL: https://build.opensuse.org/request/show/859085
OBS-URL: https://build.opensuse.org/package/show/devel:languages:D/ldc?expand=0&rev=45
2021-01-04 10:06:30 +00:00
Dominique Leuenberger
99953f731b Accepting request 850764 from devel:languages:D
OBS-URL: https://build.opensuse.org/request/show/850764
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ldc?expand=0&rev=13
2020-11-25 18:31:00 +00:00
11d13e679e Accepting request 850763 from home:Guillaume_G:branches:openSUSE:Factory:ARM
- Fix aarch64 build:  Drop '-mbranch-protection=standard' option
  as llvm7 does not support it

OBS-URL: https://build.opensuse.org/request/show/850763
OBS-URL: https://build.opensuse.org/package/show/devel:languages:D/ldc?expand=0&rev=43
2020-11-25 15:10:28 +00:00
Dominique Leuenberger
d7e27bfb88 Accepting request 839016 from devel:languages:D
- Update to 1.23.0

OBS-URL: https://build.opensuse.org/request/show/839016
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ldc?expand=0&rev=12
2020-10-02 15:39:13 +00:00
b14b3e09ae Accepting request 838943 from home:Guillaume_G:branches:openSUSE:Factory:ARM
- Update to 1.23.0

OBS-URL: https://build.opensuse.org/request/show/838943
OBS-URL: https://build.opensuse.org/package/show/devel:languages:D/ldc?expand=0&rev=41
2020-10-01 12:46:05 +00:00
Dominique Leuenberger
1025232aab Accepting request 827298 from devel:languages:D
OBS-URL: https://build.opensuse.org/request/show/827298
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ldc?expand=0&rev=11
2020-08-17 12:40:56 +00:00
51033a05c8 Accepting request 825204 from home:elimat:branches:devel:languages:D
- 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.

OBS-URL: https://build.opensuse.org/request/show/825204
OBS-URL: https://build.opensuse.org/package/show/devel:languages:D/ldc?expand=0&rev=39
2020-08-17 10:15:56 +00:00
Dominique Leuenberger
c56e3a8d49 Accepting request 810748 from devel:languages:D
OBS-URL: https://build.opensuse.org/request/show/810748
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ldc?expand=0&rev=10
2020-06-03 18:31:12 +00:00
73d9c4743e Accepting request 810584 from home:mlin7442:rebuild_152
Leap 15.2 the default llvm switched to llvm9, lets force compile with llvm7

OBS-URL: https://build.opensuse.org/request/show/810584
OBS-URL: https://build.opensuse.org/package/show/devel:languages:D/ldc?expand=0&rev=37
2020-06-02 08:32:26 +00:00
32bc98db45 Accepting request 808560 from home:elimat:branches:devel:languages:D
- 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. (#3333, #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.

OBS-URL: https://build.opensuse.org/request/show/808560
OBS-URL: https://build.opensuse.org/package/show/devel:languages:D/ldc?expand=0&rev=36
2020-05-26 11:37:19 +00:00
Dominique Leuenberger
2d71111c3d Accepting request 714369 from devel:languages:D
OBS-URL: https://build.opensuse.org/request/show/714369
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ldc?expand=0&rev=9
2019-07-11 11:17:54 +00:00
6d146f16ca 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
2019-07-10 06:23:46 +00:00
Yuchen Lin
f75ac869f5 Accepting request 696453 from devel:languages:D
OBS-URL: https://build.opensuse.org/request/show/696453
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ldc?expand=0&rev=8
2019-04-22 10:26:11 +00:00
Marc Schütz
52a74943cb Accepting request 696415 from home:elimat:branches:devel:languages:D
- 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

OBS-URL: https://build.opensuse.org/request/show/696415
OBS-URL: https://build.opensuse.org/package/show/devel:languages:D/ldc?expand=0&rev=32
2019-04-21 07:55:38 +00:00
Dominique Leuenberger
e1c851d495 Accepting request 668571 from devel:languages:D
OBS-URL: https://build.opensuse.org/request/show/668571
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ldc?expand=0&rev=7
2019-01-25 21:45:30 +00:00
6ab0f2bd9e Accepting request 668570 from home:Guillaume_G:branches:devel:languages:D
- Requires binutils.gold as ldc uses ld.gold by default since version 1.13.0

OBS-URL: https://build.opensuse.org/request/show/668570
OBS-URL: https://build.opensuse.org/package/show/devel:languages:D/ldc?expand=0&rev=30
2019-01-25 10:15:06 +00:00
Dominique Leuenberger
91cc635267 Accepting request 667604 from devel:languages:D
OBS-URL: https://build.opensuse.org/request/show/667604
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ldc?expand=0&rev=6
2019-01-24 13:12:22 +00:00
b75a14d054 Accepting request 667601 from home:Guillaume_G:branches:openSUSE:Factory:ARM
- 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

OBS-URL: https://build.opensuse.org/request/show/667601
OBS-URL: https://build.opensuse.org/package/show/devel:languages:D/ldc?expand=0&rev=28
2019-01-21 13:43:13 +00:00
Dominique Leuenberger
b1a6e26be8 Accepting request 664386 from devel:languages:D
- Remove wrong requires to 'ldc-utils' as there is no such package
- Disable bootstrap in Tumbleweed and Leap 15+ as it is bootstrapped already
  and to workaround https://github.com/ldc-developers/ldc/issues/2947
- Add bash-completion sub-package
- 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)

OBS-URL: https://build.opensuse.org/request/show/664386
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ldc?expand=0&rev=5
2019-01-15 08:16:01 +00:00
6974f8df1d Accepting request 664384 from home:Guillaume_G:branches:devel:languages:D
- Remove wrong requires to 'ldc-utils' as there is no such package

OBS-URL: https://build.opensuse.org/request/show/664384
OBS-URL: https://build.opensuse.org/package/show/devel:languages:D/ldc?expand=0&rev=26
2019-01-10 14:01:46 +00:00
3aedf42ae9 Accepting request 659324 from home:Guillaume_G:branches:devel:languages:D
- Disable bootstrap in Tumbleweed and Leap 15+ as it is bootstrapped already
  and to workaround https://github.com/ldc-developers/ldc/issues/2947
- Add bash-completion sub-package
- Update to 1.13.0
/bin/bash: :wq : commande introuvable
- Disable ppc64 builds (boo#1113531)

OBS-URL: https://build.opensuse.org/request/show/659324
OBS-URL: https://build.opensuse.org/package/show/devel:languages:D/ldc?expand=0&rev=25
2018-12-18 15:16:32 +00:00
Dominique Leuenberger
56f2a3dd09 Accepting request 644173 from devel:languages:D
OBS-URL: https://build.opensuse.org/request/show/644173
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ldc?expand=0&rev=4
2018-10-25 07:11:15 +00:00
a240f8e872 Accepting request 644172 from home:Guillaume_G:branches:devel:languages:D
- 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=<thin|full> 
      [-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

OBS-URL: https://build.opensuse.org/request/show/644172
OBS-URL: https://build.opensuse.org/package/show/devel:languages:D/ldc?expand=0&rev=23
2018-10-24 07:29:43 +00:00
Dominique Leuenberger
0b4bcde1c6 Accepting request 631699 from devel:languages:D
OBS-URL: https://build.opensuse.org/request/show/631699
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ldc?expand=0&rev=3
2018-08-27 11:00:18 +00:00