We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
openmp_libs
1 parent c67b737 commit c725fbaCopy full SHA for c725fba
repos/spack_repo/builtin/build_systems/oneapi.py
@@ -226,10 +226,9 @@ def openmp_libs(self):
226
)
227
228
# query the compiler for the library path
229
- with self.compiler.compiler_environment():
230
- omp_lib_path = Executable(self.compiler.cc)(
231
- "--print-file-name", f"{libname}.{shared_library_suffix(self.spec)}", output=str
232
- ).strip()
+ omp_lib_path = Executable(self.compiler.cc)(
+ "--print-file-name", f"{libname}.{shared_library_suffix(self.spec)}", output=str
+ ).strip()
233
234
# Newer versions of clang do not give the full path to libomp. If that's
235
# the case, look in a path relative to the compiler where libomp is
0 commit comments