Skip to content

Commit 0400378

Browse files
committed
Explain usage of custom conan packages more explicitly
1 parent 9daf33f commit 0400378

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

HACKING.md

+2-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
# Hacking
22

3-
Here is some wisdom to help you build and test this project as a developer and
4-
potential contributor.
5-
6-
If you plan to contribute, please read the [CONTRIBUTING](CONTRIBUTING.md)
7-
guide.
3+
Here are some instructions to help you build and test this project as a
4+
developer and potential contributor.
85

96
## Developer mode
107

example/README.md

+7-3
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,10 @@ In the examples below, for GPU support add `-o gpu=True` to the `conan install`
4545
steps will not work currently. I have patched the recipe locally to enable GPU
4646
support and will make this available on Conan Center or another repository
4747
soon. In the mean time, my custom recipe can be be used as outlined
48-
[here](https://github.com/neuralize-ai/tensorflow-lite-conan).
48+
[here](https://github.com/neuralize-ai/tensorflow-lite-conan). If you have
49+
previously `conan install`ed, remove the existing TFLite package(s) using
50+
`conan remove "tensorflow-lite"`. Make sure to create the TFLite package
51+
version that is required in [conanfile](/conanfile.py).
4952

5053
## Unix
5154

@@ -70,7 +73,7 @@ cmake --build --preset=rel -t run-examples
7073
If an existing build exists, you may need to run:
7174

7275
```bash
73-
cmake --preset=rel -Dedgerunner_ENABLE_GPU=ON
76+
cmake --preset=rel -DBUILD_EXAMPLES=ON
7477
```
7578

7679
To run an individual example, execute:
@@ -118,4 +121,5 @@ upcoming). Since this involves using Qualcomm's pre-compiled shared libraries,
118121
I have created a Conan recipe that must be used
119122
[here](https://github.com/neuralize-ai/qnn-conan). Follow the instructions on
120123
that repository and the steps above with `-o with_npu=True` supplied to the
121-
`conan install` invocation.
124+
`conan install` invocation. Make sure to create the package version required
125+
in [conanfile](/conanfile.py).

0 commit comments

Comments
 (0)