The external math library contains some dynamic link libraries of C language (.so files) and some C header files (.h files), I am tring to link my custom library to NumPy and replace the original bottom math library. I need to add several compile options to the C compiler (gcc etc.), but I have not found the corrosponding part of NumPy source code.
Merely modifying 'site.cfg' does not work at all, and then adding lib and include directory to '~/numpy/distutils/system_info.py' still does not work. When compiling NumPy source code, it gives a fatal error: myBLAS.h: No such file or directory.
My doubts: Which code file should I focus on? How to modify configurations and add compile options like '-I /path/to/includes -L /path/to/libs -lmyBLAS'?
Could you please give me a hint? Looking forward to your reply.