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
This commit is contained in:
commit
a21774c1de
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:c4ee0bf91b416dd5641353d9b267b6a48600c499c782beb112d2e460e329beac
|
|
||||||
size 8112549
|
|
3
ldc-1.32.2-src.tar.gz
Normal file
3
ldc-1.32.2-src.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:bfa4aaee74320a1268843c88e229f339b2df0953a4bcb4fced52ebe0dda1cd95
|
||||||
|
size 8116363
|
38
ldc.changes
38
ldc.changes
@ -1,3 +1,41 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jul 7 08:32:51 UTC 2023 - Guillaume GARDET <guillaume.gardet@opensuse.org>
|
||||||
|
|
||||||
|
- 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)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jul 7 06:25:04 UTC 2023 - Guillaume GARDET <guillaume.gardet@opensuse.org>
|
||||||
|
|
||||||
|
- Do not use %{_includedir}/d to be able to install/use multiple
|
||||||
|
D compilers in parallel - boo#1212913
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Apr 21 12:52:58 UTC 2023 - Dominique Leuenberger <dimstar@opensuse.org>
|
Fri Apr 21 12:52:58 UTC 2023 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
42
ldc.spec
42
ldc.spec
@ -22,6 +22,23 @@
|
|||||||
%define lname_phobos libphobos2-%{name}
|
%define lname_phobos libphobos2-%{name}
|
||||||
%define _bashcompletionsdir %{_datadir}/bash-completion/completions
|
%define _bashcompletionsdir %{_datadir}/bash-completion/completions
|
||||||
|
|
||||||
|
%define HOST_ARCH %(echo %{_host_cpu} | sed -e "s/i.86/i586/;s/ppc/powerpc/;s/sparc64.*/sparc64/;s/sparcv.*/sparc/;")
|
||||||
|
%ifarch ppc
|
||||||
|
%define LDCDIST powerpc64-suse-linux
|
||||||
|
%else
|
||||||
|
%ifarch %sparc
|
||||||
|
%define LDCDIST sparc64-suse-linux
|
||||||
|
%else
|
||||||
|
%ifarch %arm
|
||||||
|
%define LDCDIST %{HOST_ARCH}-suse-linux-gnueabi
|
||||||
|
%else
|
||||||
|
%define LDCDIST %{HOST_ARCH}-suse-linux
|
||||||
|
%endif
|
||||||
|
%endif
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%define ldcincludedir %{_libdir}/ldc/%{LDCDIST}/include/d
|
||||||
|
|
||||||
# With bootstrap enabled (the default), gdc is used (through the gdmd wrapper)
|
# With bootstrap enabled (the default), gdc is used (through the gdmd wrapper)
|
||||||
# to build ldc (and shared runtime), then the built ldc is used to build ldc
|
# to build ldc (and shared runtime), then the built ldc is used to build ldc
|
||||||
# itself again. The final ldc with shared runtime is then installed.
|
# itself again. The final ldc with shared runtime is then installed.
|
||||||
@ -50,7 +67,7 @@
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
Name: ldc
|
Name: ldc
|
||||||
Version: 1.32.0
|
Version: 1.32.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: The LLVM D Compiler
|
Summary: The LLVM D Compiler
|
||||||
License: Artistic-1.0 AND BSD-3-Clause
|
License: Artistic-1.0 AND BSD-3-Clause
|
||||||
@ -192,7 +209,7 @@ touch no-suse-rules
|
|||||||
-DCMAKE_C_COMPILER="%{_bindir}/clang" \
|
-DCMAKE_C_COMPILER="%{_bindir}/clang" \
|
||||||
-DCMAKE_CXX_COMPILER="%{_bindir}/clang++" \
|
-DCMAKE_CXX_COMPILER="%{_bindir}/clang++" \
|
||||||
%endif
|
%endif
|
||||||
-DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/d \
|
-DINCLUDE_INSTALL_DIR:PATH=%{ldcincludedir} \
|
||||||
-DD_COMPILER:PATH=%{_bindir}/gdmd%{?gdc_suffix} \
|
-DD_COMPILER:PATH=%{_bindir}/gdmd%{?gdc_suffix} \
|
||||||
-DCMAKE_CXX_FLAGS="-std=c++11"
|
-DCMAKE_CXX_FLAGS="-std=c++11"
|
||||||
%make_build
|
%make_build
|
||||||
@ -217,7 +234,7 @@ touch no-suse-rules
|
|||||||
-DCMAKE_C_COMPILER="%{_bindir}/clang" \
|
-DCMAKE_C_COMPILER="%{_bindir}/clang" \
|
||||||
-DCMAKE_CXX_COMPILER="%{_bindir}/clang++" \
|
-DCMAKE_CXX_COMPILER="%{_bindir}/clang++" \
|
||||||
%endif
|
%endif
|
||||||
-DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/d \
|
-DINCLUDE_INSTALL_DIR:PATH=%{ldcincludedir} \
|
||||||
%if %{with ldc_bootstrap}
|
%if %{with ldc_bootstrap}
|
||||||
-DD_COMPILER:PATH=$PWD/../build-bootstrap/bin/ldmd2 \
|
-DD_COMPILER:PATH=$PWD/../build-bootstrap/bin/ldmd2 \
|
||||||
%endif
|
%endif
|
||||||
@ -276,12 +293,15 @@ rm -rf %{buildroot}%{_prefix}/lib/debug
|
|||||||
%{_libdir}/%{lname_runtime}-shared.so
|
%{_libdir}/%{lname_runtime}-shared.so
|
||||||
%{_libdir}/%{lname_runtime}-debug-shared.so
|
%{_libdir}/%{lname_runtime}-debug-shared.so
|
||||||
%{_libdir}/ldc_rt.dso.o
|
%{_libdir}/ldc_rt.dso.o
|
||||||
%dir %{_includedir}/d
|
%dir %{_libdir}/ldc
|
||||||
%{_includedir}/d/core
|
%dir %{_libdir}/ldc/%{LDCDIST}
|
||||||
%{_includedir}/d/ldc
|
%dir %{_libdir}/ldc/%{LDCDIST}/include
|
||||||
%{_includedir}/d/__builtins.di
|
%dir %{ldcincludedir}
|
||||||
%{_includedir}/d/importc.h
|
%{ldcincludedir}/core
|
||||||
%{_includedir}/d/object.d
|
%{ldcincludedir}/ldc
|
||||||
|
%{ldcincludedir}/__builtins.di
|
||||||
|
%{ldcincludedir}/importc.h
|
||||||
|
%{ldcincludedir}/object.d
|
||||||
|
|
||||||
%files -n %{lname_phobos}%{so_ver}
|
%files -n %{lname_phobos}%{so_ver}
|
||||||
%{_libdir}/%{lname_phobos}-shared.so.%{so_ver}
|
%{_libdir}/%{lname_phobos}-shared.so.%{so_ver}
|
||||||
@ -302,8 +322,8 @@ rm -rf %{buildroot}%{_prefix}/lib/debug
|
|||||||
%files phobos-devel
|
%files phobos-devel
|
||||||
%{_libdir}/%{lname_phobos}-shared.so
|
%{_libdir}/%{lname_phobos}-shared.so
|
||||||
%{_libdir}/%{lname_phobos}-debug-shared.so
|
%{_libdir}/%{lname_phobos}-debug-shared.so
|
||||||
%{_includedir}/d%{_sysconfdir}
|
%{ldcincludedir}%{_sysconfdir}
|
||||||
%{_includedir}/d/std
|
%{ldcincludedir}/std
|
||||||
|
|
||||||
%files bash-completion
|
%files bash-completion
|
||||||
%dir %{_datadir}/bash-completion
|
%dir %{_datadir}/bash-completion
|
||||||
|
Loading…
Reference in New Issue
Block a user