]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
Fix llama-android.cpp for error - "common/common.h not found" (#8145)
authorRaj Hammeer Singh Hada <redacted>
Thu, 27 Jun 2024 01:57:57 +0000 (07:27 +0530)
committerGitHub <redacted>
Thu, 27 Jun 2024 01:57:57 +0000 (03:57 +0200)
- Path seems to be wrong for the common.h header file in llama-android.cpp file. Fixing the path so the Android Build doesn't fail with the error "There is no file common/common.h"

examples/llama.android/llama/src/main/cpp/llama-android.cpp

index 874158ef0f98f5cd20a39d868fa1c867d605cff9..92a6b16b1a00cf293347d8fd5405644596e0cf0f 100644 (file)
@@ -5,7 +5,7 @@
 #include <string>
 #include <unistd.h>
 #include "llama.h"
-#include "common/common.h"
+#include "common.h"
 
 // Write C++ code here.
 //