mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2026-12-02 03:29:45 -06:00
More work
This commit is contained in:
@@ -36,7 +36,7 @@ import {AmdgpuAsmParser} from '../parsers/asm-parser-amdgpu.js';
|
||||
import {SassAsmParser} from '../parsers/asm-parser-sass.js';
|
||||
import * as utils from '../utils.js';
|
||||
import {ArtifactType} from '../../types/tool.interfaces.js';
|
||||
import {unwrap} from '../assert.js';
|
||||
import {assert} from '../assert.js';
|
||||
|
||||
const offloadRegexp = /^#\s+__CLANG_OFFLOAD_BUNDLE__(__START__|__END__)\s+(.*)$/gm;
|
||||
|
||||
@@ -309,7 +309,8 @@ export class ClangIntelCompiler extends ClangCompiler {
|
||||
|
||||
override getDefaultExecOptions(): ExecutionOptions {
|
||||
const opts = super.getDefaultExecOptions();
|
||||
unwrap(opts.env).PATH = process.env.PATH + path.delimiter + path.dirname(this.compiler.exe);
|
||||
assert(opts.env);
|
||||
opts.env.PATH = process.env.PATH + path.delimiter + path.dirname(this.compiler.exe);
|
||||
|
||||
return opts;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user