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

ifeq "$(stage)" ""
stage=1
endif

ifeq "$(HOSTPLATFORM)" "i386-unknown-mingw32"
INSTALL_FLAGS =
else
INSTALL_FLAGS = --enable-shell-wrappers
endif

boot:: boot.stage.$(stage)

all:: build.stage.$(stage)

stage1 ::
	$(MAKE) stage=1

stage2 ::
	$(MAKE) stage=2

stage3 ::
	$(MAKE) stage=3

clean distclean::
	-$(CABAL) clean --distpref dist-stage1
	-$(CABAL) clean --distpref dist-stage2
	$(RM) -rf stage1-inplace
	$(RM) -rf stage2-inplace

# XXX This should be defined somewhere more central<commit_msg>Clean stage 3<commit_after>
TOP=..
include $(TOP)/mk/boilerplate.mk
include $(TOP)/mk/cabal-flags.mk

ifeq "$(stage)" ""
stage=1
endif

ifeq "$(HOSTPLATFORM)" "i386-unknown-mingw32"
INSTALL_FLAGS =
else
INSTALL_FLAGS = --enable-shell-wrappers
endif

boot:: boot.stage.$(stage)

all:: build.stage.$(stage)

stage1 ::
	$(MAKE) stage=1

stage2 ::
	$(MAKE) stage=2

stage3 ::
	$(MAKE) stage=3

clean distclean::
	-$(CABAL) clean --distpref dist-stage1
	-$(CABAL) clean --distpref dist-stage2
	-$(CABAL) clean --distpref dist-stage3
	$(RM) -rf stage1-inplace
	$(RM) -rf stage2-inplace
	$(RM) -rf stage3-inplace

# XXX This should be defined somewhere more central
{'fraction_non_alphanumeric': 0.1712, 'fraction_numerical': 0.028, 'mean_word_length': 4.346153846153846, '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': '1295826', 'n_tokens_mistral': 508, 'n_tokens_neox': 486, 'n_words': 118}