SL-18837 fixes for test failures.
VERSION_BUILD is now too big to fit in 32 bits, and cpuid doesn't do what we expect under rosettameow-7.2.2
parent
bbd077bda8
commit
ee453bc2d9
|
|
@ -31,6 +31,7 @@ jobs:
|
|||
AUTOBUILD_INSTALLABLE_CACHE: ${{ github.workspace }}/.autobuild-installables
|
||||
AUTOBUILD_VARIABLES_FILE: ${{ github.workspace }}/.build-variables/variables
|
||||
AUTOBUILD_VSVER: "170"
|
||||
AUTOBUILD_BUILD_ID: ${{ github.run_id }}
|
||||
DEVELOPER_DIR: ${{ matrix.developer_dir }}
|
||||
# Ensure that viewer builds engage Bugsplat.
|
||||
BUGSPLAT_DB: "SecondLife_Viewer_2018"
|
||||
|
|
@ -93,7 +94,7 @@ jobs:
|
|||
fi
|
||||
|
||||
autobuild configure --id "${{ github.run_id }}" -- -DVIEWER_CHANNEL="Second Life Test ${GIT_REF##*/}"
|
||||
autobuild build --no-configure
|
||||
autobuild build --no-configure
|
||||
|
||||
# Find artifacts
|
||||
if [[ "$RUNNER_OS" == "Windows" ]]; then
|
||||
|
|
|
|||
|
|
@ -746,7 +746,7 @@ private:
|
|||
__cpuid(0x1, eax, ebx, ecx, edx);
|
||||
if(feature_infos[0] != (S32)edx)
|
||||
{
|
||||
LL_ERRS() << "machdep.cpu.feature_bits doesn't match expected cpuid result!" << LL_ENDL;
|
||||
LL_WARNS() << "machdep.cpu.feature_bits doesn't match expected cpuid result!" << LL_ENDL;
|
||||
}
|
||||
#endif // LL_RELEASE_FOR_DOWNLOAD
|
||||
|
||||
|
|
|
|||
|
|
@ -3552,7 +3552,7 @@ void LLAppViewer::writeSystemInfo()
|
|||
gDebugInfo["ClientInfo"]["MajorVersion"] = LLVersionInfo::instance().getMajor();
|
||||
gDebugInfo["ClientInfo"]["MinorVersion"] = LLVersionInfo::instance().getMinor();
|
||||
gDebugInfo["ClientInfo"]["PatchVersion"] = LLVersionInfo::instance().getPatch();
|
||||
gDebugInfo["ClientInfo"]["BuildVersion"] = LLVersionInfo::instance().getBuild();
|
||||
gDebugInfo["ClientInfo"]["BuildVersion"] = STRINGIZE(LLVersionInfo::instance().getBuild());
|
||||
gDebugInfo["ClientInfo"]["AddressSize"] = LLVersionInfo::instance().getAddressSize();
|
||||
|
||||
gDebugInfo["CAFilename"] = gDirUtilp->getCAFile();
|
||||
|
|
@ -5669,7 +5669,7 @@ void LLAppViewer::handleLoginComplete()
|
|||
gDebugInfo["ClientInfo"]["MajorVersion"] = LLVersionInfo::instance().getMajor();
|
||||
gDebugInfo["ClientInfo"]["MinorVersion"] = LLVersionInfo::instance().getMinor();
|
||||
gDebugInfo["ClientInfo"]["PatchVersion"] = LLVersionInfo::instance().getPatch();
|
||||
gDebugInfo["ClientInfo"]["BuildVersion"] = LLVersionInfo::instance().getBuild();
|
||||
gDebugInfo["ClientInfo"]["BuildVersion"] = STRINGIZE(LLVersionInfo::instance().getBuild());
|
||||
|
||||
LLParcel* parcel = LLViewerParcelMgr::getInstance()->getAgentParcel();
|
||||
if ( parcel && parcel->getMusicURL()[0])
|
||||
|
|
|
|||
|
|
@ -91,7 +91,7 @@ S32 LLVersionInfo::getPatch()
|
|||
return LL_VIEWER_VERSION_PATCH;
|
||||
}
|
||||
|
||||
S32 LLVersionInfo::getBuild()
|
||||
S64 LLVersionInfo::getBuild()
|
||||
{
|
||||
return LL_VIEWER_VERSION_BUILD;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@ public:
|
|||
S32 getPatch();
|
||||
|
||||
/// return the build number as an integer
|
||||
S32 getBuild();
|
||||
S64 getBuild();
|
||||
|
||||
/// return the full viewer version as a string like "2.0.0.200030"
|
||||
std::string getVersion();
|
||||
|
|
|
|||
|
|
@ -160,7 +160,7 @@ std::string LLWeb::expandURLSubstitutions(const std::string &url,
|
|||
substitution["VERSION_MAJOR"] = LLVersionInfo::instance().getMajor();
|
||||
substitution["VERSION_MINOR"] = LLVersionInfo::instance().getMinor();
|
||||
substitution["VERSION_PATCH"] = LLVersionInfo::instance().getPatch();
|
||||
substitution["VERSION_BUILD"] = LLVersionInfo::instance().getBuild();
|
||||
substitution["VERSION_BUILD"] = STRINGIZE(LLVersionInfo::instance().getBuild());
|
||||
substitution["CHANNEL"] = LLVersionInfo::instance().getChannel();
|
||||
substitution["GRID"] = LLGridManager::getInstance()->getGridId();
|
||||
substitution["GRID_LOWERCASE"] = utf8str_tolower(LLGridManager::getInstance()->getGridId());
|
||||
|
|
|
|||
Loading…
Reference in New Issue