pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/math/py-numba



Module Name:    pkgsrc
Committed By:   joerg
Date:           Sun May 31 20:48:22 UTC 2020

Modified Files:
        pkgsrc/math/py-numba: distinfo
Added Files:
        pkgsrc/math/py-numba/patches: patch-numba_np_ufunc_workqueue.c

Log Message:
Don't use non-portable alloca.h


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 pkgsrc/math/py-numba/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/math/py-numba/patches/patch-numba_np_ufunc_workqueue.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/math/py-numba/distinfo
diff -u pkgsrc/math/py-numba/distinfo:1.15 pkgsrc/math/py-numba/distinfo:1.16
--- pkgsrc/math/py-numba/distinfo:1.15  Tue May 12 08:11:36 2020
+++ pkgsrc/math/py-numba/distinfo       Sun May 31 20:48:22 2020
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.15 2020/05/12 08:11:36 adam Exp $
+$NetBSD: distinfo,v 1.16 2020/05/31 20:48:22 joerg Exp $
 
 SHA1 (numba-0.49.1.tar.gz) = 7b527254b964da992fc7a2d3058cd4d020cc6e16
 RMD160 (numba-0.49.1.tar.gz) = 669e9283f77ae6a1065a285c0ea9c0adb8b2ceea
 SHA512 (numba-0.49.1.tar.gz) = f165f002d29fa42f602ed1370247e564f2c356a22adafdf8adab92653d89284cc9a6d1c44203311cfb66bd091e0e2efa3e4c527c4e4beb7a8a0021771d5f0a2b
 Size (numba-0.49.1.tar.gz) = 2011378 bytes
+SHA1 (patch-numba_np_ufunc_workqueue.c) = 35edad2c8eaf06197872bd04325524dd8de8f0e9

Added files:

Index: pkgsrc/math/py-numba/patches/patch-numba_np_ufunc_workqueue.c
diff -u /dev/null pkgsrc/math/py-numba/patches/patch-numba_np_ufunc_workqueue.c:1.1
--- /dev/null   Sun May 31 20:48:22 2020
+++ pkgsrc/math/py-numba/patches/patch-numba_np_ufunc_workqueue.c       Sun May 31 20:48:22 2020
@@ -0,0 +1,23 @@
+$NetBSD: patch-numba_np_ufunc_workqueue.c,v 1.1 2020/05/31 20:48:22 joerg Exp $
+
+There is no such portable thing as alloca.h.
+
+--- numba/np/ufunc/workqueue.c.orig    2020-05-31 18:11:59.445121410 +0000
++++ numba/np/ufunc/workqueue.c
+@@ -27,7 +27,6 @@ race conditions.
+ /* PThread */
+ #include <pthread.h>
+ #include <unistd.h>
+-#include <alloca.h>
+ #include <sys/types.h>
+ #include <unistd.h>
+ #include <signal.h>
+@@ -40,6 +39,8 @@ race conditions.
+ #include "workqueue.h"
+ #include "gufunc_scheduler.h"
+ 
++#define alloca(x) __builtin_alloca(x)
++
+ #define _DEBUG 0
+ 
+ /* workqueue is not threadsafe, so we use DSO globals to flag and update various



Home | Main Index | Thread Index | Old Index