<commit_before># Copyright (c) 2012 by Tracelytics, Inc.
# All rights reserved.

require 'mkmf'

if have_library('oboe')
  $libs = append_library($libs, "oboe")
  $libs = append_library($libs, "stdc++")

  $CFLAGS << " #{ENV["CFLAGS"]}"
  $CPPFLAGS << " #{ENV["CPPFLAGS"]}"
  $LIBS << " #{ENV["LIBS"]}"

  cpp_command('g++') if RUBY_VERSION < '1.9'
  create_makefile('oboe_metal', 'src')<commit_msg>Allow for alternate liboboe paths.<commit_after># Copyright (c) 2012 by Tracelytics, Inc.
# All rights reserved.

require 'mkmf'
dir_config('oboe')

if have_library('oboe')
  $libs = append_library($libs, "oboe")
  $libs = append_library($libs, "stdc++")

  $CFLAGS << " #{ENV["CFLAGS"]}"
  $CPPFLAGS << " #{ENV["CPPFLAGS"]}"
  $LIBS << " #{ENV["LIBS"]}"

  cpp_command('g++') if RUBY_VERSION < '1.9'
  create_makefile('oboe_metal', 'src')
{'fraction_non_alphanumeric': 0.21360381861575178, 'fraction_numerical': 0.014319809069212411, 'mean_word_length': 5.404580152671755, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '325283', 'n_tokens_mistral': 351, 'n_tokens_neox': 322, 'n_words': 68}