[Openmp-commits] [openmp] [OpenMP] Add extra flags to libomptarget and plugin builds (PR #74520)

Johannes Doerfert via Openmp-commits openmp-commits at lists.llvm.org
Tue Dec 5 12:42:44 PST 2023

@@ -55,6 +55,22 @@ target_compile_definitions(omptarget PRIVATE
+target_compile_options(omptarget PRIVATE -fno-exceptions)
+  target_compile_options(omptarget PRIVATE -fno-rtti)
+check_ipo_supported(RESULT use_lto OUTPUT output)
jdoerfert wrote:

That was my plan, yes. I don't see a reason not to. Compile time/memory is usually the only reason, and it should not apply here (too small).


More information about the Openmp-commits mailing list