<commit_before>- name: Download binutils-{{ psptoolchain_binutils_version }}
  get_url:
    url=ftp://ftp.gnu.org/pub/gnu/binutils/binutils-{{ psptoolchain_binutils_version }}.tar.bz2
    dest=/tmp/

- name: Extract binutils-{{ psptoolchain_binutils_version }}
  unarchive:
    src=/tmp/binutils-{{ psptoolchain_binutils_version }}.tar.bz2
    dest=/tmp
    copy=no

- name: Apply binutils-{{ psptoolchain_binutils_version }}-PSP patch
  patch:
    src=binutils-{{ psptoolchain_binutils_version }}-PSP.patch
    basedir=binutils-{{ psptoolchain_binutils_version }}
    strip=1

- name: Apply binutils-{{ psptoolchain_binutils_version }}-texinfofix patch
  patch:
    src=binutils-{{ psptoolchain_binutils_version }}-texinfofix.patch
    basedir=binutils-{{ psptoolchain_binutils_version }}
    strip=1

- name: Create build directory
  file: path=binutils-{{ psptoolchain_binutils_version }}/build-{{ target }} state=directory

- name: Configure binutils-{{ psptoolchain_binutils_version }}
  shell: chdir=binutils-{{ psptoolchain_binutils_version }}/build-{{ target }} CFLAGS="$CFLAGS -I/opt/local/include -Wno-error" CPPFLAGS="$CPPFLAGS -I/opt/local/include -Wno-error" LDFLAGS="$LDFLAGS -L/opt/local/lib" ../configure --prefix="{{ install_dir }}" --target="{{ target }}" --enable-install-libbfd

- name: Compile binutils-{{ psptoolchain_binutils_version }}
  shell: chdir=binutils-{{ psptoolchain_binutils_version }}/build-{{ target }} make -j {{ ansible_processor_vcpus }} clean &&  make -r -j {{ ansible_processor_vcpus }}

- name: Install binutils-{{ psptoolchain_binutils_version }}
  sudo: yes
  shell: chdir=binutils-{{ psptoolchain_binutils_version }}/build-{{ target }} make -j {{ ansible_processor_vcpus }} install

- name: Clean binutils-{{ psptoolchain_binutils_version }}
  shell: chdir=binutils-{{ psptoolchain_binutils_version }}/build-{{ target }} make -j {{ ansible_processor_vcpus }} clean
<commit_msg>Wrong path for compilation<commit_after>- name: Download binutils-{{ psptoolchain_binutils_version }}
  get_url:
    url=ftp://ftp.gnu.org/pub/gnu/binutils/binutils-{{ psptoolchain_binutils_version }}.tar.bz2
    dest=/tmp/

- name: Extract binutils-{{ psptoolchain_binutils_version }}
  unarchive:
    src=/tmp/binutils-{{ psptoolchain_binutils_version }}.tar.bz2
    dest=/tmp
    copy=no

- name: Apply binutils-{{ psptoolchain_binutils_version }}-PSP patch
  patch:
    src=binutils-{{ psptoolchain_binutils_version }}-PSP.patch
    basedir=/tmp/binutils-{{ psptoolchain_binutils_version }}
    strip=1

- name: Apply binutils-{{ psptoolchain_binutils_version }}-texinfofix patch
  patch:
    src=binutils-{{ psptoolchain_binutils_version }}-texinfofix.patch
    basedir=/tmp/binutils-{{ psptoolchain_binutils_version }}
    strip=1

- name: Create build directory
  file: path=/tmp/binutils-{{ psptoolchain_binutils_version }}/build-{{ target }} state=directory

- name: Configure binutils-{{ psptoolchain_binutils_version }}
  shell: chdir=/tmp/binutils-{{ psptoolchain_binutils_version }}/build-{{ target }} CFLAGS="$CFLAGS -I/opt/local/include -Wno-error" CPPFLAGS="$CPPFLAGS -I/opt/local/include -Wno-error" LDFLAGS="$LDFLAGS -L/opt/local/lib" ../configure --prefix="{{ install_dir }}" --target="{{ target }}" --enable-install-libbfd

- name: Compile binutils-{{ psptoolchain_binutils_version }}
  shell: chdir=/tmp/binutils-{{ psptoolchain_binutils_version }}/build-{{ target }} make -j {{ ansible_processor_vcpus }} clean &&  make -r -j {{ ansible_processor_vcpus }}

- name: Install binutils-{{ psptoolchain_binutils_version }}
  sudo: yes
  shell: chdir=/tmp/binutils-{{ psptoolchain_binutils_version }}/build-{{ target }} make -j {{ ansible_processor_vcpus }} install

- name: Clean binutils-{{ psptoolchain_binutils_version }}
  shell: chdir=binutils-{{ psptoolchain_binutils_version }}/build-{{ target }} make -j {{ ansible_processor_vcpus }} clean

{'fraction_non_alphanumeric': 0.14355544121430408, 'fraction_numerical': 0.0020581425263699513, 'mean_word_length': 4.890909090909091, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '873842', 'n_tokens_mistral': 1359, 'n_tokens_neox': 1332, 'n_words': 251}