<commit_before>#!/bin/bash -eu

cmake . -DBUILD_TESTING=OFF
make clean
make -j$(nproc) brotlidec-static

$CC $CFLAGS -std=c99 -I. \
    c/fuzz/decode_fuzzer.c -I./c/include -o $OUT/decode_fuzzer \
    -lFuzzingEngine ./libbrotlidec-static.a ./libbrotlicommon-static.a
<commit_msg>[brotli] Split compile and link actions (#1554)<commit_after>#!/bin/bash -eu

cmake . -DBUILD_TESTING=OFF
make clean
make -j$(nproc) brotlidec-static

$CC $CFLAGS -c -std=c99 -I. -I./c/include c/fuzz/decode_fuzzer.c 

$CXX $CXXFLAGS ./decode_fuzzer.o  -o $OUT/decode_fuzzer \
    -lFuzzingEngine ./libbrotlidec-static.a ./libbrotlicommon-static.a

{'fraction_non_alphanumeric': 0.15311004784688995, 'fraction_numerical': 0.012759170653907496, 'mean_word_length': 3.550724637681159, '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': '1518090', 'n_tokens_mistral': 288, 'n_tokens_neox': 272, 'n_words': 50}