Title: [166061] trunk/Tools
Revision
166061
Author
[email protected]
Date
2014-03-21 07:44:10 -0700 (Fri, 21 Mar 2014)

Log Message

Add cache support for jhbuild
https://bugs.webkit.org/show_bug.cgi?id=130588

Patch by Jozsef Berta <[email protected]> on 2014-03-21
Reviewed by Csaba Osztrogonác.

* jhbuild/jhbuildrc_common.py:
(init): Jhbuild can now save the dependencies locally, if the JHBUILD_MIRROR environment variable is set.

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (166060 => 166061)


--- trunk/Tools/ChangeLog	2014-03-21 13:55:40 UTC (rev 166060)
+++ trunk/Tools/ChangeLog	2014-03-21 14:44:10 UTC (rev 166061)
@@ -1,3 +1,13 @@
+2014-03-21  Jozsef Berta  <[email protected]>
+
+        Add cache support for jhbuild
+        https://bugs.webkit.org/show_bug.cgi?id=130588
+
+        Reviewed by Csaba Osztrogonác.
+
+        * jhbuild/jhbuildrc_common.py:
+        (init): Jhbuild can now save the dependencies locally, if the JHBUILD_MIRROR environment variable is set.
+
 2014-03-21  Xabier Rodriguez Calvar  <[email protected]>
 
         [CMake] Add support for MAX_CPU_LOAD translated to -l in ninja and make

Modified: trunk/Tools/jhbuild/jhbuildrc_common.py (166060 => 166061)


--- trunk/Tools/jhbuild/jhbuildrc_common.py	2014-03-21 13:55:40 UTC (rev 166060)
+++ trunk/Tools/jhbuild/jhbuildrc_common.py	2014-03-21 14:44:10 UTC (rev 166061)
@@ -82,3 +82,7 @@
     prefix = jhbuildrc_globals['prefix']
     addpath('CMAKE_PREFIX_PATH', prefix)
     addpath('CMAKE_LIBRARY_PATH', os.path.join(prefix, _library_dir))
+
+    if 'JHBUILD_MIRROR' in os.environ:
+        jhbuildrc_globals['dvcs_mirror_dir'] = os.environ['JHBUILD_MIRROR']
+        jhbuildrc_globals['tarballdir'] = os.environ['JHBUILD_MIRROR']
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to