Bug 373232 - Time::HisRes perl module needed for MozillaBuild (for perf testing) r=luser
This commit is contained in:
Родитель
5758a8f987
Коммит
0ce90c95cf
Двоичный файл не отображается.
|
@ -0,0 +1,18 @@
|
||||||
|
rem This script is specific to the paths on bsmedberg's machine. Alter to
|
||||||
|
rem suit your environment.
|
||||||
|
|
||||||
|
set VC8DIR=C:\Program Files\Microsoft Visual Studio 8
|
||||||
|
set SDKDIR=C:\Program Files\Microsoft Platform SDK 2003SP1
|
||||||
|
set PYTHONDIR=C:\python25
|
||||||
|
set SRCDIR=%~dp0%
|
||||||
|
|
||||||
|
call "%VC8DIR%\VC\bin\vcvars32.bat"
|
||||||
|
set INCLUDE=%SDKDIR%\Include\atl;%INCLUDE%
|
||||||
|
|
||||||
|
rmdir /S %SRCDIR%\_obj
|
||||||
|
mkdir %SRCDIR%\_obj
|
||||||
|
|
||||||
|
cd %SRCDIR%\_obj
|
||||||
|
%PYTHONDIR%\python.exe ..\packageit.py
|
||||||
|
|
||||||
|
pause
|
|
@ -21,6 +21,14 @@ make test
|
||||||
make install PREFIX="${MSYS_STAGEDIR}/mozilla-build/msys"
|
make install PREFIX="${MSYS_STAGEDIR}/mozilla-build/msys"
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
tar -xzf "${MSYS_SRCDIR}/Time-HiRes-1.9707.tar.gz" -C "${MSYS_STAGEDIR}"
|
||||||
|
pushd "${MSYS_STAGEDIR}/Time-HiRes-1.9707"
|
||||||
|
perl Makefile.pl
|
||||||
|
make LD="gcc -shared"
|
||||||
|
# make test fails because of misconfigured virtual internal timers :-(
|
||||||
|
make install PREFIX="${MSYS_STAGEDIR}/mozilla-build/msys"
|
||||||
|
popd
|
||||||
|
|
||||||
# In order for this to actually work, we now need to rebase
|
# In order for this to actually work, we now need to rebase
|
||||||
# the DLL. Since I can't figure out how to rebase just one
|
# the DLL. Since I can't figure out how to rebase just one
|
||||||
# DLL to avoid conflicts with a set of others, we just
|
# DLL to avoid conflicts with a set of others, we just
|
||||||
|
|
Загрузка…
Ссылка в новой задаче