Skip to content

Commit

Permalink
Revert "[llvm][cmake] Make llvm_install_symlink robust to absolute …
Browse files Browse the repository at this point in the history
…dirs."

https://lab.llvm.org/buildbot/#/builders/36/builds/16668 was the sort of
thing I saw before when this was part of D99484, and it makes some sense
now this would have something to do with it.

This reverts commit 58580e9.
  • Loading branch information
Ericson2314 committed Jan 21, 2022
1 parent cac164f commit d93a11c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions llvm/cmake/modules/LLVMInstallSymlink.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ include(GNUInstallDirs)

function(install_symlink name target outdir)
set(DESTDIR $ENV{DESTDIR})
GNUInstallDirs_get_absolute_install_dir(bindir "${outdir}" BINDIR)
set(bindir "${DESTDIR}${bindir}")
set(bindir "${DESTDIR}${CMAKE_INSTALL_PREFIX}/${outdir}")

message(STATUS "Creating ${name}")

Expand Down

0 comments on commit d93a11c

Please sign in to comment.