<commit_before>#!/bin/bash
#
# this is a pretty simple script, just with one simple use,
# to build the native library libsvn_jni.so which is used
# in the class "org.tigris.subversion.ClientImpl"
#
# I used this script on my linux box.
# In the future this will be integrated into the central makefile
#
if [ -z "$JAVA_HOME" ] ; then
  echo "environment variable JAVA_HOME is not set. You need to change this."
  exit 1
fi
LIBS="-lapr -ldl -lmm -lcrypt -lpthread -lsvn_subr -lneon -lsvn_delta -lexpat -lsvn_client -lsvn_wc -lsvn_ra"
CC_ARGS="-I$JAVA_HOME/include -I$JAVA_HOME/include/linux -L/usr/local/lib $LIBS -pthread -shared"
NATIVE_CLASS_NAME="svn_jni"
OBJS="main.c date.c misc.c status.c item.c hashtable.c string.c j.c entry.c clientimpl_status.c"
CC_ARGS="$CC_ARGS -o lib$NATIVE_CLASS_NAME.so $OBJS"
cc $CC_ARGS<commit_msg>Moved all of the "-I" parameters for gcc from CC_ARGS to INCLUDE. Just for better readability<commit_after>#!/bin/bash
#
# this is a pretty simple script, just with one simple use,
# to build the native library libsvn_jni.so which is used
# in the class "org.tigris.subversion.ClientImpl"
#
# I used this script on my linux box.
# In the future this will be integrated into the central makefile
#
if [ -z "$JAVA_HOME" ] ; then
  echo "environment variable JAVA_HOME is not set. You need to change this."
  exit 1
fi
LIBS="-lapr -ldl -lmm -lcrypt -lpthread -lsvn_subr -lneon -lsvn_delta -lexpat -lsvn_client -lsvn_wc -lsvn_ra"
INCLUDE="-I$JAVA_HOME/include -I$JAVA_HOME/include/linux -I../../../include"
CC_ARGS="$INCLUDE $LIBS -pthread -shared"
NATIVE_CLASS_NAME="svn_jni"
OBJS="main.c date.c misc.c status.c item.c hashtable.c string.c j.c entry.c clientimpl_status.c"
CC_ARGS="$CC_ARGS -o lib$NATIVE_CLASS_NAME.so $OBJS"
cc $CC_ARGS
{'fraction_non_alphanumeric': 0.11205432937181664, 'fraction_numerical': 0.0011318619128466328, 'mean_word_length': 4.215339233038348, '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': '1869664', 'n_tokens_mistral': 688, 'n_tokens_neox': 645, 'n_words': 211}