<commit_before>
# Setting up global constants
CC       = ENV['CC'].nil? ? 'clang' : ENV['CC']
# cpp    = ENV['CPP'].nil? ? 'clang++' : ENV['CPP']
AR       = 'ar'
LD       = 'ld'
IS_LINUX = `uname -s`.strip == 'Linux'
VERSION  = `cat ./VERSION`.strip

# $ldflags = "-lpthread -L. #{include_env 'LDFLAGS'}".strip
warnings = '-Wall -Wextra -Wconversion'
cflags   = "-g -fPIC #{warnings} -std=c99 -I. #{include_env 'CFLAGS'}".strip

# Expose cflags and Lua for `cflags_for`
CFLAGS = cflags
LUA    = 'lua5.1'

# Settings for LLVM
llvm_config = 'llvm-config'
if `uname -s`.strip == 'Darwin'<commit_msg>Switch to C11 from C99<commit_after>
# Setting up global constants
CC       = ENV['CC'].nil? ? 'clang' : ENV['CC']
# cpp    = ENV['CPP'].nil? ? 'clang++' : ENV['CPP']
AR       = 'ar'
LD       = 'ld'
IS_LINUX = `uname -s`.strip == 'Linux'
VERSION  = `cat ./VERSION`.strip

# $ldflags = "-lpthread -L. #{include_env 'LDFLAGS'}".strip
warnings = '-Wall -Wextra -Wsign-conversion -Wconversion'
cflags   = "-g -fPIC -std=c11 -I. #{warnings} #{include_env 'CFLAGS'}".strip

# Expose cflags and Lua for `cflags_for`
CFLAGS = cflags
LUA    = 'lua5.1'

# Settings for LLVM
llvm_config = 'llvm-config'
if `uname -s`.strip == 'Darwin'
{'fraction_non_alphanumeric': 0.19360131255127153, 'fraction_numerical': 0.009844134536505332, 'mean_word_length': 3.357142857142857, 'pattern_counts': {'":': 0, '<': 3, '<?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': '6151166', 'n_tokens_mistral': 495, 'n_tokens_neox': 485, 'n_words': 124}