Fix several issues with the test-release.sh script
authorDan Liew <dan@su-root.co.uk>
Tue, 14 Jul 2015 19:46:19 +0000 (19:46 +0000)
committerDan Liew <dan@su-root.co.uk>
Tue, 14 Jul 2015 19:46:19 +0000 (19:46 +0000)
commitfb17afba61c1e997da21c28e38500fd38175fd6b
tree8426f63adc84274cca76192aaecd434054a4fd1a
parentd496e176f065e5ae7be6baf6ff5352b222d5665e
Fix several issues with the test-release.sh script

* Use the default install prefix (/usr/local) and use DESTDIR instead to
  set a temporary install location for tarballing. This is the correct
  way to package binary releases (otherwise the temporary install path
  ends up in files in the binary release).
* Remove ``-disable-clang`` option. It did not work correctly
  (tarballing assumed phase 3 was run) and when doing a release
  we should always be doing a three-phased build and test.

Note: Technically we should only be using DESTDIR for the third phase
and use --prefix for the first and second phase because we run the built
clang from phase 1 and 2 (and in general an application's behaviour
may depend on the install prefix). However in the case of clang it
seems to not care what the install prefix was so to simplify the script
we use DESTDIR for all three stages.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@242187 91177308-0d34-0410-b5e6-96231b3b80d8
utils/release/test-release.sh