mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2025-12-27 09:23:52 -05:00
Final fixups to get Hylo execution and binary working
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
# TODO: This install path is a best guess; we have no standard install path yet.
|
||||
compilers=/usr/bin/hc
|
||||
supportsBinary=true
|
||||
supportsBinaryObject=false
|
||||
compilerType=hylo
|
||||
objdumper=objdump
|
||||
# TODO: Replace with `version` when hc suppports this.
|
||||
|
||||
@@ -27,10 +27,9 @@ export class HyloCompiler extends BaseCompiler {
|
||||
outputFilename: string,
|
||||
userOptions?: string[],
|
||||
): string[] {
|
||||
if (this.compiler.intelAsm && filters.intel && !filters.binary) {
|
||||
return ['--emit', 'intel-asm', '-o', this.filename(outputFilename)];
|
||||
} else {
|
||||
return ['-o', this.filename(outputFilename)];
|
||||
}
|
||||
let options = ['-o', this.filename(outputFilename)];
|
||||
// Theres's no equivalent to non-intel asm.
|
||||
if (!filters.binary && !filters.binaryObject) options = options.concat('--emit', 'intel-asm');
|
||||
return options;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user