<commit_before>#!/bin/sh -e
# Copyright (C) 2015 PSP2SDK Project
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

if ! test -d out; then
	mkdir out
fi

cd out

if ! test -d gcc; then
	mkdir gcc
fi

if ! test -d lib; then
	mkdir lib
fi

if ! test -d lib/fpu; then
	mkdir lib/fpu
fi

echo Running gcc/configure
(cd gcc; ../../gcc/configure --disable-libstdcxx-verbose --with-newlib --with-cpu=cortex-a9 --with-float=hard --with-fpu=neon-fp16 --target=arm-none-eabi "$@")
echo Done running gcc/configure

echo Running src/autogen.sh
(cd lib; ../../src/autogen.sh "$@")<commit_msg>autogen.sh: Add --enable-languages for GCC<commit_after>#!/bin/sh -e
# Copyright (C) 2015 PSP2SDK Project
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

if ! test -d out; then
	mkdir out
fi

cd out

if ! test -d gcc; then
	mkdir gcc
fi

if ! test -d lib; then
	mkdir lib
fi

if ! test -d lib/fpu; then
	mkdir lib/fpu
fi

echo Running gcc/configure
(cd gcc; ../../gcc/configure --disable-libstdcxx-verbose --enable-languages=c,c++,lto --with-newlib --with-cpu=cortex-a9 --with-float=hard --with-fpu=neon-fp16 --target=arm-none-eabi "$@")
echo Done running gcc/configure

echo Running src/autogen.sh
(cd lib; ../../src/autogen.sh "$@")
{'fraction_non_alphanumeric': 0.1429512516469038, 'fraction_numerical': 0.015810276679841896, 'mean_word_length': 3.0943396226415096, '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': '6043117', 'n_tokens_mistral': 601, 'n_tokens_neox': 548, 'n_words': 199}