[ofw] svn.1806 trunk\etc\makebin.bat commit
Smith, Stan
stan.smith at intel.com
Mon Jan 5 12:09:45 PST 2009
Support winmad.dll, libibmad.dll, libibumad.dll,
symbols for ibverbs utils ibv_asyncwatch.pdb ibv_devinfo.pdb ibv_rc_pingpong.pdb ibv_read_bw.pdb ibv_read_lat.pdb ibv_send_bw.pdb ibv_send_lat.pdb ibv_uc_pingpong.pdb ibv_ud_pingpong.pdb ibv_write_bw.pdb ibv_write_lat.pdb sminfo.pdb ibstat.pdb perfquery.pdb ibaddr.pdb
Script progress output (echo stmts).
diff U3 C:/Documents and Settings/scsmith/Local Settings/Temp/makebin.bat-revBASE.svn000.tmp.bat C:/Documents and Settings/scsmith/My Documents/openIB-windows/SVN/gen1/trunk/etc/makebin.bat
--- C:/Documents and Settings/scsmith/Local Settings/Temp/makebin.bat-revBASE.svn000.tmp.bat Mon Jan 05 11:36:57 2009
+++ C:/Documents and Settings/scsmith/My Documents/openIB-windows/SVN/gen1/trunk/etc/makebin.bat Fri Dec 19 17:52:41 2008
@@ -69,7 +69,7 @@
if "%DBG%" == "TRUE" echo DBG: AMD64 free drivers
-set F=ibbus.sys ibbus.pdb ibiou.sys ibiou.pdb ib_iou.inf mthca.sys mthca.inf mthca.pdb mlx4_hca.sys mlx4_hca.pdb mlx4_hca.inf mlx4_bus.sys mlx4_bus.pdb mlx4_bus.inf winverbs.sys winverbs.pdb
+set F=ibbus.sys ibbus.pdb ibiou.sys ibiou.pdb ib_iou.inf mthca.sys mthca.inf mthca.pdb mlx4_hca.sys mlx4_hca.pdb mlx4_hca.inf mlx4_bus.sys mlx4_bus.pdb mlx4_bus.inf winverbs.sys winverbs.pdb winmad.sys winmad.pdb
for %%i in ( %F% ) do (
xcopy %bin_dir%\%%i %dest_dir% /yq 1> nul
if ERRORLEVEL 1 (
@@ -97,7 +97,7 @@
if "%DBG%" == "TRUE" echo DBG: ia64 free drivers
-set F=ibbus.sys ibbus.pdb ibiou.sys ibiou.pdb ib_iou.inf mthca.sys mthca.inf mthca.pdb mlx4_hca.sys mlx4_hca.pdb mlx4_hca.inf mlx4_bus.sys mlx4_bus.pdb mlx4_bus.inf winverbs.sys winverbs.pdb
+set F=ibbus.sys ibbus.pdb ibiou.sys ibiou.pdb ib_iou.inf mthca.sys mthca.inf mthca.pdb mlx4_hca.sys mlx4_hca.pdb mlx4_hca.inf mlx4_bus.sys mlx4_bus.pdb mlx4_bus.inf winverbs.sys winverbs.pdb winmad.sys winmad.pdb
for %%i in ( %F% ) do (
xcopy %bin_dir%\%%i %dest_dir% /yq 1>nul
if ERRORLEVEL 1 (
@@ -128,7 +128,7 @@
set bin_dir=%1\bin\kernel\objfre_%OSE%_x86\i386
set dest_dir=%2\HCA\x86\
-set F=ibbus.sys ibbus.pdb ibiou.sys ibiou.pdb ib_iou.inf mthca.sys mthca.pdb mthca.inf mlx4_hca.sys mlx4_hca.pdb mlx4_hca.inf mlx4_bus.sys mlx4_bus.pdb mlx4_bus.inf winverbs.sys winverbs.pdb
+set F=ibbus.sys ibbus.pdb ibiou.sys ibiou.pdb ib_iou.inf mthca.sys mthca.pdb mthca.inf mlx4_hca.sys mlx4_hca.pdb mlx4_hca.inf mlx4_bus.sys mlx4_bus.pdb mlx4_bus.inf winverbs.sys winverbs.pdb winmad.sys winmad.pdb
for %%i in ( %F% ) do (
xcopy %bin_dir%\%%i %dest_dir% /yq 1>nul
if ERRORLEVEL 1 (
@@ -176,7 +176,7 @@
)
echo xcopy winverbs: User checked to HCA\amd64
-set F=winverbsd.dll winverbsd.lib libibverbsd.dll libibverbsd.lib libibverbsd.pdb
+set F=winverbsd.dll winverbsd.lib winmadd.dll winmadd.lib libibverbsd.dll libibverbsd.lib libibverbsd.pdb libibumadd.lib libibumadd.dll libibumadd.pdb libibmadd.lib libibmadd.dll libibmadd.pdb
for %%i in ( %F% ) do (
xcopy %bin_dir%\%%i %dest_dir% /yq 1>nul
@@ -234,7 +234,7 @@
)
echo xcopy winverbs: User checked to HCA\ia64
-set F=winverbsd.dll winverbsd.lib libibverbsd.dll libibverbsd.lib libibverbsd.pdb
+set F=winverbsd.dll winverbsd.lib winmadd.dll winmadd.lib libibverbsd.dll libibverbsd.lib libibverbsd.pdb libibumadd.lib libibumadd.dll libibumadd.pdb libibmadd.lib libibmadd.dll libibmadd.pdb
for %%i in ( %F% ) do (
xcopy %bin_dir%\%%i %dest_dir% /yq 1>nul
@@ -294,7 +294,7 @@
)
echo xcopy winverbs: User checked to HCA\x86
-set F=winverbsd.dll winverbsd.lib libibverbsd.dll libibverbsd.lib libibverbsd.pdb
+set F=winverbsd.dll winverbsd.lib winmadd.dll winmadd.lib libibverbsd.dll libibverbsd.lib libibverbsd.pdb libibumadd.lib libibumadd.dll libibumadd.pdb libibmadd.lib libibmadd.dll libibmadd.pdb
for %%i in ( %F% ) do (
xcopy %bin_dir%\%%i %dest_dir% /yq 1>nul
@@ -390,7 +390,7 @@
)
echo xcopy winverbs: User free to HCA\amd64
-set F=winverbs.dll winverbs.lib libibverbs.dll libibverbs.lib libibverbs.pdb
+set F=winverbs.dll winverbs.lib winmad.dll winmad.lib libibverbs.dll libibverbs.lib libibverbs.pdb libibumad.lib libibumad.dll libibumad.pdb libibmad.lib libibmad.dll libibmad.pdb
for %%i in ( %F% ) do (
xcopy %bin_dir%\%%i %dest_dir% /yq 1>nul
@@ -407,9 +407,19 @@
xcopy %bin_dir%\ndinstall.exe %2\tools\amd64\release\ /yq
xcopy %bin_dir%\ibndprov.dll %2\net\amd64\ /yq
-echo xcopy *.exe tools\amd64\release\
+echo xcopy amd64 Free *.exe tools\amd64\release\
xcopy %bin_dir%\*.exe %2\tools\amd64\release\ /yq 1>nul
+echo xcopy AMD64 [Winverb-apps].pdb tools\amd64\release\
+set G=ibv_asyncwatch.pdb ibv_devinfo.pdb ibv_rc_pingpong.pdb ibv_read_bw.pdb ibv_read_lat.pdb ibv_send_bw.pdb ibv_send_lat.pdb ibv_uc_pingpong.pdb ibv_ud_pingpong.pdb ibv_write_bw.pdb ibv_write_lat.pdb sminfo.pdb ibstat.pdb perfquery.pdb ibaddr.pdb
+for %%i in ( %G% ) do (
+ xcopy %bin_dir%\%%i %2\tools\amd64\release\ /yq 1>nul
+ if ERRORLEVEL 1 (
+ echo ERR on xcopy %bin_dir%\%%i %2\tools\amd64\release\ /yq
+ exit /B 1
+ )
+)
+
set F=dapl.dll dapl.pdb dat.dll dat.lib dat.pdb
for %%i in ( %F% ) do (
@@ -455,7 +465,7 @@
)
echo xcopy winverbs: User free to HCA\ia64
-set F=winverbs.dll winverbs.lib libibverbs.dll libibverbs.lib libibverbs.pdb
+set F=winverbs.dll winverbs.lib winmad.dll winmad.lib libibverbs.dll libibverbs.lib libibverbs.pdb libibumad.lib libibumad.dll libibumad.pdb libibmad.lib libibmad.dll libibmad.pdb
for %%i in ( %F% ) do (
xcopy %bin_dir%\%%i %dest_dir% /yq 1>nul
@@ -470,8 +480,17 @@
xcopy %bin_dir%\ndinstall.exe %2\net\ia64\ /yq
xcopy %bin_dir%\ibndprov.dll %2\net\ia64\ /yq
-echo xcopy *.exe tools\ia64\release\
+echo xcopy IA64 Free *.exe tools\ia64\release\
xcopy %bin_dir%\*.exe %2\tools\ia64\release\ /yq 1>nul
+echo xcopy IA64 [Winverb-apps].pdb tools\ia64\release\
+set G=ibv_asyncwatch.pdb ibv_devinfo.pdb ibv_rc_pingpong.pdb ibv_read_bw.pdb ibv_read_lat.pdb ibv_send_bw.pdb ibv_send_lat.pdb ibv_uc_pingpong.pdb ibv_ud_pingpong.pdb ibv_write_bw.pdb ibv_write_lat.pdb sminfo.pdb ibstat.pdb perfquery.pdb ibaddr.pdb
+for %%i in ( %G% ) do (
+ xcopy %bin_dir%\%%i %2\tools\ia64\release\ /yq 1>nul
+ if ERRORLEVEL 1 (
+ echo ERR on xcopy %bin_dir%\%%i %2\tools\ia64\release\ /yq
+ exit /B 1
+ )
+)
set F=dapl.dll dapl.pdb dat.dll dat.lib dat.pdb
@@ -520,7 +539,7 @@
)
echo xcopy winverbs: User free to HCA\x86
-set F=winverbs.dll winverbs.lib libibverbs.dll libibverbs.lib libibverbs.pdb
+set F=winverbs.dll winverbs.lib winmad.dll winmad.lib libibverbs.dll libibverbs.lib libibverbs.pdb libibumad.lib libibumad.dll libibumad.pdb libibmad.lib libibmad.dll libibmad.pdb
for %%i in ( %F% ) do (
xcopy %bin_dir%\%%i %dest_dir% /yq 1>nul
@@ -532,6 +551,15 @@
echo xcopy x86 free *.exe to tools\x86\release
xcopy %bin_dir%\*.exe %2\tools\x86\release\ /yq 1>nul
+echo xcopy X86 Free [Winverb-apps].pdb tools\x86\release\
+set G=ibv_asyncwatch.pdb ibv_devinfo.pdb ibv_rc_pingpong.pdb ibv_read_bw.pdb ibv_read_lat.pdb ibv_send_bw.pdb ibv_send_lat.pdb ibv_uc_pingpong.pdb ibv_ud_pingpong.pdb ibv_write_bw.pdb ibv_write_lat.pdb sminfo.pdb ibstat.pdb perfquery.pdb ibaddr.pdb
+for %%i in ( %G% ) do (
+ xcopy %bin_dir%\%%i %2\tools\x86\release\ /yq 1>nul
+ if ERRORLEVEL 1 (
+ echo ERR on xcopy %bin_dir%\%%i %2\tools\x86\release\ /yq
+ exit /B 1
+ )
+)
set F=dapl.dll dapl.pdb dat.dll dat.lib dat.pdb
@@ -585,6 +613,9 @@
copy /B %bin_dir%\winverbs.dll %2\HCA\amd64\winverbs32.dll /y
copy /B %bin_dir%\winverbs.lib %2\HCA\amd64\winverbs32.lib /y
copy /B %bin_dir%\winverbs.pdb %2\HCA\amd64\winverbs32.pdb /y
+copy /B %bin_dir%\winmad.dll %2\HCA\amd64\winverbs32.dll /y
+copy /B %bin_dir%\winmad.lib %2\HCA\amd64\winverbs32.lib /y
+copy /B %bin_dir%\winmad.pdb %2\HCA\amd64\winverbs32.pdb /y
copy /B %bin_dir%\ibal.dll %2\HCA\ia64\ibal32.dll /y
copy /B %bin_dir%\ibal.lib %2\HCA\ia64\ibal32.lib /y
@@ -595,6 +626,9 @@
copy /B %bin_dir%\winverbs.dll %2\HCA\ia64\winverbs32.dll /y
copy /B %bin_dir%\winverbs.lib %2\HCA\ia64\winverbs32.lib /y
copy /B %bin_dir%\winverbs.pdb %2\HCA\ia64\winverbs32.pdb /y
+copy /B %bin_dir%\winmad.dll %2\HCA\ia64\winverbs32.dll /y
+copy /B %bin_dir%\winmad.lib %2\HCA\ia64\winverbs32.lib /y
+copy /B %bin_dir%\winmad.pdb %2\HCA\ia64\winverbs32.pdb /y
copy /B %bin_dir%\mthcau.dll %2\HCA\amd64\mthca32.dll /y
copy /B %bin_dir%\mthcau.dll %2\HCA\ia64\mthca32.dll /y
@@ -789,6 +823,7 @@
)
)
+echo "Copy Checked drivers {HCA,net,storage} to %2\Chk"
for %%i in ( HCA net storage ) do (
xcopy %2\%%i %2\Chk\%%i\ /S /Y /Q
if ERRORLEVEL 1 (
@@ -802,6 +837,7 @@
@del /F/Q %%i
)
+echo "Copy Checked drivers {ibbus,mthca,mlx} to %2\Chk\HCA\{amd64,ia64,x86}"
set B=%2\bin\kernel\objchk_%3
for %%i in ( ibbus mthca ibiou mlx4_hca mlx4_bus ) do (
@@ -821,6 +857,7 @@
)
+echo "Copy Checked drivers {ipoib,qlgcvnic} to %2\Chk\net\{amd64,ia64,x86}"
for %%i in ( ipoib qlgcvnic ) do (
if exist %B%_amd64\amd64\%%i.sys (
copy /B/Y %B%_amd64\amd64\%%i.sys %2\Chk\net\amd64\%%i.sys
@@ -836,6 +873,7 @@
)
)
+echo "Copy Checked drivers {ibsrp} to %2\Chk\storage\{amd64,ia64,x86}"
for %%i in ( ibsrp ) do (
if exist %B%_amd64\amd64\%%i.sys (
copy /B/Y %B%_amd64\amd64\%%i.sys %2\Chk\storage\amd64\%%i.sys
-------------- next part --------------
A non-text attachment was scrubbed...
Name: makebin.bat.patch
Type: application/octet-stream
Size: 9117 bytes
Desc: makebin.bat.patch
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20090105/efc8f8fb/attachment.obj>
More information about the ofw
mailing list