aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorFrancis Murtagh <francis.murtagh@arm.com>2021-08-12 16:03:51 +0100
committerFrancis Murtagh <francis.murtagh@arm.com>2021-08-12 16:03:59 +0100
commit4e4d9707331e3ab82594fb6c81fe477c68d5f4d9 (patch)
tree69c0ab1164c95d0b8b4c7efadb5c84db7c750646 /python
parente9b123083bd101ad9c7dd22ba81f0a481e5cb414 (diff)
downloadarmnn-4e4d9707331e3ab82594fb6c81fe477c68d5f4d9.tar.gz
Github #562: Use standard linux multiple path delimiter for PyArmNN includes
* Update Readme Change-Id: Iaf9e50d7c13cfd3fa1fd75fc423265288c0c7f32 Signed-off-by: Francis Murtagh <francis.murtagh@arm.com>
Diffstat (limited to 'python')
-rw-r--r--python/pyarmnn/CMakeLists.txt2
-rw-r--r--python/pyarmnn/README.md2
-rwxr-xr-xpython/pyarmnn/setup.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/python/pyarmnn/CMakeLists.txt b/python/pyarmnn/CMakeLists.txt
index 4823c4db92..f82eac258c 100644
--- a/python/pyarmnn/CMakeLists.txt
+++ b/python/pyarmnn/CMakeLists.txt
@@ -13,7 +13,7 @@ configure_file(${SWIG_GENERATE_IN} ${SWIG_GENERATE} COPYONLY)
# local env variables passed down to the python scripts
# scripts can thus be used standalone
-set(ARMNN_ENV ARMNN_INCLUDE="${PROJECT_SOURCE_DIR}/include,${PROJECT_SOURCE_DIR}/profiling/common/include"
+set(ARMNN_ENV ARMNN_INCLUDE="${PROJECT_SOURCE_DIR}/include:${PROJECT_SOURCE_DIR}/profiling/common/include"
ARMNN_LIB=${PROJECT_BINARY_DIR}
SWIG_EXECUTABLE=${SWIG_EXECUTABLE})
diff --git a/python/pyarmnn/README.md b/python/pyarmnn/README.md
index ee5ddf08d7..a610624034 100644
--- a/python/pyarmnn/README.md
+++ b/python/pyarmnn/README.md
@@ -138,7 +138,7 @@ If you want to use system default locations, just set *ARMNN_INCLUDE* to point t
```bash
$ export ARMNN_LIB=/path/to/libs
-$ export ARMNN_INCLUDE=/path/to/headers
+$ export ARMNN_INCLUDE=/full/path/to/armnn/include:/full/path/to/armnn/profiling/common/include
```
Install PyArmNN as follows:
diff --git a/python/pyarmnn/setup.py b/python/pyarmnn/setup.py
index 7bc4a47619..44e810d422 100755
--- a/python/pyarmnn/setup.py
+++ b/python/pyarmnn/setup.py
@@ -129,7 +129,7 @@ def find_includes(armnn_include_env: str = INCLUDE_ENV_NAME):
global armnn_include_path
armnn_include_path_raw = os.getenv(armnn_include_env)
if not armnn_include_path_raw == None:
- armnn_include_path = armnn_include_path_raw.split(",")
+ armnn_include_path = armnn_include_path_raw.split(":")
# validate input paths
armnn_include_path_result = []