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
I'm having some trouble building Vulkan on llamacpp on meson. I have embedded LlamaCpp as a subproject in my meson project, but it seems that compiling Vulkan components causes the configuration passed by meson to be malformed. Curiously, it seems to build the wrong target. I'm not sure if this is a bug in meson or llamacpp's cmake (or a bug at all!)
[workstation@workstation build]$ ninja
[1/347] Generating subprojects/llama.cpp/custom_tgt_12 with a custom command
FAILED: [code=1] subprojects/llama.cpp/vulkan-shaders-gen-build
/usr/bin/meson --internal cmake_run_ctgt -o subprojects/llama.cpp/vulkan-shaders-gen-build -O /home/workstation/exAIgesis/build/subprojects/llama.cpp/__CMake_build/ggml/src/ggml-vulkan/vulkan-shaders-gen-prefix/src/vulkan-shaders-gen-stamp/vulkan-shaders-gen-build -d /home/workstation/exAIgesis/build/subprojects/llama.cpp/__CMake_build/ggml/src/ggml-vulkan/vulkan-shaders-gen-prefix/src/vulkan-shaders-gen-build /usr/bin/cmake --build . --config ';;;'
CMake Error: Invalid value used with --config
Usage: cmake --build <dir> [options] [-- [native-options]]
cmake --build --preset <preset> [options] [-- [native-options]]
Options:
<dir> = Project binary directory to be built.
--preset <preset>, --preset=<preset>
= Specify a build preset.
--list-presets[=<type>]
= List available build presets.
--parallel [<jobs>], -j [<jobs>]
= Build in parallel using the given number of jobs.
If <jobs> is omitted the native build tool's
default number is used.
The CMAKE_BUILD_PARALLEL_LEVEL environment variable
specifies a default parallel level when this option
is not given.
-t <tgt>..., --target <tgt>...
= Build <tgt> instead of default targets.
--config <cfg> = For multi-configuration tools, choose <cfg>.
--clean-first = Build target 'clean' first, then build.
(To clean only, use --target 'clean'.)
--resolve-package-references={on|only|off}
= Restore/resolve package references during build.
-v, --verbose = Enable verbose output - if supported - including
the build commands to be executed.
-- = Pass remaining options to the native tool.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
I'm having some trouble building Vulkan on llamacpp on meson. I have embedded LlamaCpp as a subproject in my meson project, but it seems that compiling Vulkan components causes the configuration passed by meson to be malformed. Curiously, it seems to build the wrong target. I'm not sure if this is a bug in meson or llamacpp's cmake (or a bug at all!)
My meson cmake defines are:
and I get the error:
Beta Was this translation helpful? Give feedback.
All reactions