<commit_before># Do not edit normally. Configuration settings are in Makefile.conf.

TARGET_MACHINE := $(shell gcc -dumpmachine)

include Makefile.conf

SHORT_LIBRARY_NAME = datasetturbo
LIBRARY_NAME = lib$(SHORT_LIBRARY_NAME)
VERSION = 0.5
SO_VERSION = 0.5
MAJOR_VERSION = 0

# Autodetect platform based on TARGET_MACHINE
ifneq (,$(findstring x86,$(TARGET_MACHINE)))
DETECTED_CPU=X86
CPU_DESCRIPTION="Detected CPU platform: x86"
else
ifneq (,$(findstring arm,$(TARGET_MACHINE)))
DETECTED_CPU=ARM
CPU_DESCRIPTION="Detected CPU platform: ARM"
else
endif
endif

ifeq (,$(TARGET_ARCH))
ifneq (,$(DETECTED_CPU))
TARGET_ARCH = $(DETECTED_CPU)
else
$(error Could not detect CPU platform.)
endif
endif

# CFLAGS with optional tuning for CPU
OPTCFLAGS = $(TARGET_CPU_FLAGS)

ARM_ASSEMBLER_FLAGS_THUMB = -march=armv7-a -Wa,-march=armv7-a -mthumb -Wa,-mthumb \
 -Wa,-mimplicit-it=always -mthumb-interwork -DCONFIG_THUMB
ARM_ASSEMBLER_FLAGS_NON_THUMB = 

# SIMD configuration (SSE on x86, NEON on ARM).
ifeq ($(TARGET_ARCH), X86)
SIMD_TYPES = SSE2 SSE3 SSSE3 SSE4A # SSE41 SSE42 AVX NEON AVX_SSE4A_FMA4 X86_AVX_FMA
else ifeq ($TARGET_ARCH), ARM)
# ARM NEON is currently not yet functional.
SIMD_TYPES = #NEON
else
$(error Unknown value for TARGET_ARCH.)
endif

# Select the compiled in SIMD types.
ifneq ($(TARGET_ARCH),)
ifneq ($(TARGET_SIMD), NONE)
# When no fixed SIMD architecture is specified, many will be supported and autodetected.
ifeq ($(TARGET_ARCH), X86)
# All types should be configured by default.
SIMD_MODULES = dstSIMDSSE2.o dstSIMDSSE3.o dstSIMDSSSE3.o dstSIMDSSE4A.o # Add the rest.
SIMD_MODULES += dstSIMDSSE2Stream.o dstSIMDSSE3Stream.o dstSIMDSSSE3Stream.o dstSIMDSSE4AStream.o
else
ifeq ($(TARGET_ARCH), ARM)
# ARM NEON is currently not yet functional.
SIMD_MODULES = #dstSIMDNEON.o
TARGET_SIMD = NONE
endif
endif
endif
endif

# Enforce a fixed SIMD level when indicated.
FIXED_SIMD_TYPE =
FIXED_NO_SIMD =
ifneq ($(TARGET_SIMD),)
ifeq ($(TARGET_SIMD), NONE)<commit_msg>Fix typo in Makefile affecting compilation on ARM platform<commit_after># Do not edit normally. Configuration settings are in Makefile.conf.

TARGET_MACHINE := $(shell gcc -dumpmachine)

include Makefile.conf

SHORT_LIBRARY_NAME = datasetturbo
LIBRARY_NAME = lib$(SHORT_LIBRARY_NAME)
VERSION = 0.5
SO_VERSION = 0.5
MAJOR_VERSION = 0

# Autodetect platform based on TARGET_MACHINE
ifneq (,$(findstring x86,$(TARGET_MACHINE)))
DETECTED_CPU=X86
CPU_DESCRIPTION="Detected CPU platform: x86"
else
ifneq (,$(findstring arm,$(TARGET_MACHINE)))
DETECTED_CPU=ARM
CPU_DESCRIPTION="Detected CPU platform: ARM"
else
endif
endif

ifeq (,$(TARGET_ARCH))
ifneq (,$(DETECTED_CPU))
TARGET_ARCH = $(DETECTED_CPU)
else
$(error Could not detect CPU platform.)
endif
endif

# CFLAGS with optional tuning for CPU
OPTCFLAGS = $(TARGET_CPU_FLAGS)

ARM_ASSEMBLER_FLAGS_THUMB = -march=armv7-a -Wa,-march=armv7-a -mthumb -Wa,-mthumb \
 -Wa,-mimplicit-it=always -mthumb-interwork -DCONFIG_THUMB
ARM_ASSEMBLER_FLAGS_NON_THUMB = 

# SIMD configuration (SSE on x86, NEON on ARM).
ifeq ($(TARGET_ARCH), X86)
SIMD_TYPES = SSE2 SSE3 SSSE3 SSE4A # SSE41 SSE42 AVX NEON AVX_SSE4A_FMA4 X86_AVX_FMA
else ifeq ($(TARGET_ARCH), ARM)
# ARM NEON is currently not yet functional.
SIMD_TYPES = #NEON
else
$(error Unknown value for TARGET_ARCH.)
endif

# Select the compiled in SIMD types.
ifneq ($(TARGET_ARCH),)
ifneq ($(TARGET_SIMD), NONE)
# When no fixed SIMD architecture is specified, many will be supported and autodetected.
ifeq ($(TARGET_ARCH), X86)
# All types should be configured by default.
SIMD_MODULES = dstSIMDSSE2.o dstSIMDSSE3.o dstSIMDSSSE3.o dstSIMDSSE4A.o # Add the rest.
SIMD_MODULES += dstSIMDSSE2Stream.o dstSIMDSSE3Stream.o dstSIMDSSSE3Stream.o dstSIMDSSE4AStream.o
else
ifeq ($(TARGET_ARCH), ARM)
# ARM NEON is currently not yet functional.
SIMD_MODULES = #dstSIMDNEON.o
TARGET_SIMD = NONE
endif
endif
endif
endif

# Enforce a fixed SIMD level when indicated.
FIXED_SIMD_TYPE =
FIXED_NO_SIMD =
ifneq ($(TARGET_SIMD),)
ifeq ($(TARGET_SIMD), NONE)
{'fraction_non_alphanumeric': 0.09760359460808787, 'fraction_numerical': 0.019470793809286072, 'mean_word_length': 5.873070325900515, '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': '385655', 'n_tokens_mistral': 1602, 'n_tokens_neox': 1497, 'n_words': 417}