<commit_before>#!/bin/bash

set -ek
DESTDIR="$DSTROOT"
export DESTDIR

mkdir -p "$CONFIGURATION_TEMP_DIR"
mkdir -p "$CONFIGURATION_BUILD_DIR"
cd "$CONFIGURATION_TEMP_DIR"

ln -fs "$SRCROOT/binutils-gdb/" "$PROJECT_TEMP_DIR"

if [ "$ACTION" == "clean" ]; then
    if [ -e Makefile ]; then
      make clean;
      rm -rf ./*
    fi
# This uninstall presumes that BUILT_PRODUCTS_DIR is install location for
# binutils only!
    rm -rf "$CONFIGURATION_BUILD_DIR/bin"
    rm -rf "$CONFIGURATION_BUILD_DIR/include"
    rm -rf "$CONFIGURATION_BUILD_DIR/m68k-elf"
    rm -rf "$CONFIGURATION_BUILD_DIR/share"
    rm -f "$CONFIGURATION_BUILD_DIR/m68k-elf-ld"
    exit 0
fi

if [ ! -e Makefile ]; then
  "$PROJECT_TEMP_DIR/binutils-gdb/configure" $@;
fi
make "all-$TARGET_NAME"
if [ "$ACTION" == "install" ]; then<commit_msg>Use all available cores when building the linker.<commit_after>#!/bin/bash

set -ek
DESTDIR="$DSTROOT"
NCPUS=$(sysctl -n hw.ncpu)
export DESTDIR

mkdir -p "$CONFIGURATION_TEMP_DIR"
mkdir -p "$CONFIGURATION_BUILD_DIR"
cd "$CONFIGURATION_TEMP_DIR"

ln -fs "$SRCROOT/binutils-gdb/" "$PROJECT_TEMP_DIR"

if [ "$ACTION" == "clean" ]; then
    if [ -e Makefile ]; then
      make clean;
      rm -rf ./*
    fi
# This uninstall presumes that BUILT_PRODUCTS_DIR is install location for
# binutils only!
    rm -rf "$CONFIGURATION_BUILD_DIR/bin"
    rm -rf "$CONFIGURATION_BUILD_DIR/include"
    rm -rf "$CONFIGURATION_BUILD_DIR/m68k-elf"
    rm -rf "$CONFIGURATION_BUILD_DIR/share"
    rm -f "$CONFIGURATION_BUILD_DIR/m68k-elf-ld"
    exit 0
fi

if [ ! -e Makefile ]; then
  "$PROJECT_TEMP_DIR/binutils-gdb/configure" $@;
fi
make -j $NCPUS "all-$TARGET_NAME"
if [ "$ACTION" == "install" ]; then
{'fraction_non_alphanumeric': 0.13580246913580246, 'fraction_numerical': 0.005878894767783657, 'mean_word_length': 3.821529745042493, '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': '5250437', 'n_tokens_mistral': 662, 'n_tokens_neox': 657, 'n_words': 155}