diff --git a/openmp/libomptarget/src/rtl.cpp b/openmp/libomptarget/src/rtl.cpp --- a/openmp/libomptarget/src/rtl.cpp +++ b/openmp/libomptarget/src/rtl.cpp @@ -92,7 +92,7 @@ DP("Loading RTLs...\n"); - BoolEnvar NextGenPlugins("LIBOMPTARGET_NEXTGEN_PLUGINS", false); + BoolEnvar NextGenPlugins("LIBOMPTARGET_NEXTGEN_PLUGINS", true); // Attempt to open all the plugins and, if they exist, check if the interface // is correct and if they are supporting any devices. diff --git a/openmp/libomptarget/test/mapping/prelock.cpp b/openmp/libomptarget/test/mapping/prelock.cpp --- a/openmp/libomptarget/test/mapping/prelock.cpp +++ b/openmp/libomptarget/test/mapping/prelock.cpp @@ -1,4 +1,5 @@ -// RUN: %libomptarget-compilexx-run-and-check-generic +// RUN: %libomptarget-compilexx-generic +// RUN: env LIBOMPTARGET_NEXTGEN_PLUGINS=0 %libomptarget-run-generic %fcheck-generic // UNSUPPORTED: aarch64-unknown-linux-gnu // UNSUPPORTED: aarch64-unknown-linux-gnu-LTO