You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
valcmakeFlags=if (is_gpu) "-DLLAMA_CUDA=ON"else""//Addiitonal flags for llama.cpp
42
+
valcmakeFlags=if (is_gpu) "-DLLAMA_CUDA=ON"else""//Additional flags for llama.cpp
40
43
// Run the cmake commands
41
44
valcompileExitCode=
42
45
s"mvn compile"#&&"mkdir -p build"#&&s"cmake -B build $cmakeFlags"#&&"cmake --build build --config Release"// Adjust this to your specific CMake command
@@ -64,12 +67,14 @@ testLlamaCpp := {
64
67
(Test/ test) := testLlamaCpp.value
65
68
66
69
// Maven Clean
67
-
valmavenClean= taskKey[Unit]("Clean using maven")
70
+
valmavenClean= taskKey[Unit]("Clean maven and cmake")
68
71
mavenClean := {
69
72
vallog= streams.value.log
70
-
valcleanExitCode=s"mvn clean".!
71
-
if (cleanExitCode !=0) {
72
-
thrownewException(s"mvn clean: Maven clean failed with exit code $cleanExitCode")
0 commit comments