Use pkg-config to sort out dependencies
This commit is contained in:
parent
1a271465d6
commit
f2ce033d30
@ -1 +1 @@
|
||||
#include <onnxruntime_c_api.h>
|
||||
#include <onnxruntime/core/session/onnxruntime_c_api.h>
|
||||
|
@ -16,8 +16,7 @@ naersk.buildPackage {
|
||||
root = filterSource ./.;
|
||||
|
||||
LIBCLANG_PATH = "${llvmPackages.libclang}/lib";
|
||||
ONNXRUNTIME_LIB_DIR = "${onnxruntime}/lib";
|
||||
ONNXRUNTIME_INCLUDE_DIR = "${onnxruntime.dev}/include/onnxruntime/core/session:${musl.dev}/include";
|
||||
buildInputs = [ onnxruntime.dev pkg-config clang ];
|
||||
|
||||
doDoc = true;
|
||||
doCheck = true;
|
||||
|
Loading…
Reference in New Issue
Block a user