Top Level Namespace

Defined Under Namespace

Modules: ClickhouseNative

Constant Summary collapse

EXT_DIR =
__dir__
VENDOR =
File.expand_path("vendor/clickhouse-cpp", EXT_DIR)
ARCH =

like the host cmake binary).

RbConfig::CONFIG["arch"] || "unknown"
BUILD_DIR =
File.expand_path("../../tmp/cpp-build-#{ARCH}", EXT_DIR)

Instance Method Summary collapse

Instance Method Details

#fatal(msg) ⇒ Object



16
17
18
19
20
21
22
23
# File 'ext/clickhouse_native/extconf.rb', line 16

def fatal(msg)
  warn
  warn "=== clickhouse-native build failed ==="
  warn msg.chomp
  warn "===================================="
  warn
  abort "clickhouse-native: cannot build extension"
end