Bug 373232 - Time::HisRes perl module needed for MozillaBuild (for perf testing) r=luser

This commit is contained in:
benjamin%smedbergs.us 2007-03-09 15:35:40 +00:00
Родитель 5758a8f987
Коммит 0ce90c95cf
3 изменённых файлов: 26 добавлений и 0 удалений

Двоичные данные
tools/build-environment/win32/Time-HiRes-1.9707.tar.gz Normal file

Двоичный файл не отображается.

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

@ -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"
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
# the DLL. Since I can't figure out how to rebase just one
# DLL to avoid conflicts with a set of others, we just