[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 00:41:18 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:
I'm not super familiar with the lit stuff, but this looks suspicious. Why would we want to set the CXX compiler to be the C compiler? Isn't that a potential error?
https://github.com/llvm/llvm-project/pull/222455
More information about the Openmp-commits
mailing list