Deprecate installing 32bit build dependencies on a 64bit

system. Instead, point the developer towards the install-chroot.sh
script, which is a cleaner way to achieve the same goal.

BUG=none
TEST=none
Review URL: https://chromiumcodereview.appspot.com/9706076

git-svn-id: http://src.chromium.org/svn/trunk/src/build@126989 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
markus@chromium.org 2012-03-15 20:56:27 +00:00
Родитель 6281a628f4
Коммит e222ce6807
1 изменённых файлов: 12 добавлений и 15 удалений

Просмотреть файл

@ -211,22 +211,14 @@ fi
if [ "$(uname -m)" = "x86_64" ]; then
if test "$do_inst_lib32" = ""
then
echo "Installing 32bit libraries not already provided by the system"
echo "We no longer recommend that you use this script to install"
echo "32bit libraries on a 64bit system. Instead, consider using"
echo "the install-chroot.sh script to help you set up a 32bit"
echo "environment for building and testing 32bit versions of Chrome."
echo
echo "This is only needed to build a 32-bit Chrome on your 64-bit system."
echo
echo "While we only need to install a relatively small number of library"
echo "files, we temporarily need to download a lot of large *.deb packages"
echo "that contain these files. We will create new *.deb packages that"
echo "include just the 32bit libraries. These files will then be found on"
echo "your system in places like /lib32, /usr/lib32, /usr/lib/debug/lib32,"
echo "/usr/lib/debug/usr/lib32. If you ever need to uninstall these files,"
echo "look for packages named *-ia32.deb."
echo "Do you want me to download all packages needed to build new 32bit"
echo -n "package files (y/N) "
if yes_no 1; then
do_inst_lib32=1
fi
echo "If you nonetheless want to try installing 32bit libraries"
echo "directly, you can do so by explicitly passing the --lib32"
echo "option to install-build-deps.sh.
fi
if test "$do_inst_lib32" != "1"
then
@ -234,6 +226,11 @@ if [ "$(uname -m)" = "x86_64" ]; then
exit 0
fi
echo "N.B. the code for installing 32bit libraries on a 64bit"
echo " system is no longer actively maintained and might"
echo " not work with modern versions of Ubuntu or Debian."
echo
# Standard 32bit compatibility libraries
echo "First, installing the limited existing 32-bit support..."
cmp_list="ia32-libs lib32asound2-dev lib32stdc++6 lib32z1