Skip to content

Commit 228a283

Browse files
authored
ggml: Vulkan build, Linux -- output error string for errno on fork failure (ggml-org#20868) (ggml-org#20904)
1 parent 187b39c commit 228a283

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

ggml/src/ggml-vulkan/vulkan-shaders/vulkan-shaders-gen.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ void execute_command(std::vector<std::string>& command, std::string& stdout_str,
137137

138138
pid_t pid = fork();
139139
if (pid < 0) {
140+
std::cerr << strerror(errno) << "\n";
140141
throw std::runtime_error("Failed to fork process");
141142
}
142143

0 commit comments

Comments
 (0)