Compare commits

..

No commits in common. "b165faa88d6c4581e3fb72a2c50440fadc6e9cea" and "424437c852519ae6926285ab7353db9498efff20" have entirely different histories.

2 changed files with 3 additions and 45 deletions

View File

@ -1,26 +0,0 @@
From 9d68f6afce39f03e5301383193ee6d46a1cad584 Mon Sep 17 00:00:00 2001
From: maqi <maqi@uniontech.com>
Date: Fri, 15 Nov 2024 16:35:15 +0800
Subject: [PATCH] add sw64 support
---
jemalloc/include/jemalloc/internal/quantum.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/jemalloc/include/jemalloc/internal/quantum.h b/jemalloc/include/jemalloc/internal/quantum.h
index c22d753..3fbef00 100644
--- a/jemalloc/include/jemalloc/internal/quantum.h
+++ b/jemalloc/include/jemalloc/internal/quantum.h
@@ -62,6 +62,9 @@
defined(__SH4_SINGLE_ONLY__))
# define LG_QUANTUM 4
# endif
+# ifdef __sw_64__
+# define LG_QUANTUM 4
+# endif
# ifdef __tile__
# define LG_QUANTUM 4
# endif
--
2.33.0

View File

@ -1,15 +1,14 @@
Name: memkind Name: memkind
Summary: Extensible Heap Manager for User Summary: Extensible Heap Manager for User
Version: 1.14.0 Version: 1.14.0
Release: 7 Release: 2
License: BSD License: BSD
URL: http://memkind.github.io/memkind URL: http://memkind.github.io/memkind
Source0: https://github.com/memkind/memkind/archive/v1.14.0/%{name}-%{version}.tar.gz Source0: https://github.com/memkind/memkind/archive/v1.14.0/%{name}-%{version}.tar.gz
Patch0001: 0001-support-multi-threading-build.patch Patch0001: 0001-support-multi-threading-build.patch
Patch0003: 0003-memkind-add-sw64-support.patch
BuildRequires: automake libtool numactl-devel systemd gcc gcc-c++ hwloc-devel BuildRequires: automake libtool numactl-devel systemd gcc gcc-c++
ExclusiveArch: x86_64 aarch64 riscv64 loongarch64 sw_64 ExclusiveArch: x86_64 aarch64 riscv64
%description %description
The kinds of memory are defined by operating system memory policies that have been applied The kinds of memory are defined by operating system memory policies that have been applied
@ -83,21 +82,6 @@ popd
%{_mandir}/man7/* %{_mandir}/man7/*
%changelog %changelog
* Thu Feb 20 2025 JiangShui Yang <yangjiangshui@h-partners.com> - 1.14.0-7
- Revert "Support initializing HBW nodes from memory_locality" patch
* Mon Feb 17 2025 maqi <maqi@uniontech.com> - 1.14.0-6
- add support sw_64
* Mon Jul 1 2024 Jie Liu <liujie375@h-partners.com> - 1.14.0-5
- Support initializing HBW nodes from HMAT with libaray hwloc-devel
* Wed Oct 18 2023 Yicong Yang <yangyicong@hisilicon.com> - 1.14.0-4
- Support initializing HBW nodes from memory_locality on openEuler
* Fri Aug 18 2023 haomimi <haomimi@uniontech.com> - 1.14.0-3
- enable loongarch64 architecture
* Fri Aug 04 2023 Jingwiw <wangjingwei@iscas.ac.cn> - 1.14.0-2 * Fri Aug 04 2023 Jingwiw <wangjingwei@iscas.ac.cn> - 1.14.0-2
- enable riscv64 architecture - enable riscv64 architecture