From 0e8d99971074f975c0c243822c2f0e5d1cf7ee98 Mon Sep 17 00:00:00 2001 From: Rachael Alexanderson Date: Thu, 23 Feb 2017 02:40:28 -0500 Subject: [PATCH] Delete fix-llvm-3.8-ubuntu.sh This is no longer needed. --- tools/fix-llvm-3.8-ubuntu.sh | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100755 tools/fix-llvm-3.8-ubuntu.sh diff --git a/tools/fix-llvm-3.8-ubuntu.sh b/tools/fix-llvm-3.8-ubuntu.sh deleted file mode 100755 index 2dafc2c34..000000000 --- a/tools/fix-llvm-3.8-ubuntu.sh +++ /dev/null @@ -1,17 +0,0 @@ -echo This tool adds in missing CMAKE stuff to your llvm-3.8 package. -echo This requires super-user access. This tool is only meant for -echo convenience and is possibly very dangerous. Rude things may tend -echo to occur when using this tool. -echo -read -p "Are you sure you want to use this tool? " -n 1 -r -echo -if [[ $REPLY =~ ^[Yy]$ ]] -then - sudo mkdir -p /usr/lib/llvm-3.8/share/llvm - sudo ln -s /usr/share/llvm-3.8/cmake /usr/lib/llvm-3.8/share/llvm/cmake - sudo sed -i -e '/get_filename_component(LLVM_INSTALL_PREFIX/ {s|^|#|}' -e '/^# Compute the installation prefix/i set(LLVM_INSTALL_PREFIX "/usr/lib/llvm-3.8")' /usr/lib/llvm-3.8/share/llvm/cmake/LLVMConfig.cmake - sudo sed -i '/_IMPORT_CHECK_TARGETS Polly/ {s|^|#|}' /usr/lib/llvm-3.8/share/llvm/cmake/LLVMExports-relwithdebinfo.cmake - sudo sed -i '/_IMPORT_CHECK_TARGETS sancov/ {s|^|#|}' /usr/lib/llvm-3.8/share/llvm/cmake/LLVMExports-relwithdebinfo.cmake - sudo ln -s /usr/lib/x86_64-linux-gnu/libLLVM-3.8.so.1 /usr/lib/llvm-3.8/lib/ -fi -