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

via Openmp-commits openmp-commits at lists.llvm.org
Thu Sep 10 01:07:00 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))
----------------
jprotze wrote:

clang++ is just a symlink to clang ;)

But seriously: config.test_cxx_compiler should be set in `openmp/libompd/test/lit.site.cfg.in`. If the variable is empty, something in the cmake configure went wrong. Archer tests don't have such fallback code.

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


More information about the Openmp-commits mailing list