<commit_before>#!/bin/env bash
make Configure name=linux

# Choose action based on whether gcc is available in the build environment
#   To see what happens when this is not done, see https://dev.azure.com/conda-forge/feedstock-builds/_build/results?buildId=365071&view=logs&jobId=35904a6b-5404-55c5-26d9-f2fb250157bf&j=35904a6b-5404-55c5-26d9-f2fb250157bf&t=f869e631-70a1-522d-dae3-fa8b231d712d
### which gcc
### if [ *? ]; then
###   # point make to the real gcc
###   export CC=x86_64-conda-linux-gnu-gcc
###   # Build Icon binaries
###   make CC=${CC}
### else
###   # Build Icon binaries
###   make
### fi
make
# Run a small sample of the test suite
make Samples
# Install it assuming that we made it this far
mkdir -p ${PREFIX}/bin
make Install dest=${PREFIX}/icon
(pushd ${PREFIX}/bin && ln -s ../icon/bin/* .)
<commit_msg>address CI build failure in commit a05b5b7<commit_after>#!/bin/env bash
make Configure name=linux

# Choose action based on whether gcc is available in the build environment
# To see what happens when this is not done, see
#   https://dev.azure.com/conda-forge/feedstock-builds/_build/results?buildId=370926&view=logs&j=6f142865-96c3-535c-b7ea-873d86b887bd&t=22b0682d-ab9e-55d7-9c79-49f3c3ba4823&l=637
HAVE_GCC=true
which gcc || HAVE_GCC=
if [ -z "$HAVE_GCC" ]; then
  # point make to the real gcc
  export CC=x86_64-conda-linux-gnu-gcc
  # Build Icon binaries
  make CC=${CC}
else
  # Build Icon binaries
  make
fi

# Run a small sample of the test suite
make Samples

# Install it assuming that we made it this far
mkdir -p ${PREFIX}/bin
make Install dest=${PREFIX}/icon
(pushd ${PREFIX}/bin && ln -s ../icon/bin/* .)

{'fraction_non_alphanumeric': 0.12787878787878787, 'fraction_numerical': 0.08242424242424243, 'mean_word_length': 4.224683544303797, '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': '3671445', 'n_tokens_mistral': 691, 'n_tokens_neox': 597, 'n_words': 173}