We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a1fcd3 commit ae769eaCopy full SHA for ae769ea
bindings/ruby/ext/extconf.rb
@@ -1,7 +1,7 @@
1
require 'mkmf'
2
3
# need to use c++ compiler flags
4
-$CXXFLAGS << ' -std=c++11'
+$CXXFLAGS << ' -std=c++17'
5
6
$LDFLAGS << ' -lstdc++'
7
@@ -35,10 +35,10 @@
35
$GGML_METAL_EMBED_LIBRARY = true
36
end
37
38
-$MK_CPPFLAGS = '-Iggml/include -Iggml/src -Iinclude -Isrc -Iexamples'
+$MK_CPPFLAGS = '-Iggml/include -Iggml/src -Iggml/src/ggml-cpu -Iinclude -Isrc -Iexamples'
39
$MK_CFLAGS = '-std=c11 -fPIC'
40
-$MK_CXXFLAGS = '-std=c++11 -fPIC'
41
-$MK_NVCCFLAGS = '-std=c++11'
+$MK_CXXFLAGS = '-std=c++17 -fPIC'
+$MK_NVCCFLAGS = '-std=c++17'
42
$MK_LDFLAGS = ''
43
44
$OBJ_GGML = []
0 commit comments