mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-15 03:48:09 -07:00
New revision as this pretty much only worked by chance before and could affect the installed files as a result. Closes: https://bugs.gentoo.org/893962 Signed-off-by: Sam James <sam@gentoo.org>
26 lines
993 B
Diff
26 lines
993 B
Diff
https://bugs.gentoo.org/893962
|
|
https://github.com/numpy/numpy/issues/23122
|
|
https://github.com/numpy/numpy/pull/23601
|
|
|
|
From 0a0240bcdad5daa0b84781719b3f8a002ef0f82b Mon Sep 17 00:00:00 2001
|
|
From: Ralf Gommers <ralf.gommers@gmail.com>
|
|
Date: Sun, 16 Apr 2023 22:23:38 +0100
|
|
Subject: [PATCH] BLD: use the C++ linker to link `_multiarray_umath.so`
|
|
|
|
This gets rid of undefined symbol issues for `assert`.
|
|
|
|
Closes gh-23122
|
|
Closes gh-23595
|
|
--- a/numpy/core/setup.py
|
|
+++ b/numpy/core/setup.py
|
|
@@ -1010,9 +1010,6 @@ def generate_umath_doc_header(ext, build_dir):
|
|
svml_objs.sort()
|
|
|
|
config.add_extension('_multiarray_umath',
|
|
- # Forcing C language even though we have C++ sources.
|
|
- # It forces the C linker and don't link C++ runtime.
|
|
- language = 'c',
|
|
sources=multiarray_src + umath_src +
|
|
common_src +
|
|
[generate_config_h,
|