@skrah
Here're the scripts to generate a .o file with basic ufuncs supported by numba:
https://gist.github.com/sklam/977dd295324db10868542567f526ecf6
Usage:
python ufunc_gen.py to create umath.o.
- run
cc -shared -o umath.so umath.o.
- test with
python check_ufunc_gen.py.
See top of file comments for details like ABI and symbol mangling.