<commit_before>#!/bin/sh

set -xe

if $(ffmpeg -version | grep -q $FFMPEG_VERSION)
then
  echo "FFMpeg already at version ${FFMPEG_VERSION}, good."
else
  echo "Installing FFMpeg ${FFMPEG_VERSION}..."
  export CORES=$(nproc)
  echo "Using $CORES cores for compiling..."

  cd /tmp
  curl -L -O "https://github.com/FFmpeg/FFmpeg/archive/n${FFMPEG_VERSION}.tar.gz"
  tar xvf "n${FFMPEG_VERSION}.tar.gz"
  cd "FFmpeg-n${FFMPEG_VERSION}"
  ./configure --prefix=$HOME/opt
  make -j$CORES
  make install
  $HOME/opt/bin/ffmpeg -version

  cd $TRAVIS_BUILD_DIR;
fi
<commit_msg>travis: Build FFmpeg with PIC support<commit_after>#!/bin/sh

set -xe

if $(ffmpeg -version | grep -q $FFMPEG_VERSION)
then
  echo "FFMpeg already at version ${FFMPEG_VERSION}, good."
else
  echo "Installing FFMpeg ${FFMPEG_VERSION}..."
  export CORES=$(nproc)
  echo "Using $CORES cores for compiling..."

  cd /tmp
  curl -L -O "https://github.com/FFmpeg/FFmpeg/archive/n${FFMPEG_VERSION}.tar.gz"
  tar xvf "n${FFMPEG_VERSION}.tar.gz"
  cd "FFmpeg-n${FFMPEG_VERSION}"
  ./configure --enable-pic --prefix=$HOME/opt
  make -j$CORES
  make install
  $HOME/opt/bin/ffmpeg -version

  cd $TRAVIS_BUILD_DIR;
fi

{'fraction_non_alphanumeric': 0.15123194562446898, 'fraction_numerical': 0.0, 'mean_word_length': 3.712, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '750803', 'n_tokens_mistral': 478, 'n_tokens_neox': 465, 'n_words': 110}