We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 69059ab commit 64c32b9Copy full SHA for 64c32b9
tools/project.py
@@ -1063,7 +1063,13 @@ def add_unit(build_obj: BuildConfigUnit, link_step: LinkStep):
1063
1064
# Check if all compiler versions exist
1065
for mw_version in used_compiler_versions:
1066
- mw_path = compilers / mw_version / "mwcceppc.exe"
+ compiler_version_info = mw_version.split("/")
1067
+ executable_name = {
1068
+ "GC": "mwcceppc.exe",
1069
+ "ProDG": "ngccc.exe",
1070
+ }.get(compiler_version_info[0] if compiler_version_info else "GC")
1071
+
1072
+ mw_path = compilers / mw_version / executable_name
1073
if config.compilers_path and not os.path.exists(mw_path):
1074
sys.exit(f"Compiler {mw_path} does not exist")
1075
0 commit comments