<commit_before>#!/usr/bin/env python
# encoding: utf-8

from string import Template

__template = Template('''
[
    {
	"append_env_var":
	{
	    "env_var" : "CXXFLAGS",
	    "value_list":
	    [
		"-Wall",
		"-Wextra",
		"-pthread",
		"-Wl,rpath=$$ORIGIN",
		"-Wl,-z,origin",
		"-std=c++11",
		"-Wno-unused-local-typedefs",
		"-Wno-unused-but-set-parameter",
		"-Wno-maybe-uninitialized",
		"-pipe",
		"-DLEVEL1_DCACHE_LINESIZE=$dcache_line_size",
		"-fstack-protector-all",
		"-fno-builtin-malloc",
		"-fno-builtin-calloc",
		"-fno-builtin-realloc",
		"-fno-builtin-free"
	    ]
	}
    },
    {
	"append_env_var":
	{
	    "env_var" : "LDFLAGS",
	    "value_list":
	    [
		"-lrt",
		"-lpthread"
	    ]
	}
    }

]
''')
<commit_msg>adding in EH Frame Header linker flag for all builds<commit_after>#!/usr/bin/env python
# encoding: utf-8

from string import Template

__template = Template('''
[
    {
	"append_env_var":
	{
	    "env_var" : "CXXFLAGS",
	    "value_list":
	    [
		"-Wall",
		"-Wextra",
		"-pthread",
		"-Wl,rpath=$$ORIGIN",
		"-Wl,-z,origin",
		"-Wl,--eh-frame-hdr",
		"-std=c++11",
		"-Wno-unused-local-typedefs",
		"-Wno-unused-but-set-parameter",
		"-Wno-maybe-uninitialized",
		"-pipe",
		"-DLEVEL1_DCACHE_LINESIZE=$dcache_line_size",
		"-fstack-protector-all",
		"-fno-builtin-malloc",
		"-fno-builtin-calloc",
		"-fno-builtin-realloc",
		"-fno-builtin-free"
	    ]
	}
    },
    {
	"append_env_var":
	{
	    "env_var" : "LDFLAGS",
	    "value_list":
	    [
		"-lrt",
		"-lpthread"
	    ]
	}
    }

]
''')

{'fraction_non_alphanumeric': 0.21517331589274036, 'fraction_numerical': 0.005232177894048398, 'mean_word_length': 2.6956521739130435, 'pattern_counts': {'":': 8, '<': 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': '3343986', 'n_tokens_mistral': 761, 'n_tokens_neox': 674, 'n_words': 82}