Skip to content

Commit 9294167

Browse files
committed
Check libgomp
1 parent 0ca055a commit 9294167

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

bindings/ruby/ext/extconf.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
cmake = find_executable("cmake") || abort
66

7+
have_library("gomp") rescue nil
8+
79
prefix = File.join("build", "whisper.cpp.dot")
810
system cmake, "-S", "sources", "-B", "build", "--graphviz", prefix, "-D", "BUILD_SHARED_LIBS=OFF", exception: true
911
libs = Dir["#{prefix}.*"].collect {|file|

0 commit comments

Comments
 (0)