<commit_before>GXX=g++
GXX_FLAGS=-fPIC --shared

SRC=bridge.cpp
INCLUDES=-I${JAVA_HOME}/include -I${JAVA_HOME}/include/darwin
TARGET=libbridge.so

IS_CLANG := $(shell ${GXX} --version 2>&1 | grep clang | wc -l | bc)
ifeq ($(IS_CLANG),1)
	GXX_FLAGS += -framework OpenCL
endif

all: ${SRC}
	${GXX} ${GXX_FLAGS} ${SRC} -o ${TARGET} ${INCLUDES} -lOpenCL<commit_msg>fix gxx flags<commit_after>GXX=g++
GXX_FLAGS=-fPIC --shared

SRC=bridge.cpp
INCLUDES=-I${JAVA_HOME}/include -I${JAVA_HOME}/include/darwin
TARGET=libbridge.so

IS_CLANG := $(shell ${GXX} --version 2>&1 | grep clang | wc -l | bc)
ifeq ($(IS_CLANG),1)
	GXX_FLAGS += -framework OpenCL
else
	GXX_FLAGS += -lOpenCL
endif

all: ${SRC}
	${GXX} ${GXX_FLAGS} ${SRC} -o ${TARGET} ${INCLUDES}
{'fraction_non_alphanumeric': 0.1970310391363023, 'fraction_numerical': 0.008097165991902834, 'mean_word_length': 5.132231404958677, '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': '3786953', 'n_tokens_mistral': 333, 'n_tokens_neox': 318, 'n_words': 67}