diff options
author | nickpdemarco <nickpdemarco@gmail.com> | 2023-10-18 16:34:27 -0400 |
---|---|---|
committer | nickpdemarco <nickpdemarco@gmail.com> | 2023-10-18 16:34:27 -0400 |
commit | a0cb7f11aeeca933dda11947b3bf01ba85903f1c (patch) | |
tree | 0851b978c68abab036de3429101bb64ef82c48c4 /lib/compilers | |
parent | 87037fb6b017319f8e8bfa91afbdee39bf920a22 (diff) | |
download | compiler-explorer-a0cb7f11aeeca933dda11947b3bf01ba85903f1c.tar.gz compiler-explorer-a0cb7f11aeeca933dda11947b3bf01ba85903f1c.zip |
Get execution working by setting library paths to [], be more precise about when we emit intel
Diffstat (limited to 'lib/compilers')
-rw-r--r-- | lib/compilers/hylo.ts | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/lib/compilers/hylo.ts b/lib/compilers/hylo.ts index 1221bb062..e73d09d44 100644 --- a/lib/compilers/hylo.ts +++ b/lib/compilers/hylo.ts @@ -1,6 +1,7 @@ import {BaseCompiler} from '../base-compiler.js'; import type {PreliminaryCompilerInfo} from '../../types/compiler.interfaces.js'; import type {ParseFiltersAndOutputOptions} from '../../types/features/filters.interfaces.js'; +import {CompileChildLibraries} from '../../types/compilation/compilation.interfaces.js'; export class HyloCompiler extends BaseCompiler { static get key() { @@ -13,12 +14,20 @@ export class HyloCompiler extends BaseCompiler { // this.compiler.supportsIrView = true; } + override getSharedLibraryPathsAsArguments( + libraries: CompileChildLibraries[], + libDownloadPath?: string, + toolchainPath?: string, + ) { + return []; + } + override optionsForFilter( filters: ParseFiltersAndOutputOptions, outputFilename: string, userOptions?: string[], ): string[] { - if (filters.intel) { + if (this.compiler.intelAsm && filters.intel && !filters.binary) { return ['--emit', 'intel-asm', '-o', this.filename(outputFilename)]; } else { return ['-o', this.filename(outputFilename)]; |