Sha256: 9e1b290c9f0e3580bf94e44d11e66e726be8ad77f1e57b5ad6591f2c18f2484d

Contents?: true

Size: 703 Bytes

Versions: 1

Compression:

Stored size: 703 Bytes

Contents

# frozen_string_literal: true

require "mkmf"

# For testing in CI (because I don't otherwise have easy access to Mac OS):
# $CFLAGS << " -D__D_HEAP_DEBUG" if /darwin/ =~ RUBY_PLATFORM
# $CFLAGS << " -debug inline-debug-info "
# $CFLAGS << " -g -ginline-points "
# $CFLAGS << " -fno-omit-frame-pointer "

# CONFIG["debugflags"] << " -ggdb3 -gstatement-frontiers -ginline-points "
CONFIG["optflags"]  << " -O3 "
CONFIG["optflags"]  << " -fno-omit-frame-pointer "
CONFIG["warnflags"] << " -Werror"

have_func "rb_gc_mark_movable" # since ruby-2.7

check_sizeof("long")
check_sizeof("unsigned long long")
check_sizeof("long double")
have_macro("LDBL_MANT_DIG", "float.h")

create_makefile("d_heap/d_heap")

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
d_heap-0.5.0 ext/d_heap/extconf.rb