Compare commits

..

8 commits

Author SHA1 Message Date
Fedora Release Engineering
72e9933a9a Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild 2026-01-16 03:52:17 +00:00
Benjamin A. Beasley
6e948adaf6 Remove pybind11 version check so we can use pybind11 3.0 2025-11-03 08:33:44 +00:00
Python Maint
fb5798ff20 Rebuilt for Python 3.14.0rc3 bytecode 2025-09-19 12:07:31 +02:00
Python Maint
da8dc566a0 Rebuilt for Python 3.14.0rc2 bytecode 2025-08-15 12:38:25 +02:00
Fedora Release Engineering
f00866be76 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-23 17:11:20 +00:00
Python Maint
a8a86bb6e2 Rebuilt for Python 3.14 2025-06-03 22:57:55 +02:00
Benjamin A. Beasley
0fbdf5f6bf Fix a few typos that cause failure to compile with GCC 15 2025-01-16 10:01:11 -05:00
Fedora Release Engineering
e65a78b984 Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-16 11:26:54 +00:00
3 changed files with 71 additions and 0 deletions

View file

@ -0,0 +1,41 @@
From 8880ff435f69b515a57e60e8b7434dad9e47847e Mon Sep 17 00:00:00 2001
From: "Benjamin A. Beasley" <code@musicinmybrain.net>
Date: Thu, 16 Jan 2025 09:49:20 -0500
Subject: [PATCH] Fix a few typos that cause failure to compile with GCC 15
These were eventually included in
76120d16c00ae67128c3c69421ab712f985f3445, along with many other changes.
---
arbor/include/arbor/util/expected.hpp | 2 +-
python/strprintf.hpp | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arbor/include/arbor/util/expected.hpp b/arbor/include/arbor/util/expected.hpp
index 9d860f65..1af88eb4 100644
--- a/arbor/include/arbor/util/expected.hpp
+++ b/arbor/include/arbor/util/expected.hpp
@@ -486,7 +486,7 @@ struct expected<void, E> {
// Swap ops.
void swap(expected& other) {
- data_.swap(other.data);
+ data_.swap(other.data_);
}
// Accessors.
diff --git a/python/strprintf.hpp b/python/strprintf.hpp
index 63801677..2ccf12c1 100644
--- a/python/strprintf.hpp
+++ b/python/strprintf.hpp
@@ -168,7 +168,7 @@ namespace impl {
for (auto& x: s.seq_) {
if (!first) o << s.sep_;
first = false;
- o << s.f(x);
+ o << s.f_(x);
}
return o;
}
--
2.47.1

View file

@ -0,0 +1,22 @@
diff -Naur arbor-0.9.0-original/python/pyarb.hpp arbor-0.9.0/python/pyarb.hpp
--- arbor-0.9.0-original/python/pyarb.hpp 2023-08-10 10:47:38.000000000 +0100
+++ arbor-0.9.0/python/pyarb.hpp 2025-11-03 08:24:00.093256311 +0000
@@ -13,18 +13,6 @@
#include <pybind11/pybind11.h>
-// Version check
-#define mk_tok(x) #x
-#define mk_ver(M, m, p) mk_tok(M) "." mk_tok(m) "." mk_tok(p)
-#define PB11_ERR(M, m, p) "Required version of pybind11 is 2.8.1 <= version < 3.0.0 Found " mk_ver(M, m, p)
-static_assert((PYBIND11_VERSION_HEX >= 0x02080100)
- &&
- (PYBIND11_VERSION_HEX < 0x03000000),
- PB11_ERR(PYBIND11_VERSION_MAJOR, PYBIND11_VERSION_MINOR, PYBIND11_VERSION_PATCH));
-#undef PB11_ERR
-#undef mk_ver
-#undef mk_tok
-
namespace pyarb {
// Sample recorder object interface.

View file

@ -44,6 +44,14 @@ License: BSD-3-Clause
Patch: 0001-Quote-various-cmake-var-values.patch
# Tests are failing to compile due to some missing includes
Patch: fix-missing-includes.patch
# Fix a few typos that cause failure to compile with GCC 15
#
# These were eventually included in
# 76120d16c00ae67128c3c69421ab712f985f3445, along with many other changes.
Patch: 0001-Fix-a-few-typos-that-cause-failure-to-compile-with-G.patch
# Remove the hard-coded pybind11 version check so that we can build with
# pybind11 3.0; this is part of https://github.com/arbor-sim/arbor/pull/2481.
Patch: arbor-0.9.0-pybind11-3.0.patch
# Random123 does not support:
# mips64r2 mips32r2 s390