Title: [261611] trunk/Tools
Revision
261611
Author
[email protected]
Date
2020-05-13 06:19:45 -0700 (Wed, 13 May 2020)

Log Message

[Flatpak SDK] Proper handling of sccache scheduler URL command-line argument

Rubber-stamped by Carlos Alberto Lopez Perez.

* flatpak/flatpakutils.py:
(WebkitFlatpak.load_from_args):
(WebkitFlatpak.__init__):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (261610 => 261611)


--- trunk/Tools/ChangeLog	2020-05-13 12:16:36 UTC (rev 261610)
+++ trunk/Tools/ChangeLog	2020-05-13 13:19:45 UTC (rev 261611)
@@ -1,5 +1,15 @@
 2020-05-13  Philippe Normand  <[email protected]>
 
+        [Flatpak SDK] Proper handling of sccache scheduler URL command-line argument
+
+        Rubber-stamped by Carlos Alberto Lopez Perez.
+
+        * flatpak/flatpakutils.py:
+        (WebkitFlatpak.load_from_args):
+        (WebkitFlatpak.__init__):
+
+2020-05-13  Philippe Normand  <[email protected]>
+
         [Flatpak SDK] Craft a custom sccache config file from SDK toolchains
         https://bugs.webkit.org/show_bug.cgi?id=211781
 

Modified: trunk/Tools/flatpak/flatpakutils.py (261610 => 261611)


--- trunk/Tools/flatpak/flatpakutils.py	2020-05-13 12:16:36 UTC (rev 261610)
+++ trunk/Tools/flatpak/flatpakutils.py	2020-05-13 13:19:45 UTC (rev 261611)
@@ -60,6 +60,7 @@
 _log = logging.getLogger(__name__)
 
 FLATPAK_USER_DIR_PATH = os.path.realpath(os.path.join(scriptdir, "../../WebKitBuild", "UserFlatpak"))
+DEFAULT_SCCACHE_SCHEDULER='https://sccache.igalia.com'
 
 is_colored_output_supported = False
 try:
@@ -427,8 +428,8 @@
                              help="Regenerate IceCC distribuable toolchain archives")
         distributed_build_options.add_argument("-t", "--sccache-token", dest="sccache_token",
                                                help="sccache authentication token")
-        distributed_build_options.add_argument("-s", "--sccache-scheduler", dest="sccache_scheduler", default='https://sccache.igalia.com',
-                                               help="sccache scheduler URL")
+        distributed_build_options.add_argument("-s", "--sccache-scheduler", dest="sccache_scheduler",
+                                               help="sccache scheduler URL (default: %s)" % DEFAULT_SCCACHE_SCHEDULER)
 
         debugoptions = parser.add_argument_group("Debugging")
         debugoptions.add_argument("--gdb", nargs="?", help="Activate gdb, passing extra args to it if wanted.")
@@ -484,7 +485,7 @@
         self.icc_version = {}
         self.regenerate_toolchains = False
         self.sccache_token = ""
-        self.sccache_scheduler = ""
+        self.sccache_scheduler = DEFAULT_SCCACHE_SCHEDULER
 
     def execute_command(self, args, stdout=None, stderr=None):
         _log.debug('Running in sandbox: %s\n' % ' '.join(args))
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to