To install from the GIT repository:
0. Clone the code from GIT:
- git clone git://sourceware.org/git/valgrind.git
+ git clone https://sourceware.org/git/valgrind.git
There are further instructions at
http://www.valgrind.org/downloads/repository.html.
mkdir gcc
cd gcc
git init
-git remote add origin git://gcc.gnu.org/git/gcc.git
+git remote add origin https://gcc.gnu.org/git/gcc.git
git config core.sparsecheckout true
echo "libiberty/*" > .git/info/sparse-checkout
echo "include/*" >> .git/info/sparse-checkout
mkdir valgrind-sparse-clone
cd valgrind-sparse-clone
git init
-git remote add origin -f git://sourceware.org/git/valgrind.git/
+git remote add origin -f https://sourceware.org/git/valgrind.git/
git config core.sparsecheckout true
echo "coregrind/m_demangle/*" > .git/info/sparse-checkout
git pull origin master
Valgrind users can clone the Valgrind source code repository as follows:
-git clone git://sourceware.org/git/valgrind.git/
+git clone https://sourceware.org/git/valgrind.git/
Valgrind Developers
-------------------
(1) Clone a shallow copy from the repository, eg:
- git clone --depth 1 git://sourceware.org/git/valgrind.git/ $DIR
+ git clone --depth 1 https://sourceware.org/git/valgrind.git/ $DIR
where $DIR is the name of the directory you want it to be in.
You'll probably want to include "nightly" in the directory name.
MAKE=make
fi
-valgrind_git_repo="git://sourceware.org/git/valgrind.git/"
+valgrind_git_repo="https://sourceware.org/git/valgrind.git/"
# Must have exactly two arguments
if [ $# -ne 2 ] ; then
# - pkgrepo set -s $repo_uri publisher/prefix=valgrind
#
-GITREPO=git://sourceware.org/git/valgrind.git/
+GITREPO=https://sourceware.org/git/valgrind.git/
TMPDIR=/var/tmp/valgrind-build
SRCDIR=$TMPDIR/sources
INSTALLDIR=$TMPDIR/install