Skip to content

Commit

Permalink
note which stdlib versions are found for ease of debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
h-vetinari committed Apr 11, 2024
1 parent 2041df2 commit 5a05b49
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .ci_support/build_all.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,14 @@ def build_all(recipes_dir, arch):
if 'c_stdlib_version' in config:
for version in config['c_stdlib_version']:
version = tuple([int(x) for x in version.split('.')])
print(f"Found c_stdlib_version for linux: {version=}")
found_centos7 |= version == (2, 17)

if found_cuda:
print('##vso[task.setvariable variable=NEED_CUDA;isOutput=true]1')
if found_centos7:
os.environ["DEFAULT_LINUX_VERSION"] = "cos7"
print("Overriding DEFAULT_LINUX_VERSION to be cos7")

deployment_version = (0, 0)
sdk_version = (0, 0)
Expand Down Expand Up @@ -102,6 +104,7 @@ def build_all(recipes_dir, arch):
if 'c_stdlib_version' in config:
for version in config['c_stdlib_version']:
version = tuple([int(x) for x in version.split('.')])
print(f"Found c_stdlib_version for osx: {version=}")
deployment_version = max(deployment_version, version)
if 'MACOSX_SDK_VERSION' in config:
for version in config['MACOSX_SDK_VERSION']:
Expand Down

0 comments on commit 5a05b49

Please sign in to comment.