mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-22 06:07:49 +00:00
samples: show the PPL, GLoog/ppl and MPC versions
When displaying a sample, do show the PPL, CLoog/ppl and MPC versions
This commit is contained in:
parent
565378d2b9
commit
ea352a96a3
@ -29,7 +29,7 @@ dump_single_sample() {
|
|||||||
fi
|
fi
|
||||||
. "${sample_top}/samples/${sample}/crosstool.config"
|
. "${sample_top}/samples/${sample}/crosstool.config"
|
||||||
if [ -z "${wiki}" ]; then
|
if [ -z "${wiki}" ]; then
|
||||||
t_width=10
|
t_width=13
|
||||||
printf " %-*s [%s" ${width} "${sample}" "${sample_type}"
|
printf " %-*s [%s" ${width} "${sample}" "${sample_type}"
|
||||||
[ -f "${sample_top}/samples/${sample}/broken" ] && printf "B" || printf " "
|
[ -f "${sample_top}/samples/${sample}/broken" ] && printf "B" || printf " "
|
||||||
[ "${CT_EXPERIMENTAL}" = "y" ] && printf "X" || printf " "
|
[ "${CT_EXPERIMENTAL}" = "y" ] && printf "X" || printf " "
|
||||||
@ -45,6 +45,9 @@ dump_single_sample() {
|
|||||||
if [ "${CT_GMP_MPFR}" = "y" ]; then
|
if [ "${CT_GMP_MPFR}" = "y" ]; then
|
||||||
printf " %-*s : %s\n" ${t_width} "GMP/MPFR" "gmp-${CT_GMP_VERSION} / mpfr-${CT_MPFR_VERSION}"
|
printf " %-*s : %s\n" ${t_width} "GMP/MPFR" "gmp-${CT_GMP_VERSION} / mpfr-${CT_MPFR_VERSION}"
|
||||||
fi
|
fi
|
||||||
|
if [ "${CT_PPL_CLOOG_MPC}" = "y" ]; then
|
||||||
|
printf " %-*s : %s\n" ${t_width} "PPL/CLOOG/MPC" "ppl-${CT_PPL_VERSION} / cloog-${CT_CLOOG_VERSION} / mpc-${CT_MPC_VERSION}"
|
||||||
|
fi
|
||||||
printf " %-*s : %s\n" ${t_width} "binutils" "binutils-${CT_BINUTILS_VERSION}"
|
printf " %-*s : %s\n" ${t_width} "binutils" "binutils-${CT_BINUTILS_VERSION}"
|
||||||
printf " %-*s : %s" ${t_width} "C compiler" "${CT_CC}-${CT_CC_VERSION} (C"
|
printf " %-*s : %s" ${t_width} "C compiler" "${CT_CC}-${CT_CC_VERSION} (C"
|
||||||
[ "${CT_CC_LANG_CXX}" = "y" ] && printf ",C++"
|
[ "${CT_CC_LANG_CXX}" = "y" ] && printf ",C++"
|
||||||
|
Loading…
Reference in New Issue
Block a user