Sha256: 332deddb1b7848b32af69095800ec675abbc90aa2ef41b917617b7e2cd2e4c53

Contents?: true

Size: 754 Bytes

Versions: 144

Compression:

Stored size: 754 Bytes

Contents

#!/usr/bin/ruby

require 'mkmf'

ext_name = "google/protobuf_c"

dir_config(ext_name)

if RUBY_PLATFORM =~ /darwin/ || RUBY_PLATFORM =~ /linux/
  $CFLAGS += " -std=gnu99 -O3 -DNDEBUG -fvisibility=hidden -Wall -Wsign-compare -Wno-declaration-after-statement"
else
  $CFLAGS += " -std=gnu99 -O3 -DNDEBUG"
end


if RUBY_PLATFORM =~ /linux/
  # Instruct the linker to point memcpy calls at our __wrap_memcpy wrapper.
  $LDFLAGS += " -Wl,-wrap,memcpy"
end

$VPATH << "$(srcdir)/third_party/utf8_range"
$INCFLAGS << "$(srcdir)/third_party/utf8_range"

$srcs = ["protobuf.c", "convert.c", "defs.c", "message.c",
         "repeated_field.c", "map.c", "ruby-upb.c", "wrap_memcpy.c",
         "naive.c", "range2-neon.c", "range2-sse.c"]

create_makefile(ext_name)

Version data entries

144 entries across 144 versions & 2 rubygems

Version Path
rubypitaya-3.12.5 ./lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/google-protobuf-3.21.12-x86_64-linux/ext/google/protobuf_c/extconf.rb
rubypitaya-3.12.4 ./lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/google-protobuf-3.21.12-x86_64-linux/ext/google/protobuf_c/extconf.rb
rubypitaya-3.12.3 ./lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/google-protobuf-3.21.12-x86_64-linux/ext/google/protobuf_c/extconf.rb
rubypitaya-3.12.2 ./lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/google-protobuf-3.21.12-x86_64-linux/ext/google/protobuf_c/extconf.rb
google-protobuf-3.21.12-x86_64-linux ext/google/protobuf_c/extconf.rb
google-protobuf-3.21.12-x86-mingw32 ext/google/protobuf_c/extconf.rb
google-protobuf-3.21.12-x86-linux ext/google/protobuf_c/extconf.rb
google-protobuf-3.21.12-x64-mingw32 ext/google/protobuf_c/extconf.rb
google-protobuf-3.21.12-x64-mingw-ucrt ext/google/protobuf_c/extconf.rb
google-protobuf-3.21.12 ext/google/protobuf_c/extconf.rb
google-protobuf-3.21.12-x86_64-darwin ext/google/protobuf_c/extconf.rb
google-protobuf-3.21.11-x86_64-linux ext/google/protobuf_c/extconf.rb
google-protobuf-3.21.11-x86-mingw32 ext/google/protobuf_c/extconf.rb
google-protobuf-3.21.11-x86-linux ext/google/protobuf_c/extconf.rb
google-protobuf-3.21.11-x64-mingw32 ext/google/protobuf_c/extconf.rb
google-protobuf-3.21.11-x64-mingw-ucrt ext/google/protobuf_c/extconf.rb
google-protobuf-3.21.11 ext/google/protobuf_c/extconf.rb
google-protobuf-3.21.11-x86_64-darwin ext/google/protobuf_c/extconf.rb
google-protobuf-3.21.10-x86_64-linux ext/google/protobuf_c/extconf.rb
google-protobuf-3.21.10-x86-mingw32 ext/google/protobuf_c/extconf.rb