<commit_before>CC = gcc
#JAVA_HOME = /usr/lib/jvm/java-6-sun
OS_NAME = linux

CFLAGS = -fPIC -O3 -funroll-all-loops

SPARK = ../..

LZF = $(SPARK)/third_party/liblzf-3.5

LIB = libspark_native.so

all: $(LIB)

spark_compress_lzf_LZF.h: $(SPARK)/classes/spark/compress/lzf/LZF.class
ifeq ($(JAVA_HOME),)
	$(error JAVA_HOME is not set)
else
	$(JAVA_HOME)/bin/javah -classpath $(SPARK)/classes spark.compress.lzf.LZF
endif

$(LIB): spark_compress_lzf_LZF.h spark_compress_lzf_LZF.c<commit_msg>Fix native build to use build directory<commit_after>CC = gcc
#JAVA_HOME = /usr/lib/jvm/java-6-sun
OS_NAME = linux

CFLAGS = -fPIC -O3 -funroll-all-loops

SPARK = ../..

LZF = $(SPARK)/third_party/liblzf-3.5

LIB = libspark_native.so

all: $(LIB)

spark_compress_lzf_LZF.h: $(SPARK)/build/classes/spark/compress/lzf/LZF.class
ifeq ($(JAVA_HOME),)
	$(error JAVA_HOME is not set)
else
	$(JAVA_HOME)/bin/javah -classpath $(SPARK)/build/classes spark.compress.lzf.LZF
endif

$(LIB): spark_compress_lzf_LZF.h spark_compress_lzf_LZF.c
{'fraction_non_alphanumeric': 0.15520628683693516, 'fraction_numerical': 0.007858546168958742, 'mean_word_length': 4.508108108108108, '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': '7088140', 'n_tokens_mistral': 485, 'n_tokens_neox': 462, 'n_words': 75}