diff --git a/ldc-1.32.0-src.tar.gz b/ldc-1.32.0-src.tar.gz deleted file mode 100644 index 3e599be..0000000 --- a/ldc-1.32.0-src.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c4ee0bf91b416dd5641353d9b267b6a48600c499c782beb112d2e460e329beac -size 8112549 diff --git a/ldc-1.32.2-src.tar.gz b/ldc-1.32.2-src.tar.gz new file mode 100644 index 0000000..f3b2f81 --- /dev/null +++ b/ldc-1.32.2-src.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bfa4aaee74320a1268843c88e229f339b2df0953a4bcb4fced52ebe0dda1cd95 +size 8116363 diff --git a/ldc.changes b/ldc.changes index eaeb5ef..d972c84 100644 --- a/ldc.changes +++ b/ldc.changes @@ -1,3 +1,41 @@ +------------------------------------------------------------------- +Fri Jul 7 08:32:51 UTC 2023 - Guillaume GARDET + +- Update to 1.32.2: + * Big news + - New command-line option --fwarn-stack-size= 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 + +- 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 diff --git a/ldc.spec b/ldc.spec index 847d548..0aa0c16 100644 --- a/ldc.spec +++ b/ldc.spec @@ -22,6 +22,23 @@ %define lname_phobos libphobos2-%{name} %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) # 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. @@ -50,7 +67,7 @@ %endif Name: ldc -Version: 1.32.0 +Version: 1.32.2 Release: 0 Summary: The LLVM D Compiler License: Artistic-1.0 AND BSD-3-Clause @@ -192,7 +209,7 @@ touch no-suse-rules -DCMAKE_C_COMPILER="%{_bindir}/clang" \ -DCMAKE_CXX_COMPILER="%{_bindir}/clang++" \ %endif - -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/d \ + -DINCLUDE_INSTALL_DIR:PATH=%{ldcincludedir} \ -DD_COMPILER:PATH=%{_bindir}/gdmd%{?gdc_suffix} \ -DCMAKE_CXX_FLAGS="-std=c++11" %make_build @@ -217,7 +234,7 @@ touch no-suse-rules -DCMAKE_C_COMPILER="%{_bindir}/clang" \ -DCMAKE_CXX_COMPILER="%{_bindir}/clang++" \ %endif - -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/d \ + -DINCLUDE_INSTALL_DIR:PATH=%{ldcincludedir} \ %if %{with ldc_bootstrap} -DD_COMPILER:PATH=$PWD/../build-bootstrap/bin/ldmd2 \ %endif @@ -276,12 +293,15 @@ rm -rf %{buildroot}%{_prefix}/lib/debug %{_libdir}/%{lname_runtime}-shared.so %{_libdir}/%{lname_runtime}-debug-shared.so %{_libdir}/ldc_rt.dso.o -%dir %{_includedir}/d -%{_includedir}/d/core -%{_includedir}/d/ldc -%{_includedir}/d/__builtins.di -%{_includedir}/d/importc.h -%{_includedir}/d/object.d +%dir %{_libdir}/ldc +%dir %{_libdir}/ldc/%{LDCDIST} +%dir %{_libdir}/ldc/%{LDCDIST}/include +%dir %{ldcincludedir} +%{ldcincludedir}/core +%{ldcincludedir}/ldc +%{ldcincludedir}/__builtins.di +%{ldcincludedir}/importc.h +%{ldcincludedir}/object.d %files -n %{lname_phobos}%{so_ver} %{_libdir}/%{lname_phobos}-shared.so.%{so_ver} @@ -302,8 +322,8 @@ rm -rf %{buildroot}%{_prefix}/lib/debug %files phobos-devel %{_libdir}/%{lname_phobos}-shared.so %{_libdir}/%{lname_phobos}-debug-shared.so -%{_includedir}/d%{_sysconfdir} -%{_includedir}/d/std +%{ldcincludedir}%{_sysconfdir} +%{ldcincludedir}/std %files bash-completion %dir %{_datadir}/bash-completion