public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/julia] epel10: Fix build failure
@ 2026-12-01 21:39 Milan Bouchet-Valat
  0 siblings, 0 replies; only message in thread
From: Milan Bouchet-Valat @ 2026-12-01 21:39 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/julia
Branch : epel10
Commit : c34e3aa7017446f00fbb7c1547c9af7282915f9c
Author : Milan Bouchet-Valat <nalimilan@club.fr>
Date   : 2021-01-04T22:03:56+01:00
Stats  : +50/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/julia/c/c34e3aa7017446f00fbb7c1547c9af7282915f9c?branch=epel10

Log:
Fix build failure

---
diff --git a/julia-llvm-limits.patch b/julia-llvm-limits.patch
new file mode 100644
index 0000000..3837be4
--- /dev/null
+++ b/julia-llvm-limits.patch
@@ -0,0 +1,44 @@
+From 8b257519284e9a3adcaeb3079ef545c651cfc520 Mon Sep 17 00:00:00 2001
+From: Milan Bouchet-Valat <nalimilan@club.fr>
+Date: Mon, 4 Jan 2021 19:33:06 +0100
+Subject: [PATCH] Fix compilation error
+
+---
+ deps/llvm.mk                   |  1 +
+ deps/patches/llvm-limits.patch | 12 ++++++++++++
+ 2 files changed, 13 insertions(+)
+ create mode 100644 deps/patches/llvm-limits.patch
+
+diff --git a/deps/llvm.mk b/deps/llvm.mk
+index 18dc41e40f..1d73e55865 100644
+--- a/deps/llvm.mk
++++ b/deps/llvm.mk
+@@ -411,6 +411,7 @@ $(eval $(call LLVM_PATCH,llvm-9.0-D65174-limit-merge-stores)) # remove for 10.0
+ $(eval $(call LLVM_PATCH,llvm9-D71443-PPC-MC-redef-symbol)) # remove for 10.0
+ $(eval $(call LLVM_PATCH,llvm-9.0-D78196)) # remove for 11.0
+ $(eval $(call LLVM_PATCH,llvm-9.0-D85499))
++$(eval $(call LLVM_PATCH,llvm-limits))
+ endif # LLVM_VER 9.0
+ 
+ ifeq ($(LLVM_VER_SHORT),10.0)
+diff --git a/deps/patches/llvm-limits.patch b/deps/patches/llvm-limits.patch
+new file mode 100644
+index 0000000000..965c269414
+--- /dev/null
++++ b/deps/patches/llvm-limits.patch
+@@ -0,0 +1,12 @@
++diff --git a/utils/benchmark/src/benchmark_register.h b/utils/benchmark/src/benchmark_register.h
++index 0705e21..6001fb8 100644
++--- a/utils/benchmark/src/benchmark_register.h
+++++ b/utils/benchmark/src/benchmark_register.h
++@@ -2,6 +2,7 @@
++ #define BENCHMARK_REGISTER_H
++ 
++ #include <vector>
+++#include <limits>
++ 
++ #include "check.h"
++ 
+-- 
+2.26.2
+

diff --git a/julia.spec b/julia.spec
index 69ad5a5..4ea8f05 100644
--- a/julia.spec
+++ b/julia.spec
@@ -19,7 +19,7 @@
 
 Name:           julia
 Version:        1.5.3
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        High-level, high-performance dynamic language for technical computing
 # Julia itself is MIT, with a few LGPLv2+ and GPLv2+ files
 # libuv is MIT
@@ -37,6 +37,7 @@ Patch0:         julia_unwind_version.patch
 Patch1:         llvm-julia-installdirs-64.patch
 # Avoid errors due to disabled networking
 Patch2:         julia-socket-tests.patch
+Patch3:         julia-llvm-limits.patch
 Provides:       bundled(libuv) = %{uvversion}
 Provides:       bundled(llvm) = %{llvmversion}
 BuildRequires:  desktop-file-utils
@@ -124,6 +125,7 @@ Julia into external programs or debugging Julia itself.
 
 %patch0 -p1
 %patch2 -p1
+%patch3 -p1
 
 %if 0%{?__isa_bits} == 64
     patch -p1 < %PATCH1
@@ -352,6 +354,9 @@ desktop-file-validate %{buildroot}%{_datarootdir}/applications/%{name}.desktop
 exit 0
 
 %changelog
+* Mon Jan 4 2020 Milan Bouchet-Valat <nalimilan@club.fr> - 1.5.3-3
+- Fix build failure.
+
 * Mon Dec 28 19:00:15 CET 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 1.5.3-2
 - Rebuild for libgit2 1.1.x
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-12-01 21:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-12-01 21:39 [rpms/julia] epel10: Fix build failure Milan Bouchet-Valat

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox