ldc 1.36.0-0.beta1.1 (aarch64;znver1;x86_64) 2024-17640
9999

Status published
Submitter mandian [@T] tutanota.com
Platform rolling
Repository main
URL https://abf.openmandriva.org/build_lists/391250
Packages
ldc-1.36.0-0.beta1.1.aarch64.binary
ldc-1.36.0-0.beta1.1.aarch64.source
ldc-debuginfo-1.36.0-0.beta1.1.aarch64.debuginfo
ldc-debugsource-1.36.0-0.beta1.1.aarch64.binary
lib64druntime-ldc-debug-shared-1.36.0-0.beta1.1.aarch64.binary
lib64druntime-ldc-debug-shared-debuginfo-1.36.0-0.beta1.1.aarch64.debuginfo
lib64druntime-ldc-shared-1.36.0-0.beta1.1.aarch64.binary
lib64druntime-ldc-shared-debuginfo-1.36.0-0.beta1.1.aarch64.debuginfo
lib64phobos2-ldc-debug-shared-1.36.0-0.beta1.1.aarch64.binary
lib64phobos2-ldc-debug-shared-debuginfo-1.36.0-0.beta1.1.aarch64.debuginfo
lib64phobos2-ldc-shared-1.36.0-0.beta1.1.aarch64.binary
lib64phobos2-ldc-shared-debuginfo-1.36.0-0.beta1.1.aarch64.debuginfo
ldc-1.36.0-0.beta1.1.znver1.source
ldc-1.36.0-0.beta1.1.znver1.binary
ldc-debuginfo-1.36.0-0.beta1.1.znver1.debuginfo
ldc-debugsource-1.36.0-0.beta1.1.znver1.binary
lib64druntime-ldc-debug-shared-1.36.0-0.beta1.1.znver1.binary
lib64druntime-ldc-debug-shared-debuginfo-1.36.0-0.beta1.1.znver1.debuginfo
lib64druntime-ldc-shared-1.36.0-0.beta1.1.znver1.binary
lib64druntime-ldc-shared-debuginfo-1.36.0-0.beta1.1.znver1.debuginfo
lib64phobos2-ldc-debug-shared-1.36.0-0.beta1.1.znver1.binary
lib64phobos2-ldc-debug-shared-debuginfo-1.36.0-0.beta1.1.znver1.debuginfo
lib64phobos2-ldc-shared-1.36.0-0.beta1.1.znver1.binary
lib64phobos2-ldc-shared-debuginfo-1.36.0-0.beta1.1.znver1.debuginfo
ldc-1.36.0-0.beta1.1.x86_64.binary
ldc-1.36.0-0.beta1.1.x86_64.source
ldc-debuginfo-1.36.0-0.beta1.1.x86_64.debuginfo
ldc-debugsource-1.36.0-0.beta1.1.x86_64.binary
lib64druntime-ldc-debug-shared-1.36.0-0.beta1.1.x86_64.binary
lib64druntime-ldc-debug-shared-debuginfo-1.36.0-0.beta1.1.x86_64.debuginfo
lib64druntime-ldc-shared-1.36.0-0.beta1.1.x86_64.binary
lib64druntime-ldc-shared-debuginfo-1.36.0-0.beta1.1.x86_64.debuginfo
lib64phobos2-ldc-debug-shared-1.36.0-0.beta1.1.x86_64.binary
lib64phobos2-ldc-debug-shared-debuginfo-1.36.0-0.beta1.1.x86_64.debuginfo
lib64phobos2-ldc-shared-1.36.0-0.beta1.1.x86_64.binary
lib64phobos2-ldc-shared-debuginfo-1.36.0-0.beta1.1.x86_64.debuginfo
Build Date 2024-01-04 22:48:12 +0000 UTC
Last Updated 2024-01-11 16:22:44.533297793 +0000 UTC
$ git show --format=fuller --patch-with-stat --summary 923e47f7278fbf99c23b78be3ecedfcc345991a5

commit 923e47f7278fbf99c23b78be3ecedfcc345991a5
Author:     mandian <mandian@users.noreply.github.com>
AuthorDate: Mon Jan 1 22:42:38 2024 +0000
Commit:     mandian <mandian@users.noreply.github.com>
CommitDate: Mon Jan 1 22:42:38 2024 +0000

    1.36.0-beta1
---
 .abf.yml |  6 ++---
 ldc.spec | 78 +++++++++++++++++++++++++++++++++++++++-------------------------
 2 files changed, 51 insertions(+), 33 deletions(-)

diff --git a/.abf.yml b/.abf.yml
index 5b00ded..da5e7bd 100644
--- a/.abf.yml
+++ b/.abf.yml
@@ -1,4 +1,4 @@
 sources:
-  ldc-1.35.0-src.tar.gz: b65cd012c58908cf0ada4b16b189adf9658fb549
-  ldc2-1.35.0-linux-aarch64.tar.xz: 2f13a52befaf966d5301162e943f20768c1ee27f
-  ldc2-1.35.0-linux-x86_64.tar.xz: 2a32c531f62ab9760fb7e290218eb5aff54f0b45
+  ldc-1.36.0-beta1-src.tar.gz: d508847fc9e10c317529d9b8d5cf235eae3411c1
+  ldc2-1.36.0-beta1-linux-aarch64.tar.xz: 994cb59d27f21723d57f1ea6d07b8b81afcc504e
+  ldc2-1.36.0-beta1-linux-x86_64.tar.xz: 81de0c6dbd652bd629b0da3bad3df822e28ca309
diff --git a/ldc.spec b/ldc.spec
index 7140a35..b34203a 100644
--- a/ldc.spec
+++ b/ldc.spec
@@ -3,14 +3,20 @@
 # LLVM 16 bitcode files.
 # We can enable LTO once we switch to an LLVM 16
 # enabled bootstrap compiler.
-%define _disable_lto 1
+#define _disable_lto 1
 
-#define beta beta2
+%bcond_without	bootstrap
+
+%define beta beta1
+%define snapshot 20231204
+%define commit f4b15f2550fff7a252fab239f0fca03fd49ac582
 
 Name: ldc
-Version: 1.35.0
+Version: 1.36.0
 Release: %{?beta:0.%{beta}.}1
 Source0: https://github.com/ldc-developers/ldc/releases/download/v%{version}%{?beta:-%{beta}}/ldc-%{version}%{?beta:-%{beta}}-src.tar.gz
+#Source0: https://github.com/ldc-developers/ldc/archive/%{?snapshot:master}%{!?snapshot:v%{version}}/%{name}-%{?snapshot:master}%{!?snapshot:%{version}}-src.tar.gz
+#Source0: https://github.com/JohanEngelen/ldc/archive/%{?snapshot:%{commit}}%{!?snapshot:v%{version}}/%{name}-%{?snapshot:%{commit}}%{!?snapshot:%{version}}-src.tar.gz
 # Unfortunately all D compilers currently in existence require a
 # D compiler to build -- so we have to start with downloading a
 # prebuilt binary.
@@ -19,9 +25,9 @@ Source2: https://github.com/ldc-developers/ldc/releases/download/v%{version}%{?b
 # LLVM 16 support
 #Patch0: https://github.com/ldc-developers/ldc/pull/4411.patch
 # LLVM 17 support
-Patch0:	ldc-1.35.0-port_to_llvm17.patch
+#Patch0:	ldc-1.35.0-port_to_llvm17.patch
 # Link -lzstd, needed implicitly by LLVM libs
-Patch1: ldc-1.33-linkage.patch
+#Patch1: ldc-1.33-linkage.patch
 Summary: LDC - the LLVM based D Compiler
 URL: https://github.com/ldc/ldc
 License: BSD-3-clause and GPL and LLVM and Boost
@@ -36,21 +42,45 @@ Requires: %{mklibname druntime-ldc-shared} = %{EVRD}
 Requires: %{mklibname phobos2-ldc-debug-shared} = %{EVRD}
 Requires: %{mklibname phobos2-ldc-shared} = %{EVRD}
 
-%libpackage druntime-ldc-debug-shared 103
-%libpackage druntime-ldc-shared 103
-%libpackage phobos2-ldc-debug-shared 103
-%libpackage phobos2-ldc-shared 103
+%libpackage druntime-ldc-debug-shared 106
+%libpackage druntime-ldc-shared 106
+%libpackage phobos2-ldc-debug-shared 106
+%libpackage phobos2-ldc-shared 106
 
 %description
-An LLVM based compiler for the D programming language
+An LLVM based compiler for the D programming language.
+
+%files
+%{_sysconfdir}/ldc2.conf
+%{_bindir}/ldc-build-plugin
+%{_bindir}/ldc-build-runtime
+%{_bindir}/ldc-profdata
+%{_bindir}/ldc-profgen
+%{_bindir}/ldc-prune-cache
+%{_bindir}/ldc2
+%{_bindir}/ldmd2
+%{_bindir}/timetrace2txt
+%{_includedir}/d
+%{_libdir}/ldc_rt.dso.o
+%{_libdir}/libdruntime-ldc-debug-shared.so
+%{_libdir}/libdruntime-ldc-shared.so
+%{_libdir}/libphobos2-ldc-debug-shared.so
+%{_libdir}/libphobos2-ldc-shared.so
+%{_datadir}/bash-completion/completions/ldc2
+
+#---------------------------------------------------------------------------
 
 %prep
 %autosetup -p1 -n %{name}-%{version}%{?beta:-%{beta}}-src
+#autosetup -p1 -n %{name}-%{?snapshot:%{commit}}%{!?snapshot:%{version}}
+
 
+%build
 # Unpack and initialize the bootstrap compiler -- we don't
 # use ifarch and friends here so we can crosscompile (the
 # interesting machine for selecting the bootstrap compiler
 # is the build machine -- not necessarily the target)
+%if %{with bootstrap}
 case $(uname -m) in
 x86_64)
 	tar xf %{S:1}
@@ -71,31 +101,19 @@ aarch64)
 	fi
 	;;
 esac
+%endif
 
-
-%cmake \
+%cmake -Wno-dev \
+	-DBUILD_LTO_LIBS:BOOL=OFF \
+	-DLLVM_CONFIG:PATH=llvm-config \
+%if %{with bootstrap}
 	-DD_COMPILER=${BOOTSTRAP_LDC}/bin/ldmd2 \
-	-DBUILD_LTO_LIBS:BOOL=ON \
+%endif
 	-G Ninja
 
-%build
-%ninja_build -C build
+#ninja_build -j1
+ninja -j1
 
 %install
 %ninja_install -C build
 
-%files
-%{_sysconfdir}/ldc2.conf
-%{_bindir}/ldc-build-runtime
-%{_bindir}/ldc-profdata
-%{_bindir}/ldc-prune-cache
-%{_bindir}/ldc2
-%{_bindir}/ldmd2
-%{_bindir}/timetrace2txt
-%{_includedir}/d
-%{_libdir}/ldc_rt.dso.o
-%{_libdir}/libdruntime-ldc-debug-shared.so
-%{_libdir}/libdruntime-ldc-shared.so
-%{_libdir}/libphobos2-ldc-debug-shared.so
-%{_libdir}/libphobos2-ldc-shared.so
-%{_datadir}/bash-completion/completions/ldc2
Not Available

369start [@T] proton.meNo Comment.322d 15hrs
369start [@T] proton.meNo Comment.315d 23hrs
369start [@T] proton.meNo Comment.315d 23hrs