wasi-nn: Simplify cmake and headers' location (#2308)

Major changes:
- Public headers inside `wasi-nn/include`
- Put cmake files in `cmake` folder
- Make linux iwasm link with `${WASI_NN_LIBS}` so iwasm can enable wasi-nn
This commit is contained in:
tonibofarull
2023-06-26 03:29:05 +02:00
committed by GitHub
parent f51d98f850
commit ac9e789951
10 changed files with 103 additions and 53 deletions

View File

@ -6,6 +6,10 @@ cd ${DEPS_ROOT}
echo "Downloading tensorflow in ${PWD}..."
git clone https://github.com/tensorflow/tensorflow.git tensorflow-src \
--branch v2.11.1
--branch v2.12.0
# NOTE: fixes this https://github.com/tensorflow/tensorflow/issues/59631
cd tensorflow-src
git cherry-pick 5115fa96d7c5b41451674892317be43e30b7c389
exit 0