Skip to content

Commit 193bf42

Browse files
committed
add platform notice
- only currently supports a windows build, future builds pending
1 parent a05c748 commit 193bf42

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Source/LlamaCore/LlamaCore.Build.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,8 @@ public LlamaCore(ReadOnlyTargetRules Target) : base(Target)
9494

9595
if (Target.Platform == UnrealTargetPlatform.Linux)
9696
{
97+
//NB: Currently not working for b4879
98+
9799
PublicAdditionalLibraries.Add(Path.Combine(LlamaCppLibPath, "Linux", "libllama.so"));
98100
}
99101
else if (Target.Platform == UnrealTargetPlatform.Win64)
@@ -186,6 +188,8 @@ public LlamaCore(ReadOnlyTargetRules Target) : base(Target)
186188
}
187189
else if (Target.Platform == UnrealTargetPlatform.Mac)
188190
{
191+
//NB: Currently not working for b4879
192+
189193
PublicAdditionalLibraries.Add(Path.Combine(PluginDirectory, "Libraries", "Mac", "libggml_static.a"));
190194

191195
//Dylibs act as both, so include them, add as lib and add as runtime dep
@@ -194,6 +198,8 @@ public LlamaCore(ReadOnlyTargetRules Target) : base(Target)
194198
}
195199
else if (Target.Platform == UnrealTargetPlatform.Android)
196200
{
201+
//NB: Currently not working for b4879
202+
197203
//Built against NDK 25.1.8937393, API 26
198204
PublicAdditionalLibraries.Add(Path.Combine(PluginDirectory, "Libraries", "Android", "libggml_static.a"));
199205
PublicAdditionalLibraries.Add(Path.Combine(PluginDirectory, "Libraries", "Android", "libllama.a"));

0 commit comments

Comments
 (0)