Skip to content

Commit 7f8c112

Browse files
author
Matthias Koeppe
committed
build/bin/sage-spkg: Don't talk about compilers when installing a wheel package
1 parent 1cd4990 commit 7f8c112

File tree

1 file changed

+15
-8
lines changed

1 file changed

+15
-8
lines changed

build/bin/sage-spkg

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -646,14 +646,21 @@ done
646646

647647
actually_build_and_install() { ###################################
648648

649-
echo "****************************************************"
650-
echo "Host system:"
651-
uname -a
652-
echo "****************************************************"
653-
echo "C compiler: $CC"
654-
echo "C compiler version:"
655-
$CC -v
656-
echo "****************************************************"
649+
case "$PKG_SRC" in
650+
*.whl)
651+
# Silence is golden.
652+
;;
653+
*)
654+
echo "****************************************************"
655+
echo "Host system:"
656+
uname -a
657+
echo "****************************************************"
658+
echo "C compiler: $CC"
659+
echo "C compiler version:"
660+
$CC -v
661+
echo "****************************************************"
662+
;;
663+
esac
657664

658665
# Poison the proxy variable to forbid downloads in spkg-install
659666
# for normal packages

0 commit comments

Comments
 (0)