[PATCH] D41961: Specify compiler host server through environment variable for bisection tool

Phabricator via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 11 16:05:59 PST 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL322333: Adding the ability to specify an environment variable for a URL from which theā€¦ (authored by sudofortune, committed by ).
Herald added a subscriber: llvm-commits.

Changed prior to commit:
  https://reviews.llvm.org/D41961?vs=129504&id=129548#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D41961

Files:
  zorg/trunk/llvmbisect/llvmlab/gcs.py


Index: zorg/trunk/llvmbisect/llvmlab/gcs.py
===================================================================
--- zorg/trunk/llvmbisect/llvmlab/gcs.py
+++ zorg/trunk/llvmbisect/llvmlab/gcs.py
@@ -6,7 +6,10 @@
 import urllib3
 
 # Root URL to use for our queries.
-GCS = "https://www.googleapis.com/storage/v1/"
+DEFAULT_GCS = "https://www.googleapis.com/storage/v1/"
+
+# Specify a different root URL if compilers are hosted elsewhere.
+GCS = os.getenv("GCS_SERVER", DEFAULT_GCS)
 
 DEFAULT_BUCKET = "llvm-build-artifacts"
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41961.129548.patch
Type: text/x-patch
Size: 527 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180112/faa26885/attachment.bin>


More information about the llvm-commits mailing list