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>
diff --git a/python/pyarmnn/CMakeLists.txt b/python/pyarmnn/CMakeLists.txt
index 4823c4d..f82eac2 100644
--- a/python/pyarmnn/CMakeLists.txt
+++ b/python/pyarmnn/CMakeLists.txt
@@ -13,7 +13,7 @@
# 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 ee5ddf0..a610624 100644
--- a/python/pyarmnn/README.md
+++ b/python/pyarmnn/README.md
@@ -138,7 +138,7 @@
```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 7bc4a47..44e810d 100755
--- a/python/pyarmnn/setup.py
+++ b/python/pyarmnn/setup.py
@@ -129,7 +129,7 @@
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 = []