1 #ifndef _NVBLDVER_H_ 2 #define _NVBLDVER_H_ 3 4 #ifndef NVBLDVER_STRINGIZE 5 #define NVBLDVER_STRINGIZE(t) #t 6 #endif 7 #ifndef STRINGIZE 8 #define STRINGIZE(t) NVBLDVER_STRINGIZE(t) 9 #endif 10 11 // These variables can be overridden using ENV vars, see nvCommon.nvmk. 12 // If no env vars are set, then the defaults seen here will be used. 13 // In DVS builds, the ENV vars are used to control these values. 14 // Note- the value of NV_BUILD_CL and NV_BUILD_TYPE_NON_BM is only used in 15 // non-buildmeister builds, see override section below. 16 // DVS_SW_CHANGELIST has been added to ENV vars in bug 1486673 17 #ifndef DVS_SW_CHANGELIST 18 #define DVS_SW_CHANGELIST 0 19 #endif 20 #ifndef NV_BUILD_CL 21 #define NV_BUILD_CL (DVS_SW_CHANGELIST) 22 #endif 23 #if NV_BUILD_CL == 0 24 #define NV_BUILD_CL (DVS_SW_CHANGELIST) 25 #endif 26 #ifndef NV_BUILD_TYPE_NON_BM 27 #define NV_BUILD_TYPE_NON_BM Private 28 #endif 29 #ifndef NV_BUILD_AUTHOR 30 #define NV_BUILD_AUTHOR unknown 31 #endif 32 // End ENV var section 33 34 35 // The values of the following strings are set via a buildmeister python script, 36 // and then checked back in. You cannot make changes to these sections without 37 // corresponding changes to the buildmeister script 38 #ifndef NV_BUILD_BRANCH 39 #define NV_BUILD_BRANCH r551_06 40 #endif 41 #ifndef NV_PUBLIC_BRANCH 42 #define NV_PUBLIC_BRANCH r551_06 43 #endif 44 45 #if defined(NV_LINUX) || defined(NV_BSD) || defined(NV_SUNOS) 46 #define NV_BUILD_BRANCH_VERSION "rel/gpu_drv/r550/r551_06-132" 47 #define NV_BUILD_CHANGELIST_NUM (33773930) 48 #define NV_BUILD_TYPE "Official" 49 #define NV_BUILD_NAME "rel/gpu_drv/r550/r551_06-132" 50 #define NV_LAST_OFFICIAL_CHANGELIST_NUM (33773930) 51 52 #else /* Windows builds */ 53 #define NV_BUILD_BRANCH_VERSION "r551_06-14" 54 #define NV_BUILD_CHANGELIST_NUM (33773930) 55 #define NV_BUILD_TYPE "Official" 56 #define NV_BUILD_NAME "551.23" 57 #define NV_LAST_OFFICIAL_CHANGELIST_NUM (33773930) 58 #define NV_BUILD_BRANCH_BASE_VERSION R550 59 #endif 60 // End buildmeister python edited section 61 62 // A few of the values are defined differently for non-buildmeister builds, 63 // this section redefines those defines 64 #ifndef NV_BUILDMEISTER_BLD 65 #undef NV_BUILD_TYPE 66 #define NV_BUILD_TYPE STRINGIZE(NV_BUILD_TYPE_NON_BM) 67 #undef NV_BUILD_CHANGELIST_NUM 68 #define NV_BUILD_CHANGELIST_NUM NV_BUILD_CL 69 #endif 70 71 #define NV_DISPLAY_DRIVER_TITLE NV_BUILD_TYPE " " STRINGIZE(NV_BUILD_BRANCH) " " NV_BUILD_NAME " " STRINGIZE(NV_BUILD_AUTHOR) 72 73 #endif 74