Compare commits

..

20 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
Fedora Release Engineering
8aea21b811 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-17 17:20:50 +00:00
Sandro
cf66a6f820
Provide Python meta data using macro
Allow packages depending on `arbor` to resolve their deps.
2024-07-15 13:09:03 +02:00
Python Maint
ba0e5e1b73 Rebuilt for Python 3.13 2024-06-09 02:10:06 +02:00
Sandro
6ebc987a02
Fix missing includes
[skip changelog]
2024-04-29 14:42:11 +02:00
Sandro
33098ec868
Stop running examples script
The script is no longer run upstream. Let's follow suit.

[skip changelog]
2024-04-28 23:14:39 +02:00
Sandro
24bcdc3f02
Fix rpmlint errors
Fixed:

* wrong-script-interpreter
* no-binary
* lto-no-text-in-archive

Pending:

* static-library-without-debuginfo

[skip changelog]
2024-04-28 23:14:19 +02:00
Sandro
962e7973c5
Disable Python unittest for MPI
- Use Python macros for configuring test environment
- Make `gtest_filter` modular
- Re-enable previously disabled tests (they now succeed)

[skip changelog]
2024-04-28 23:13:52 +02:00
Sandro
75ce46ad7f
Add Packit confg
[skip changelog]
2024-04-28 23:13:39 +02:00
Sandro
954f13bec7
Use user friendly notation of conditionals
[skip changelog]
2024-04-28 23:13:08 +02:00
Sandro
b9e93b2a06 Update to 0.9.0 (RHBZ#2145131)
- Drop obsolete patches
- Exclude segfaulting tests
2024-02-06 10:45:31 +00:00
Fedora Release Engineering
a4e8c1c574 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-22 23:22:37 +00:00
Fedora Release Engineering
3424986317 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-19 13:28:00 +00:00
3 changed files with 74 additions and 1 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
@ -65,7 +73,6 @@ BuildRequires: python3-setuptools
BuildRequires: Random123-devel
BuildRequires: tclap-devel
BuildRequires: pugixml-devel
Provides: python3-arbor = %{version}-%{release}
# For validation, but we don't have these BRs
# BuildRequires: julia julia-sundials julia-unitful julia-JSON
@ -79,6 +86,9 @@ BuildRequires: %{py3_dist seaborn}
# Required by arbor
Requires: %{py3_dist numpy}
# Provide Python meta data for packages requiring arbor
%py_provides python3-arbor
%description %{_description}
%package devel