Skip to content

Commit

Permalink
Update recipe/patches/0003-Skip-OSS-CI-in-conda-forge-as-well.patch
Browse files Browse the repository at this point in the history
  • Loading branch information
hmaarrfk authored Nov 4, 2024
1 parent fc94fe5 commit c5a6829
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions recipe/patches/0003-Skip-OSS-CI-in-conda-forge-as-well.patch
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ index 99c7931587..7d8f0eaf98 100644


IN_OSS_CI = any(os.getenv(var) == "true" for var in ["CIRCLECI", "GITHUB_ACTIONS"])
++# conda-forge defines the CI variable
++IN_OSS_CI = IN_OSS_CI or (os.getenv('CI') == 'azure')
+# conda-forge defines the CI variable
+IN_OSS_CI = IN_OSS_CI or (os.getenv('CI') == 'azure')
IN_RE_WORKER = os.environ.get("INSIDE_RE_WORKER") is not None
IN_FBCODE = os.environ.get("IN_FBCODE_TORCHVISION") == "1"
CUDA_NOT_AVAILABLE_MSG = "CUDA device not available"
Expand Down

0 comments on commit c5a6829

Please sign in to comment.