Compare commits

...

3 Commits

Author SHA1 Message Date
Greg Becker
68906f62c4 Update for str instead of pathlib.Path
Co-authored-by: John W. Parent <45471568+johnwparent@users.noreply.github.com>
2025-05-06 13:08:07 +02:00
Gregory Becker
69f5908d40 alternate exe suffix for windows
Signed-off-by: Gregory Becker <becker33@llnl.gov>
2025-05-06 13:08:07 +02:00
Gregory Becker
b7f27d799a msvc: do not detect unless ends with .exe
Signed-off-by: Gregory Becker <becker33@llnl.gov>
2025-05-06 13:08:07 +02:00

View File

@ -59,6 +59,10 @@ def install(self, spec, prefix):
@classmethod
def determine_version(cls, exe):
if not exe.endswith(".exe") and not exe.endswith(".bat"):
# Not on windows, can't possibly be msvc
return
# MSVC compiler does not have a proper version argument
# Errors out and prints version info with no args
is_ifx = "ifx.exe" in str(exe)