<commit_before>#
# build kernerl 4.x using vagrant and itamae
#
PWD=$(shell pwd)

KERNEL_VER=4.1.1
BUILD_DIR=$(PWD)/build/linux-$(KERNEL_VER)

all: itamae

itamae: vagrant
	KERNEL_VER=$(KERNEL_VER) itamae ssh -l debug --vagrant roles/build-kernel-4.x.y-for-centos6.rb

vagrant:
	vagrant up || vagrant plugin install vagrant-persistent-storage

size:
	vagrant ssh -c "df -h"

ccache:
	vagrant ssh -c "watch -n1 -d ccache -s"

clean:
	-rm -rf $(BUILD_DIR)
	vagrant ssh -c "cd /usr/local/src/kernel-build/ && make KERNEL_VER=$(KERNEL_VER) clean"

clobber: clean
	vagrant ssh -c "rm -rf ~/rpmbuild/* /usr/local/src/kernel-build"
<commit_msg>Don't use clean task on clobber<commit_after>#
# build kernerl 4.x using vagrant and itamae
#
PWD=$(shell pwd)

KERNEL_VER=4.1.1
BUILD_DIR=$(PWD)/build/linux-$(KERNEL_VER)

all: itamae

itamae: vagrant
	KERNEL_VER=$(KERNEL_VER) itamae ssh -l debug --vagrant roles/build-kernel-4.x.y-for-centos6.rb

vagrant:
	vagrant up || vagrant plugin install vagrant-persistent-storage

size:
	vagrant ssh -c "df -h"

ccache:
	vagrant ssh -c "watch -n1 -d ccache -s"

clean:
	-rm -rf $(BUILD_DIR)
	vagrant ssh -c "cd /usr/local/src/kernel-build/ && make KERNEL_VER=$(KERNEL_VER) clean"

clobber:
	vagrant ssh -c "rm -rf ~/rpmbuild/* /usr/local/src/kernel-build"

{'fraction_non_alphanumeric': 0.14541213063763608, 'fraction_numerical': 0.01088646967340591, 'mean_word_length': 3.9310344827586206, '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': '268775', 'n_tokens_mistral': 563, 'n_tokens_neox': 549, 'n_words': 136}