<commit_before>TOP = ..
include $(TOP)/mk/boilerplate.mk

HC = $(GHC_INPLACE)
BOOTSTRAPPING_PACKAGE_CONF_HC_OPTS=

MKDEPENDHS = $(GHC_INPLACE)
SRC_HC_OPTS += -threaded
EXCLUDED_SRCS += TimeMe.hs

ifeq "$(Windows)" "YES"
SRC_HC_OPTS += -package Win32
else
SRC_HC_OPTS += -package unix
endif

all :: calibrate.out

ifeq "$(findstring thr,$(GhcRTSWays))" "thr"
HS_PROG = timeout
else
all :: python-timeout
CLEAN_FILES += timeout
endif

boot :: all

calibrate.out:
	rm -f TimeMe.o TimeMe.hi TimeMe
	$(PYTHON) calibrate "$(HC)" > $@
<commit_msg>FIX boottestsuite build failure<commit_after>TOP = ..
include $(TOP)/mk/boilerplate.mk

HC = $(GHC_INPLACE)
# These are required to stop the build system adding -package-conf
# bootstrapping.mk, which only makes sense when $(HC)==$(GHC)
BOOTSTRAPPING_PACKAGE_CONF_HC_OPTS=
BOOTSTRAPPING_PACKAGE_CONF_MKDEPENDHS_OPTS=

MKDEPENDHS = $(GHC_INPLACE)
SRC_HC_OPTS += -threaded
EXCLUDED_SRCS += TimeMe.hs

ifeq "$(Windows)" "YES"
SRC_HC_OPTS += -package Win32
else
SRC_HC_OPTS += -package unix
endif

all :: calibrate.out

ifeq "$(findstring thr,$(GhcRTSWays))" "thr"
HS_PROG = timeout
else
all :: python-timeout
CLEAN_FILES += timeout
endif

boot :: all

calibrate.out:
	rm -f TimeMe.o TimeMe.hi TimeMe
	$(PYTHON) calibrate "$(HC)" > $@

{'fraction_non_alphanumeric': 0.13453973249409915, 'fraction_numerical': 0.003147128245476003, 'mean_word_length': 5.3283582089552235, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '3486193', 'n_tokens_mistral': 534, 'n_tokens_neox': 509, 'n_words': 117}