[Openmp-commits] [openmp] [OpenMP][OMPD] Load `libompd` with LLVM dynamic lib (PR #222455)

Jan Patrick Lehr via Openmp-commits openmp-commits at lists.llvm.org
Thu Sep 10 01:53:27 PDT 2026


================
@@ -69,6 +71,9 @@ config.substitutions.append(("%gdb-compile-and-run", "%gdb-compile && %gdb-run")
 config.substitutions.append(("%gdb-compile",
     "%test_c_compiler -fopenmp -g -gdwarf-4 %s -o %t " + config.test_flags))
 config.substitutions.append(("%test_c_compiler", config.test_c_compiler))
+if not getattr(config, "test_cxx_compiler", ""):
+    config.test_cxx_compiler = config.test_c_compiler
+config.substitutions.append(("%test_cxx_compiler", config.test_cxx_compiler))
----------------
jplehr wrote:

> clang++ is just a symlink to clang

Now that you mentioned that, I remember that I have compiled Fortran code with `g++` in the past. 😆 

It was just unexpected to read that assignment there.

https://github.com/llvm/llvm-project/pull/222455


More information about the Openmp-commits mailing list