<commit_before>CONFIG ?=		.config-3.18-std
KERNEL ?=		$(shell echo $(CONFIG) | cut -d- -f2)
NAME ?=			moul/kernel-builder:$(KERNEL)-cross-armhf
CONCURRENCY_LEVEL ?=	$(shell grep -m1 cpu\ cores /proc/cpuinfo | sed 's/[^0-9]//g' 2>/dev/null || sysctl hw.ncpu | awk '{print $2}')
J ?=			-j $(CONCURRENCY_LEVEL)

DOCKER_ENV ?=		-e LOADADDR=0x8000 \
			-e CONCURRENCY_LEVEL=$(CONCURRENCY_LEVEL)

DOCKER_VOLUMES ?=	-v $(PWD)/$(CONFIG):/tmp/.config \<commit_msg>Fixed CONCURRENCY_LEVEL computing<commit_after>CONFIG ?=		.config-3.18-std
KERNEL ?=		$(shell echo $(CONFIG) | cut -d- -f2)
NAME ?=			moul/kernel-builder:$(KERNEL)-cross-armhf
CONCURRENCY_LEVEL ?=	$(shell grep -m1 cpu\ cores /proc/cpuinfo 2>/dev/null | sed 's/[^0-9]//g' | grep '[0-9]' || sysctl hw.ncpu | sed 's/[^0-9]//g' | grep '[0-9]')
J ?=			-j $(CONCURRENCY_LEVEL)

DOCKER_ENV ?=		-e LOADADDR=0x8000 \
			-e CONCURRENCY_LEVEL=$(CONCURRENCY_LEVEL)

DOCKER_VOLUMES ?=	-v $(PWD)/$(CONFIG):/tmp/.config \
{'fraction_non_alphanumeric': 0.21019771071800208, 'fraction_numerical': 0.03433922996878252, 'mean_word_length': 3.81, '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': '149978', 'n_tokens_mistral': 467, 'n_tokens_neox': 435, 'n_words': 79}