<commit_before>from __future__ import print_function, division, absolute_import

from collections import defaultdict
from distutils import dir_util, log
from distutils.command import build_ext
from distutils.extension import Extension
import os
import shutil
import sys
import tempfile

from numba import sigutils
from .compiler import ModuleCompiler, ExportEntry
from .platform import Toolchain


class CC(object):
    """
    An ahead-of-time compiler to create extension modules that don't
    depend on Numba.
    """

    # NOTE: using ccache can speed up repetitive builds
    # (especially for the mixin modules)

    _mixin_sources = ['modulemixin.c', '../_math_c99.c']

    # -flto strips all unused helper functions, which 1) makes the
    # produced output much smaller and 2) can make the linking step faster.
    # (the Windows linker seems to do this by default, judging by the results)

    _extra_cflags = {
        'posix': ['-flto'],
        }

    _extra_ldflags = {
        'posix': ['-flto'],
        }
<commit_msg>Remove LTO due to odd behavior on GCC4.9+<commit_after>from __future__ import print_function, division, absolute_import

from collections import defaultdict
from distutils import dir_util, log
from distutils.command import build_ext
from distutils.extension import Extension
import os
import shutil
import sys
import tempfile

from numba import sigutils
from .compiler import ModuleCompiler, ExportEntry
from .platform import Toolchain


class CC(object):
    """
    An ahead-of-time compiler to create extension modules that don't
    depend on Numba.
    """

    # NOTE: using ccache can speed up repetitive builds
    # (especially for the mixin modules)

    _mixin_sources = ['modulemixin.c', '../_math_c99.c']

    # -flto strips all unused helper functions, which 1) makes the
    # produced output much smaller and 2) can make the linking step faster.
    # (the Windows linker seems to do this by default, judging by the results)

    _extra_cflags = {
        # Comment out due to odd behavior with GCC 4.9+ with LTO
        # 'posix': ['-flto'],
        }

    _extra_ldflags = {
        # Comment out due to odd behavior with GCC 4.9+ with LTO
        # 'posix': ['-flto'],
        }

{'fraction_non_alphanumeric': 0.07341092211280215, 'fraction_numerical': 0.006266786034019696, 'mean_word_length': 3.2898272552783108, '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': '5784278', 'n_tokens_mistral': 650, 'n_tokens_neox': 612, 'n_words': 259}