aboutsummaryrefslogtreecommitdiff
path: root/lib/compilers/llvm-mos.ts
diff options
context:
space:
mode:
authornickpdemarco <nickpdemarco@gmail.com>2023-10-11 14:43:05 -0400
committernickpdemarco <nickpdemarco@gmail.com>2023-10-11 14:43:05 -0400
commit9cda199e40c920fcc9c53082b0dabb17d31a8b7f (patch)
treea4e9a03a9feea17376f5990e19c12818d32ec95e /lib/compilers/llvm-mos.ts
parent55a2b1455f823026c78b9219f93799af00ef60ae (diff)
parent10796b3696cf1eef928de8c750b4d3350ee0c2db (diff)
downloadcompiler-explorer-9cda199e40c920fcc9c53082b0dabb17d31a8b7f.tar.gz
compiler-explorer-9cda199e40c920fcc9c53082b0dabb17d31a8b7f.zip
Merge main, resolve conflicts with vala
Diffstat (limited to 'lib/compilers/llvm-mos.ts')
-rw-r--r--lib/compilers/llvm-mos.ts9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/compilers/llvm-mos.ts b/lib/compilers/llvm-mos.ts
index 473e93263..9ff68a784 100644
--- a/lib/compilers/llvm-mos.ts
+++ b/lib/compilers/llvm-mos.ts
@@ -90,6 +90,15 @@ export class LLVMMOSCompiler extends ClangCompiler {
if (await utils.fileExists(nesFile)) {
await this.addArtifactToResult(res, nesFile, ArtifactType.nesrom);
}
+ } else if (this.compiler.exe.includes('c64')) {
+ let prgFile = outputFilename;
+ if (outputFilename.endsWith('.elf')) {
+ prgFile = outputFilename.substr(0, outputFilename.length - 4);
+ }
+
+ if (await utils.fileExists(prgFile)) {
+ await this.addArtifactToResult(res, prgFile, ArtifactType.c64prg);
+ }
}
return res;