[llvm-branch-commits] [openmp] 2647f72 - [CMake][OpenMP] Remove wrong backslash

John Ericson via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Jul 28 12:59:15 PDT 2022


Author: Sebastian Neubauer
Date: 2022-07-28T15:58:26-04:00
New Revision: 2647f7274782e4a529d7c3a9920de86ddfe72324

URL: https://github.com/llvm/llvm-project/commit/2647f7274782e4a529d7c3a9920de86ddfe72324
DIFF: https://github.com/llvm/llvm-project/commit/2647f7274782e4a529d7c3a9920de86ddfe72324.diff

LOG: [CMake][OpenMP] Remove wrong backslash

outdir is defined in the line above, it will not exist in the install
command, so it should not be escaped.

(cherry picked from commit 50716ba2b337afe46ac256cc91673dc27356a776)

Added: 
    

Modified: 
    openmp/runtime/src/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/openmp/runtime/src/CMakeLists.txt b/openmp/runtime/src/CMakeLists.txt
index 02f65aac0d40e..9bc8837d0377d 100644
--- a/openmp/runtime/src/CMakeLists.txt
+++ b/openmp/runtime/src/CMakeLists.txt
@@ -380,7 +380,7 @@ else()
       extend_path(outdir "${CMAKE_INSTALL_PREFIX}" "${OPENMP_INSTALL_LIBDIR}")
       install(CODE "execute_process(COMMAND \"\${CMAKE_COMMAND}\" -E create_symlink \"${LIBOMP_LIB_FILE}\"
         \"${alias}${LIBOMP_LIBRARY_SUFFIX}\" WORKING_DIRECTORY
-        \"\$ENV{DESTDIR}\${outdir}\")")
+        \"\$ENV{DESTDIR}${outdir}\")")
     endforeach()
   endif()
 endif()


        


More information about the llvm-branch-commits mailing list