[PATCH] D67484: test-release.sh: Don't use chrpath on Solaris

Rainer Orth via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 12 07:51:08 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL371741: test-release.sh: Don't use chrpath on Solaris (authored by ro, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D67484?vs=219862&id=219921#toc

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D67484/new/

https://reviews.llvm.org/D67484

Files:
  llvm/trunk/utils/release/test-release.sh


Index: llvm/trunk/utils/release/test-release.sh
===================================================================
--- llvm/trunk/utils/release/test-release.sh
+++ llvm/trunk/utils/release/test-release.sh
@@ -277,8 +277,11 @@
   fi
 }
 
-if [ "$System" != "Darwin" ]; then
+if [ "$System" != "Darwin" -a "$System" != "SunOS" ]; then
   check_program_exists 'chrpath'
+fi
+
+if [ "$System" != "Darwin" ]; then
   check_program_exists 'file'
   check_program_exists 'objdump'
 fi
@@ -444,7 +447,7 @@
 # Clean RPATH. Libtool adds the build directory to the search path, which is
 # not necessary --- and even harmful --- for the binary packages we release.
 function clean_RPATH() {
-  if [ "$System" = "Darwin" ]; then
+  if [ "$System" = "Darwin" -o "$System" = "SunOS" ]; then
     return
   fi
   local InstallPath="$1"


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67484.219921.patch
Type: text/x-patch
Size: 822 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190912/2156500c/attachment.bin>


More information about the llvm-commits mailing list