<commit_before>SIMD := $(shell ((gcc -march=native -dN -E - < /dev/null | grep -q "AVX2") && echo "AVX2") || echo "AVX")

SCENARIO_VARS = -XORKA_SIMD_EXT="$(SIMD)"

.PHONY: build debug run clean trace dump

all: run

build:
	alr build $(SCENARIO_VARS)
run: build
	cd example && GALLIUM_HUD=".c35frametime" MESA_LOADER_DRIVER_OVERRIDE=iris ./build/bin/example
verbose: build
	cd example && WAYLAND_DEBUG=1 GALLIUM_HUD=".c35frametime" MESA_LOADER_DRIVER_OVERRIDE=iris ./build/bin/example
debug: build
	cd example && gdb ./build/bin/example
trace: build
	cd example && WAYLAND_DEBUG=1 apitrace trace --api=egl ./build/bin/example
dump:
	apitrace dump example.trace
clean:
	alr clean
	rm -rf build example/build<commit_msg>awt: Fix command 'build' so that it works with latest version of alr<commit_after>SIMD := $(shell ((gcc -march=native -dN -E - < /dev/null | grep -q "AVX2") && echo "AVX2") || echo "AVX")

SCENARIO_VARS = -XORKA_SIMD_EXT="$(SIMD)"

.PHONY: build debug run clean trace dump

all: run

build:
	alr build -- $(SCENARIO_VARS)
run: build
	cd example && GALLIUM_HUD=".c35frametime" MESA_LOADER_DRIVER_OVERRIDE=iris ./build/bin/example
verbose: build
	cd example && WAYLAND_DEBUG=1 GALLIUM_HUD=".c35frametime" MESA_LOADER_DRIVER_OVERRIDE=iris ./build/bin/example
debug: build
	cd example && gdb ./build/bin/example
trace: build
	cd example && WAYLAND_DEBUG=1 apitrace trace --api=egl ./build/bin/example
dump:
	apitrace dump example.trace
clean:
	alr clean
	rm -rf build example/build
{'fraction_non_alphanumeric': 0.1303475935828877, 'fraction_numerical': 0.0106951871657754, 'mean_word_length': 4.670454545454546, 'pattern_counts': {'":': 0, '<': 5, '<?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': '6832630', 'n_tokens_mistral': 612, 'n_tokens_neox': 585, 'n_words': 151}