summaryrefslogtreecommitdiff
path: root/build.sh
AgeCommit message (Collapse)Author
2020-10-05SL-13953 Builds should fail if symbols upload failedAndrey Kleshchev
2020-03-25[DRTVWR-476] - disable dbghelp.h warningsAnchor
2020-03-25[DRTVWR-476] - target windows 10Anchor
2020-03-25DRTVWR-476: Update Copy3rdPartyLibs.cmake for VS 2017 version.Nat Goodspeed
Also, on Windows, put build output into build-vc$AUTOBUILD_VSVER-$AUTOBUILD_ADDRSIZE instead of hard-coding build-vc120-$AUTOBUILD_ADDRSIZE.
2020-01-28SL-12615: Support a branch-specific setting for viewer_channel in TeamCity ↵Oz Linden
builds
2018-08-31SL-957: Convert absolute VIEWER_SYMBOL_FILE to native_path.Nat Goodspeed
Thanks Ansariel.
2018-08-31SL-957: Pass an absolute pathname to CMake for VIEWER_SYMBOL_FILE.Nat Goodspeed
2018-08-30SL-957: Generate the expected symbols tarball even with BugSplat.Nat Goodspeed
This is a separate step from generating and posting BugSplat symbols, since BugSplat needs the executable along with the symbols, and we don't need to consume that space in a symbols tarball. Move Mac BugSplat symbol generation logic to CMake land, the same general area where Breakpad symbols are generated. Add stanzas to pack up the usual tarball for Windows and Mac. Remove the build.sh test that suppressed uploading the symbols tarball for BugSplat builds.
2018-08-27SL-957: Explicitly pass VIEWER_SYMBOL_FILE from build.sh into CMakeNat Goodspeed
instead of relying on both indra/newview/CMakeLists.txt and build.sh generating the same file pathname. Make build.sh set VIEWER_SYMBOL_FILE (instead of symbolfile) in pre_build, and pass it to autobuild configure via -D switch. Then the uploads stanza can just use VIEWER_SYMBOL_FILE instead of performing its platform-sensitive case statement right there. Introduce VIEWER_SYMBOL_FILE CMake cache variable, default empty string. Make indra/newview/CMakeLists.txt generate_breakpad_symbols logic conditional on VIEWER_SYMBOL_FILE being non-empty, as well as everything else. Eliminate local set(VIEWER_SYMBOL_FILE) directives.
2018-08-24DRTVWR-447: Introduce explicit CMake BUGSPLAT_DB variable.Nat Goodspeed
Define the CMake cache variable, with empty string as its default. Make build.sh pass the BUGSPLAT_DB environment variable as a CMake command-line variable assignment. Change CMake 'if (DEFINED ENV{BUGSPLAT_DB})' to plain 'if (BUGSPLAT_DB)'. Make CMake pass new --bugsplat switch to every one of SIX different invocations of viewer_manifest.py. Give llmanifest.main() function an argument to allow supplementing the base set of command-line switches with additional application-specific switches. In viewer_manifest.py, define new --bugsplat command-line switch and pass to llmanifest.main(). Instead of consulting os.environ['BUGSPLAT_DB'], consult self.args['bugsplat'].
2018-08-15Backed out changeset 25b55601514d: re-enable building BugSplat on Mac.Nat Goodspeed
2018-07-18DRTVWR-447: Temporarily suppress building for BugSplat on Mac.Nat Goodspeed
2018-06-28MAINT-8797: Resurrect BugSplat crash reporting on Windows.Nat Goodspeed
The Breakpad symbol-file upload in the viewer's build.sh was failing on BugSplat builds since we weren't generating Breakpad symbol files. That upload was conditional on RELEASE_CRASH_REPORTING, so my first approach was to set RELEASE_CRASH_REPORTING=OFF for BugSplat builds. Unfortunately that symbol also propagates down into C++ compiles, and in llappviewerwin32.cpp, both Breakpad and BugSplat crash reporting is conditional on it. So that change inadvertently turned off the C++ logic to engage BugSplat. Stop forcing RELEASE_CRASH_REPORTING=OFF for BugSplat builds. Instead, make the Breakpad symbol-file upload check the BUGSPLAT_DB variable as well. Add #pragma messages to llappviewerwin32.cpp so we can detect whether it's being built for Breakpad or BugSplat or neither.
2018-06-14SL-821: When using BugSplat, don't try to upload Breakpad symbols.Nat Goodspeed
With BugSplat, the Breakpad symbol files aren't generated; attempting to post them to codeticket will fail the build.
2018-05-30remove unused UNATTENDED cmake variable that generates warningsOz Linden
2018-05-30set shell nullglob optionOz Linden
so that when a glob has no expansion you don't get the glob back ( *.sh expands to empty rather than to "*.sh")
2018-05-30always run testsOz Linden
2018-05-25SL-821: export BUGSPLAT_DB when loaded so child processes can detect.Nat Goodspeed
Produce CMake message when BugSplat is engaged so we can detect in build log. Don't try to copy BugSplat DLLs when NOT engaged.
2018-05-25SL-821, SL-826: Use BUGSPLAT_DB from environment on Windows and Mac.Nat Goodspeed
On TeamCity, set BUGSPLAT_DB from build-secrets. Use the presence of $BUGSPLAT_DB, rather than a new CMake BUGSPLAT option, to control whether CMake searches for BugSplat -- and passes LL_BUGSPLAT into C++. When BUGSPLAT_DB is present, make viewer_manifest.py set "BugSplat DB" in build_data.json, and "BugsplatServerURL" in Mac Info.plist. Make llappviewerwin32.cpp read "BugSplat DB" from build_data.json. Add placeholders for Mac hooks to suppress BugSplat prompt and send SecondLife.log.
2017-06-12MAINT-7192: upgrade to VMP package 506412Glenn Glazer
2017-05-11Merged in coyot/viewer64-build-results-dotted (pull request #11)nat_linden
Approved-by: Scott Lawrence (Oz Linden) <oz@lindenlab.com>
2017-03-30redirect file contents to stdout before passing to mimetypeGlenn Glazer
2017-03-30change mimetype to inline-text per review comment from NatGlenn Glazer
2017-03-29add version string to ct2 resultsGlenn Glazer
2017-02-21DRTVWR-418: In viewer64-mac-havok fork, turn on Xcode 8 Havok.Nat Goodspeed
This is known not to work yet: the relevant Havok libraries are not being bundled with llphysicsextensions, therefore the viewer can't link with any Havok symbols.
2017-01-06DRTVWR-418, SL-619: Update to google_breakpad build 501824Nat Goodspeed
and re-enable breakpad symbol generation.
2017-01-04DRTVWR-418: Fix line-break problem; also explicitly request bash.Nat Goodspeed
2017-01-04DRTVWR-418: Set signing CMake switches in build.sh for proper quoting.Nat Goodspeed
2017-01-04DRTVWR-418: Consume autobuild_configure_parameters in build.sh.Nat Goodspeed
2016-12-22Automated merge with ssh://bitbucket.org/lindenlab/viewer64Nat Goodspeed
2016-12-22DRTVWR-418: If we don't produce a symbol file, don't try to upload it.Nat Goodspeed
2016-12-22one more try... also fixing setting of viewer_channel without quotesOz Linden
2016-12-22try again to actually fix the installer name function for Mac (and maybe Linux?)Oz Linden
2016-12-22fix installer name function for Mac (and maybe Linux?)Oz Linden
2016-12-21DRTVWR-418: Migrate HAVOK suppression from autobuild.xml to build.sh.Nat Goodspeed
Turns out that without HAVOK, we can't build the PhysicsExtensions_TPV; but the viewer's build.sh is unaware of CMake switches set in autobuild.xml. Passing those CMake overrides in build.sh allows us to test that setting elsewhere in build.sh to skip the PhysicsExtensions_TPV step -- instead of failing the build.
2016-12-21DRTVWR-418: Temporarily disable Mac generate_breakpad_symbols.py.Nat Goodspeed
2016-12-09Merged in lindenlab/nat_viewer64 (pull request #6)nat_linden
DRTVWR-418: Change Mac build_directory to build-darwin-x86_64 since we no longer support 32-bit Mac builds.
2016-12-09add AUTOBUILD_ADDRSIZE to symbol file name for clarity, change output tag to ↵Oz Linden
just "Symbolfile"
2016-12-08DRTVWR-418: Change Mac build_directory to build-darwin-x86_64Nat Goodspeed
since we no longer support 32-bit Mac builds. The old build-darwin-i386 directory name appeared in a shocking number of files. Change CMake paths to use ${CMAKE_BINARY_DIR} -- or, when trying to find the packages subdirectory, ${AUTOBUILD_INSTALL_DIR}. Change the rest to at least look for build-darwin-*.
2016-12-08use native paths for llphysicsextensions_package file nameOz Linden
2016-12-08make all upload failures fatalOz Linden
2016-12-08correct upload of default installerOz Linden
2016-12-07make build.sh use the same build directory that autobuild.xml uses on WindowsOz Linden
2016-12-07comment out building the tpv distro for llphysicsextensions to unblock othersOz Linden
2016-12-07correct paths for building llphysicsextensions_tpv packageOz Linden
2016-12-05remove more bits of the old build systemOz Linden
2016-12-05correct merge duplications, put source_environment commands into sectionsOz Linden
2016-12-05merge sling-buildscripts updatesOz Linden
2016-12-03call standard initialization functions from buildscripts build.shOz Linden
2016-09-23adjust initialization function names to the new terminologyOz Linden