WGL: remove invalid variant detection (#36579)

Plat variant was removed in a previous PR, now prevent that variant from
being detected externally.
This commit is contained in:
John W. Parent 2023-04-12 16:04:51 -04:00 committed by GitHub
parent a7ae996e6b
commit 135a6a07f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -68,16 +68,6 @@ def determine_version(cls, lib):
ver_str = re.search(version_match_pat, lib)
return ver_str if not ver_str else Version(ver_str.group())
@classmethod
def determine_variants(cls, libs, ver_str):
"""Allow for determination of toolchain arch for detected WGL"""
variants = []
for lib in libs:
base, lib_name = os.path.split(lib)
_, arch = os.path.split(base)
variants.append("plat=%s" % arch)
return variants
def _spec_arch_to_sdk_arch(self):
spec_arch = str(self.spec.architecture.target).lower()
_64bit = "64" in spec_arch