<commit_before>#!/bin/sh
rm -fr *.a *.gz tmp package
cd library_release_static
make clean
make
cd ..
mkdir tmp
cd tmp
mkdir volt && cd volt
ar x ../../library_release_static/libvoltcpp.a
cd .. && mkdir event && cd event
ar x $HOME/lib/libevent.a
cd .. && mkdir boost_thread && cd boost_thread
ar x $HOME/lib/libboost_thread.a
cd .. && mkdir boost_system && cd boost_system
ar x $HOME/lib/libboost_system.a
cd .. && mkdir boost_filesystem && cd boost_filesystem
ar x $HOME/lib/libboost_filesystem.a
cd ../..
ar rcs libvoltcpp.a tmp/volt/* tmp/event/* tmp/boost_system/* tmp/boost_thread/* tmp/boost_filesystem/* tmp/boost_thread/*

mkdir package
mkdir package/include
cd include
cp -r ByteBuffer.hpp Client.h ClientConfig.h Column.hpp ConnectionPool.h Decimal.hpp Exception.hpp InvocationResponse.hpp Parameter.hpp ParameterSet.hpp Procedure.hpp ProcedureCallback.hpp Row.hpp RowBuilder.h StatusListener.h Table.h TableIterator.h WireType.h ttmath/*.h boost ../package/include
cd ..
cp libvoltcpp.a package
tar cvfz volt_cpp.tgz package/*
strip package/libvoltcpp.a
tar cvfz volt_cpp_stripped.tgz package/*
rm -fr tmp
<commit_msg>Fix stripped version of build so it includes necessary symbols.<commit_after>#!/bin/sh
rm -fr *.a *.gz tmp package
cd library_release_static
make clean
make
cd ..
mkdir tmp
cd tmp
mkdir volt && cd volt
ar x ../../library_release_static/libvoltcpp.a
cd .. && mkdir event && cd event
ar x $HOME/lib/libevent.a
cd .. && mkdir boost_thread && cd boost_thread
ar x $HOME/lib/libboost_thread.a
cd .. && mkdir boost_system && cd boost_system
ar x $HOME/lib/libboost_system.a
cd .. && mkdir boost_filesystem && cd boost_filesystem
ar x $HOME/lib/libboost_filesystem.a
cd ../..
ar rcs libvoltcpp.a tmp/volt/* tmp/event/* tmp/boost_system/* tmp/boost_thread/* tmp/boost_filesystem/* tmp/boost_thread/*

mkdir package
mkdir package/include
cd include
cp -r ByteBuffer.hpp Client.h ClientConfig.h Column.hpp ConnectionPool.h Decimal.hpp Exception.hpp InvocationResponse.hpp Parameter.hpp ParameterSet.hpp Procedure.hpp ProcedureCallback.hpp Row.hpp RowBuilder.h StatusListener.h Table.h TableIterator.h WireType.h ttmath ../package/include
cd ..
cp libvoltcpp.a package
cd package
tar cvfz ../volt_cpp.tgz *
strip -d --strip-unneeded libvoltcpp.a
tar cvfz ../volt_cpp_stripped.tgz *
cd ..
rm -fr tmp

{'fraction_non_alphanumeric': 0.11264566249460509, 'fraction_numerical': 0.0, 'mean_word_length': 4.050108932461874, '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': '2432784', 'n_tokens_mistral': 778, 'n_tokens_neox': 746, 'n_words': 235}