Skip to content

Commit

Permalink
Use default remote store on slc8 as well (#716)
Browse files Browse the repository at this point in the history
We build nightly packages on slc8, so alibuild might as well use them.
  • Loading branch information
TimoWilken authored Oct 15, 2021
1 parent 4185012 commit bdb83db
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion alibuild_helpers/args.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,8 @@ def matchValidArch(architecture):
Big Sur: osx_arm64
"""

S3_SUPPORTED_ARCHS = "slc7_x86-64", "slc8_x86-64", "ubuntu2004_x86-64"

def finaliseArgs(args, parser, star):

# Nothing to finalise for version or analytics
Expand All @@ -236,7 +238,7 @@ def finaliseArgs(args, parser, star):
args.configDir = format(args.configDir, prefix="")

# On selected platforms, caching is active by default
if args.architecture in ("slc7_x86-64", "ubuntu2004_x86-64") and not args.preferSystem:
if args.architecture in S3_SUPPORTED_ARCHS and not args.preferSystem:
args.noSystem = True
if not args.remoteStore:
args.remoteStore = "https://s3.cern.ch/swift/v1/alibuild-repo"
Expand Down

0 comments on commit bdb83db

Please sign in to comment.