ALT Linux Bugzilla
– Attachment 8108 Details for
Bug 36661
Прошу обновить до версии 1.16.2
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
двухстрочный патч для поддержки e2k (сделан к 1.15.4)
0001-ENH-initial-e2k-arch-support.patch (text/plain), 1.56 KB, created by
Michael Shigorin
on 2019-04-21 22:36:41 MSK
(
hide
)
Description:
двухстрочный патч для поддержки e2k (сделан к 1.15.4)
Filename:
MIME Type:
Creator:
Michael Shigorin
Created:
2019-04-21 22:36:41 MSK
Size:
1.56 KB
patch
obsolete
>From 26af207055592213eaf62032ee33181cd3282af9 Mon Sep 17 00:00:00 2001 >From: Michael Shigorin <mike@altlinux.org> >Date: Sun, 21 Apr 2019 12:43:49 +0300 >Subject: [PATCH 1/2] ENH: initial e2k arch support > >This patch adds minimal support to build numpy >on Elbrus 2000, an original Russian architecture. >--- > numpy/core/include/numpy/npy_cpu.h | 2 ++ > numpy/core/include/numpy/npy_endian.h | 3 ++- > 2 files changed, 4 insertions(+), 1 deletion(-) > >diff --git a/numpy/core/include/numpy/npy_cpu.h b/numpy/core/include/numpy/npy_cpu.h >index 5edd8f4..698b83d 100644 >--- a/numpy/core/include/numpy/npy_cpu.h >+++ b/numpy/core/include/numpy/npy_cpu.h >@@ -102,6 +102,8 @@ > #define NPY_CPU_ARCEB > #elif defined(__riscv) && defined(__riscv_xlen) && __riscv_xlen == 64 > #define NPY_CPU_RISCV64 >+#elif defined(__e2k__) >+ #define NPY_CPU_E2K > #else > #error Unknown CPU, please report this to numpy maintainers with \ > information about your platform (OS, CPU and compiler) >diff --git a/numpy/core/include/numpy/npy_endian.h b/numpy/core/include/numpy/npy_endian.h >index 649bdb0..e01a763 100644 >--- a/numpy/core/include/numpy/npy_endian.h >+++ b/numpy/core/include/numpy/npy_endian.h >@@ -47,7 +47,8 @@ > || defined(NPY_CPU_MIPSEL) \ > || defined(NPY_CPU_PPC64LE) \ > || defined(NPY_CPU_ARCEL) \ >- || defined(NPY_CPU_RISCV64) >+ || defined(NPY_CPU_RISCV64) \ >+ || defined(NPY_CPU_E2K) > #define NPY_BYTE_ORDER NPY_LITTLE_ENDIAN > #elif defined(NPY_CPU_PPC) \ > || defined(NPY_CPU_SPARC) \ >-- >2.10.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 36661
:
8108