File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -627,10 +627,38 @@ function gg_sum_rerank_tiny {
627627}
628628
629629function gg_check_build_requirements {
630+ if ! command -v git & > /dev/null; then
631+ gg_printf ' git not found, please install'
632+ fi
633+
634+ if ! command -v git-lfs & > /dev/null; then
635+ gg_printf ' git-lfs not found, please install'
636+ fi
637+
638+ if ! command -v wget & > /dev/null; then
639+ gg_printf ' wget not found, please install'
640+ fi
641+
642+ if ! command -v python3 & > /dev/null; then
643+ gg_printf ' python3 not found, please install'
644+ fi
645+
646+ if ! command -v pip3 & > /dev/null; then
647+ gg_printf ' pip3 not found, please install'
648+ fi
649+
650+ if ! python3 -m ensurepip --help & > /dev/null; then
651+ gg_printf ' ensurepip not found, please install python3-venv package'
652+ fi
653+
630654 if ! command -v cmake & > /dev/null; then
631655 gg_printf ' cmake not found, please install'
632656 fi
633657
658+ if ! command -v ccache & > /dev/null; then
659+ gg_printf ' ccache not found, please consider installing for faster builds'
660+ fi
661+
634662 if ! command -v ctest & > /dev/null; then
635663 gg_printf ' ctest not found, please install'
636664 fi
You can’t perform that action at this time.
0 commit comments