alrevuelta / cONNXr

Pure C ONNX runtime with zero dependancies for embedded devices
MIT License
192 stars 31 forks source link

Build as shared + Migrate testing to Python #73

Closed alrevuelta closed 3 years ago

alrevuelta commented 4 years ago

Fix #60

nopeslide commented 4 years ago

Nice start

static library

shouldn't this be dynamic/shared in the PR text?

alrevuelta commented 4 years ago

shouldn't this be dynamic/shared in the PR text?

You are absolutely right.

I'm gonna need a bit of help with the Makefile, might be doing really nasty stuff. Can you have a look? The main problem now is that we need to compile with the -fpic flag all the code, but we only want this for the shared library. Should be have a target like compile_shared or something like that?