<commit_before>source $stdenv/setup


buildPhase() {
    make include/linux/version.h
}

buildPhase=buildPhase


installPhase() {
    mkdir $out
    mkdir $out/include
    #cd $out/include
    #ln -s asm-arm asm
    if test $cross = "arm-linux"; then
       arch=arm
    else if test $cross = "mips-linux"; then
           arch=mips
         fi
    fi
    make include/asm ARCH=$arch
    cp -prvd include/linux include/asm include/asm-$arch include/asm-generic $out/include
    echo -n > $out/include/linux/autoconf.h
}

installPhase=installPhase


genericBuild<commit_msg>add sparc-linux<commit_after>source $stdenv/setup


buildPhase() {
    make include/linux/version.h
}

buildPhase=buildPhase


installPhase() {
    mkdir $out
    mkdir $out/include
    #cd $out/include
    #ln -s asm-arm asm
    if test $cross = "arm-linux"; then
       arch=arm
    elif test $cross = "mips-linux"; then
           arch=mips
    elif test $cross = "sparc-linux"; then
           arch=sparc
    fi
    make include/asm ARCH=$arch
    cp -prvd include/linux include/asm include/asm-$arch include/asm-generic $out/include
    echo -n > $out/include/linux/autoconf.h
}

installPhase=installPhase


genericBuild
{'fraction_non_alphanumeric': 0.10851419031719532, 'fraction_numerical': 0.0, 'mean_word_length': 2.6666666666666665, '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': '2009742', 'n_tokens_mistral': 411, 'n_tokens_neox': 400, 'n_words': 98}