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:
parent
a7ae996e6b
commit
135a6a07f1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user