We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
So after fixing the FreeBSD build in llvmlite, I get a somewhat weird message upon trying to install numba.
The compilation error is:
numba/np/ufunc/workqueue.c:30:10: fatal error: 'alloca.h' file not found
Upon searching for alloca.h, I found a similar file in /usr/local/include/glib-2.0/glib/galloca.h.
/usr/local/include/glib-2.0/glib/galloca.h
Any suggestions?
The text was updated successfully, but these errors were encountered:
Okay, so the FreeBSD ports (compiling numba from the source) includes a diff to workqueue.c:
workqueue.c
--- numba/npyufunc/workqueue.c.orig 2018-11-14 22:14:35 UTC +++ numba/npyufunc/workqueue.c @@ -19,7 +19,11 @@ race condition. /* PThread */ #include <pthread.h> #include <unistd.h> +#if defined(__FreeBSD__) +#include <stdlib.h> +#else #include <alloca.h> +#endif #define NUMBA_PTHREAD #endif
Please add this to workqueue.c so it can compile effortlessly on FreeBSD.
Sorry, something went wrong.
d6909e4
Merge pull request #6038 from karolyi/master
955a1f6
Closes #6037, fixing FreeBSD compilation
No branches or pull requests
So after fixing the FreeBSD build in llvmlite, I get a somewhat weird message upon trying to install numba.
The compilation error is:
Upon searching for alloca.h, I found a similar file in
/usr/local/include/glib-2.0/glib/galloca.h
.Any suggestions?
The text was updated successfully, but these errors were encountered: