aboutsummaryrefslogtreecommitdiff
path: root/lib/compilers
diff options
context:
space:
mode:
authorRobert Cohn <robert.s.cohn@intel.com>2023-12-10 15:19:43 -0500
committerGitHub <noreply@github.com>2023-12-10 14:19:43 -0600
commit7d3156ae5ffe62a9f8b9188ea7f8c92276f526a1 (patch)
treec7334ec391aa437d4fe272a14aeb7cf611fcdb02 /lib/compilers
parent60da36f312c5599b5a5b8775b3f26665a4348a0a (diff)
downloadcompiler-explorer-7d3156ae5ffe62a9f8b9188ea7f8c92276f526a1.tar.gz
compiler-explorer-7d3156ae5ffe62a9f8b9188ea7f8c92276f526a1.zip
oneapi 2024.0.0 release (#5867)gh-9884
* directory structure has changed * no more releases of icc Depends on deployment of https://github.com/compiler-explorer/infra/pull/1188
Diffstat (limited to 'lib/compilers')
-rw-r--r--lib/compilers/clang.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/compilers/clang.ts b/lib/compilers/clang.ts
index b14c88f26..eb45eee48 100644
--- a/lib/compilers/clang.ts
+++ b/lib/compilers/clang.ts
@@ -320,8 +320,11 @@ export class ClangIntelCompiler extends ClangCompiler {
}
override runExecutable(executable, executeParameters: ExecutableExecutionOptions, homeDir) {
+ const base = path.dirname(this.compiler.exe);
+ const ocl_pre2024 = path.resolve(`${base}/../lib/x64/libintelocl.so`);
+ const ocl_2024 = path.resolve(`${base}/../lib/libintelocl.so`);
executeParameters.env = {
- OCL_ICD_FILENAMES: path.resolve(path.dirname(this.compiler.exe) + '/../lib/x64/libintelocl.so'),
+ OCL_ICD_FILENAMES: `${ocl_2024}:${ocl_pre2024}`,
...executeParameters.env,
};
return super.runExecutable(executable, executeParameters, homeDir);