Fix debug install of libomptarget libs and plugins.
The switch to using add_llvm_library has an install
step that overrides the OPENMP_LIBDIR_SUFFIX. We
have to set LLVM_LIBDIR_SUFFIX for the build of
openmp.
@@ -142,6 +142,7 @@ $AOMP_ORIGIN_RPATH \
-DLIBOMP_CPPFLAGS='-O0' \
-DLIBOMP_OMPD_SUPPORT=ON \
-DLIBOMP_OMPT_DEBUG=ON \
+-DLLVM_LIBDIR_SUFFIX=-debug \
-DCMAKE_CXX_FLAGS=-g -DCMAKE_C_FLAGS=-g \
-DOPENMP_SOURCE_DEBUG_MAP="\""-fdebug-prefix-map=$AOMP_REPOS/$AOMP_PROJECT_REPO_NAME/openmp=$_ompd_dir/src/openmp"\"" "
