You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Workaround for Linux x86 build: downgrade libraries on GitHub runners (#764)
When installing 32-bit Linux dependencies on GitHub runners, downgrade libpcre2-8-0 to an earlier version to ensure compatibility with the i386 version of the package. This is something that should be fixed in a subsequent Ubuntu release and so is a temporary workaround.
This also adds checks to the various prerequisite commands run by build_desktop.py, which was previously just silently ignoring errors (making this much harder to track down). Now it will error out as soon as a command fails.
# To build x86 on x86_64 linux hosts, we also need x86 support libraries
250
275
ifargs.arch=='x86'andutils.is_linux_os():
251
-
install_x86_support_libraries()
276
+
install_x86_support_libraries(args.gha_build)
252
277
253
278
# Install C++ dependencies using vcpkg
254
279
ifnotargs.disable_vcpkg:
@@ -293,7 +318,7 @@ def parse_cmdline_args():
293
318
parser.add_argument('--target', nargs='+', help='A list of CMake build targets (eg: firebase_app firebase_auth)')
294
319
parser.add_argument('--target_format', default=None, help='(Mac only) whether to output frameworks (default) or libraries.')
295
320
parser.add_argument('--use_openssl', action='store_true', default=None, help='Use openssl for build instead of boringssl')
296
-
parser.add_argument('--gha_build', action='store_true', default=None, help='Set to true when building on GitHub, for metric tracking purposes')
321
+
parser.add_argument('--gha_build', action='store_true', default=None, help='Set to true when building on GitHub, for metric tracking purposes (also changes some prerequisite installation behavior).')
0 commit comments