diff options
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)]; |