[ofw] Network Direct IB Provider source build enabled as part of std build.

Smith, Stan stan.smith at intel.com
Thu Apr 23 10:35:07 PDT 2009


Hello,
  Network Direct IB provider src build has arrived.

Stan.


Revision: 2118
Author: stansmith
Date: 9:30:58 AM, Thursday, April 23, 2009
Message:
[NetworkDirect] Enable Network Direct IB provider builds.

if Server 2008 HPC SDK installed (ND_INC env defined) then build ND for x86 & x64.
No IA64 ND support until ND over Winverbs.
In addition to the Server 2008 HPC SDK requirement, MS Windows SDK 'v6.1' also required.

if !HPC SDK installed, skip ND provider build for all architectures.

----
Modified : /gen1/trunk/ulp/nd/user/NdProv.rc
Modified : /gen1/trunk/ulp/nd/user/SOURCES
Modified : /gen1/trunk/ulp/nd/user/makefile


Index: NdProv.rc
===================================================================
--- NdProv.rc   (revision 2117)
+++ NdProv.rc   (revision 2118)
@@ -36,11 +36,11 @@
 #define VER_FILESUBTYPE                                VFT2_UNKNOWN

 #ifdef _DEBUG_
-#define VER_FILEDESCRIPTION_STR                "OpenFabrics Network Direct Provider (Debug)"
+#define VER_FILEDESCRIPTION_STR                "OpenFabrics Network Direct Infiniband Provider (Debug)"
 #define VER_INTERNALNAME_STR           "ibndprov.dll"
 #define VER_ORIGINALFILENAME_STR       "ibndprov.dll"
 #else
-#define VER_FILEDESCRIPTION_STR                "OpenFabrics Network Direct Provider"
+#define VER_FILEDESCRIPTION_STR                "OpenFabrics Network Direct Infiniband Provider"
 #define VER_INTERNALNAME_STR           "ibndprov.dll"
 #define VER_ORIGINALFILENAME_STR       "ibndprov.dll"
 #endif

Index: SOURCES
===================================================================
--- C:/Documents and Settings/scsmith/My Documents/openIB-windows/SVN/gen1/trunk/ulp/nd/user/SOURCES.2087       Thu Apr 23 10:15:32 2009
+++ C:/Documents and Settings/scsmith/My Documents/openIB-windows/SVN/gen1/trunk/ulp/nd/user/SOURCES    Thu Apr 23 10:16:24 2009
@@ -2,7 +2,7 @@

 TARGETPATH=..\..\..\bin\user\obj$(BUILD_ALT_DIR)
 TARGETTYPE=DYNLINK
-DLLDEF=NdProv.def
+DLLDEF = $(OBJ_PATH)\$O\NdProv.def
 DLLENTRY=DllMain

 !if $(FREEBUILD)
@@ -13,7 +13,12 @@

 USE_NTDLL=1

-SOURCES=\
+# MS HPC 2008 SDK required to build!
+# ND IB Provider is skipped if not installed - see makefile
+ND_INC_S=C:\PROGRA~1\MICROS~4\NetworkDirect\Include
+PLATFORM_SDK_PATH_S=C:\PROGRA~1\MICROS~3\Windows\v6.1
+
+SOURCES= \
        NdProv.rc                               \
        NdAdapter.cpp                   \
        NdCq.cpp                                \
@@ -25,7 +30,7 @@
        NdConnector.cpp


-INCLUDES=$(SDK_INC_PATH);..;..\..\..\inc;..\..\..\inc\user;..\..\..\core\al;..\..\..\core\al\user;$(ND_INC);$(PLATFORM_SDK_PATH)\Include
+INCLUDES=$(SDK_INC_PATH);..;..\..\..\inc;..\..\..\inc\user;..\..\..\core\al;..\..\..\core\al\user;$(ND_INC_S);$(PLATFORM_SDK_PATH_S)\Include

 USER_C_FLAGS=$(USER_C_FLAGS) -DEXPORT_AL_SYMBOLS -DCL_NO_TRACK_MEM -DWPP_OLDCC


Index: makefile
===================================================================
--- makefile    (revision 2117)
+++ makefile    (revision 2118)
@@ -4,8 +4,16 @@
 # that is shared by all the driver components of the OpenIB Windows project.
 #

-# ND Provider not supported on IA64
+# If ND SDK installed then Defeat IA64 builds
+# Otherwise, default all builds.

+!IFDEF ND_INC
 DDK_BLOCK_ON_IA64=1
+!ELSE
+!MESSAGE Skipping ibndprov.dll build: HPC SDK not installed.
+DDK_BLOCK_ON_IA64=1
+DDK_BLOCK_ON_X86=1
+DDK_BLOCK_ON_AMD64=1
+!ENDIF

 !INCLUDE ..\..\..\inc\openib.def



More information about the ofw mailing list