Commit Graph

45 Commits

Author SHA1 Message Date
baldurk c945293b3e Add sanity checking strict mode to build scripts 2025-05-06 12:42:23 +01:00
baldurk d911ec8e3d Update docker prepare script to remove expired root CA certificate 2023-09-19 10:49:46 +01:00
baldurk 2d41648d4d Remove references to no longer used android files 2023-08-29 10:44:53 +01:00
Jake Turner 81436706c8 Recursive patching of qt external dependencies
Recursively copy and repoint the external libraries and their external dylib dependencies
2022-06-23 12:10:35 +01:00
baldurk 183f50bfb7 Fix patching of qt dependencies 2022-06-20 16:47:50 +01:00
baldurk 7aa7f1da99 Generate .sig files after signing installers 2022-04-26 13:20:09 +01:00
baldurk 6659fae944 Don't use sudo in docker prepare script 2021-08-31 09:04:57 +01:00
baldurk 7d1cc7a6b8 Fix ubuntu docker build failing due to packages moving URLs 2021-08-31 08:54:34 +01:00
baldurk 4b65d7f841 Add explicit /m to msbuild.exe invocations
* Without this by default msbuild doesn't build in parallel.
2021-02-14 13:10:25 +00:00
baldurk c63d222c69 Update linux build to compile against Qt 5.15.2 2021-01-08 15:39:02 +00:00
baldurk bf8390d313 Fix docker build to work with https apt sources 2020-08-17 10:26:30 +01:00
baldurk 4b7c7eaaea Force a full rebuild on android in build scripts
* We still detect the precise same git commit in the android build and skip
  recompiles, which is useful for building android once on one platform and
  sharing it with other host platform builds.
2020-03-09 11:16:57 +00:00
baldurk 5cf93da317 On windows put msbuild log in dist folder 2020-03-09 10:57:05 +00:00
baldurk 3a9152a318 Use local mirror of source archive which Qt deleted in build script 2020-03-03 18:05:12 +00:00
baldurk 37f762a08f Use renderdoc-specific name for keystore alias on android 2020-01-07 17:28:17 +00:00
baldurk 0d2849458b Install generic gcc/g++ packages so configure scripts can find them 2019-06-25 10:55:48 +01:00
baldurk 51de7255d3 Stop static linking libstdc++ in release builds
* This seemed to cause crashes on some systems as libproxy links to libstdc++
  and can then cause symbol conflicts between the static libstdc++ and the
  system's libstdc++.
* libproxy itself cannot be statically linked, so the solution is either to
  configure Qt without libproxy and break anyone who needs proxy support, or
  stop statically linking libstdc++ and add a new dependency. At commit time
  most distributions have at least g++-5's libstdc++ in their minspec so we can
  require that - the main two that seem to fall short are Debian Jessie and
  CentOS 7. Users on those systems will have to install a newer libstdc++ or
  compile from source rather than using the binary releases.
2019-06-24 13:27:45 +01:00
baldurk c0603bbfb9 Terminate any running processes before signing files 2019-04-26 15:04:15 +01:00
baldurk 1a93bf1027 Copy python modules to lib/ folder not bin/ in build script 2019-03-12 09:36:55 +00:00
baldurk 40546a6d67 symlink qtplugins folder in local macOS builds 2019-03-07 11:02:54 +00:00
baldurk a1ef9663e4 Add script to copy & patch macOS frameworks into application bundle 2019-03-05 13:58:29 +00:00
baldurk c73f045241 Add packaging/buildscript support for macOS
* Add realpath.sh for emulating readlink -f on macOS
  MIT licensed from https://github.com/mkropat/sh-realpath
2019-03-01 17:47:10 +00:00
baldurk 017b291b18 Install newer libstdc++-dev package in linux build scripts
* Older ones like 4.9 that was used originally didn't fully support C++11.
2019-01-23 09:33:34 +00:00
baldurk 4979157da9 Fix bin/ reference that should be lib for python modules in build script 2019-01-04 10:10:21 +00:00
baldurk 7a3d84108e Fix generation of pdbstr on WSL
* When C: isn't /c/ the simple sed approach doesn't work, use native_path.
2018-11-29 11:01:53 +00:00
baldurk fca4995d6e Add cygpath and wslpath support, wrap in bash function 2018-11-28 14:41:13 +00:00
baldurk b147041581 Remove error emailing, just print all errors to console and exit 2018-11-28 11:21:19 +00:00
baldurk b89a8295cf Ignore errors from non-existent files when trying to find aapt 2018-11-28 10:43:30 +00:00
baldurk fb71ea1a75 Accept aapt without an extension depending on SDK setup 2018-11-27 22:39:25 +00:00
baldurk 4392171f7d Skip building android on windows if existing apk is found
* This allows sharing the android build from linux where the result should be
  equivalent (if not identical) and runs a fair bit quicker.
2018-11-27 11:28:50 +00:00
baldurk 3766c43ee5 Fix path conversion to windows paths when preparing symbols 2018-10-12 11:25:45 +01:00
baldurk 9116983972 Fix error mail script with incorrect quoting 2018-09-27 14:44:13 +01:00
baldurk adb3bb8cc6 Ensure RENDERDOC_VERSION env var passed to WiX on Windows 10 WSL 2018-08-20 11:57:05 +01:00
baldurk bd7a3c966e Don't copy .lib files as we don't need them 2018-08-20 11:57:04 +01:00
baldurk c599ab96e6 Make android compile friendly for Windows 10 WSL 2018-08-20 11:57:04 +01:00
baldurk 3f2862bcd3 Put MSBuild.log in build tree rather than /tmp to work on Windows 10 WSL 2018-08-20 11:57:04 +01:00
baldurk 5b89ababd5 Prefer make.sh for building docs as htmlhelp is removed from Makefile
* Also it's more flexible in locating necessary tools like sphinx-build or
  python
2018-08-20 11:57:03 +01:00
baldurk 92f593f38c Use windows 10 SDK as well as 8.1 SDK to find d3dcompiler_47.dll 2018-08-20 11:57:03 +01:00
baldurk 35d23582c1 Use MSYS2_ARG_CONV_EXCL to handle /parameters to windows executables 2018-08-20 11:57:02 +01:00
baldurk a12b62f0c6 Detect Windows 10 WSL with uname in main build script 2018-08-20 11:57:01 +01:00
baldurk 53be1d3509 If Android build is skipped due to an error, print it to the terminal 2018-05-24 21:42:29 +01:00
baldurk 40544a59dc Pass a description to signtool when signing
* This is used when the MSI installer runs and generates a temporary file for
  the UAC prompt, so it will display "RenderDoc" instead of "hj782.msi".
2018-05-24 21:42:29 +01:00
baldurk b8ffc1c79f Make sure to quote the subject when emailing 2018-05-03 09:49:12 +01:00
baldurk c7432fb535 Mark scripts under util/ folder as executable 2018-05-02 18:18:08 +01:00
baldurk 7cccf4f765 Commit build and packaging scripts 2018-05-02 17:33:56 +01:00