Bugfix: Correctly parse the armnn_includes by separating with space
authorFrancis Murtagh <francis.murtagh@arm.com>
Mon, 12 Oct 2020 15:45:49 +0000 (16:45 +0100)
committerFrancis Murtagh <francis.murtagh@arm.com>
Mon, 12 Oct 2020 19:16:58 +0000 (19:16 +0000)
 * Stops generate_wrap reading as -I/usr/local/include-I/usr/include
 * Allows generation using system headers

Signed-off-by: Francis Murtagh <francis.murtagh@arm.com>
Change-Id: I501c473b0f624f80ebccfade7b009a74bdcb2d0c

python/pyarmnn/swig_generate.py

index d3488b7..7a59eda 100755 (executable)
@@ -113,4 +113,4 @@ if __name__ == "__main__":
         'armnn_tfliteparser']
 
     for n in wrap_names:
-        generate_wrap(n, f"-I{'-I'.join(armnn_includes)} ")
+        generate_wrap(n, f"-I{' -I'.join(armnn_includes)} ")