commit 44161e27c5ad7f53988f2eab264aa434489ed9f6 Author: Nicolas Vigier boklm@torproject.org Date: Sat Oct 17 22:38:10 2015 +0200
mingw-w64: build from a non-random directory --- projects/mingw-w64/build | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/projects/mingw-w64/build b/projects/mingw-w64/build index 88f61c2..869dea2 100644 --- a/projects/mingw-w64/build +++ b/projects/mingw-w64/build @@ -3,23 +3,23 @@ set -e rootdir=$(pwd) distdir=/var/tmp/dist/[% project %]
+mkdir /var/tmp/build mkdir /var/tmp/dist cd /var/tmp/dist tar xf $rootdir/[% c('input_files_by_name/binutils') %] mv binutils $distdir export PATH="$distdir/bin:$PATH" -cd $rootdir
- -tar xf [% project %]-[% c("version") %].tar.gz +cd /var/tmp/build +tar xf $rootdir/[% project %]-[% c("version") %].tar.gz mkdir -p builddir/mingw-w64/mingw-w64-headers32 cd builddir/mingw-w64/mingw-w64-headers32 -$rootdir/[% project %]-[% c("version") %]/mingw-w64-headers/configure \ +/var/tmp/build/[% project %]-[% c("version") %]/mingw-w64-headers/configure \ --prefix=$distdir/i686-w64-mingw32 --host=i686-w64-mingw32 \ --enable-sdk=all --enable-secure-api --enable-idl make install
-cd $rootdir +cd /var/tmp/build mkdir gcc cd gcc tar xjf $rootdir/gcc-[% c("var/gcc_version") %].tar.bz2 @@ -35,21 +35,21 @@ gcc-[% c("var/gcc_version") %]/configure --prefix=$distdir --target=i686-w64-min make -j4 all-gcc make install-gcc
-mkdir -p $rootdir/builddir/mingw-w64/mingw-w64-crt32 -cd $rootdir/builddir/mingw-w64/mingw-w64-crt32 -$rootdir/[% project %]-[% c("version") %]/mingw-w64-crt/configure \ +mkdir -p /var/tmp/build/builddir/mingw-w64/mingw-w64-crt32 +cd /var/tmp/build/builddir/mingw-w64/mingw-w64-crt32 +/var/tmp/build/[% project %]-[% c("version") %]/mingw-w64-crt/configure \ --host=i686-w64-mingw32 --prefix=$distdir/i686-w64-mingw32 make -j4 make install
-mkdir -p $rootdir/builddir/mingw-w64/widl32 -cd $rootdir/builddir/mingw-w64/widl32 -$rootdir/[% project %]-[% c("version") %]/mingw-w64-tools/widl/configure \ +mkdir -p /var/tmp/build/builddir/mingw-w64/widl32 +cd /var/tmp/build/builddir/mingw-w64/widl32 +/var/tmp/build/[% project %]-[% c("version") %]/mingw-w64-tools/widl/configure \ --prefix=$distdir --target=i686-w64-mingw32 make -j4 make install
-cd $rootdir/gcc +cd /var/tmp/build/gcc make -j4 make install mkdir -p $distdir/gcclibs
tor-commits@lists.torproject.org