From 8adcf8b5dd02553d3e1d7c99d43d0ec65b9deba4 Mon Sep 17 00:00:00 2001 From: Jon Ross-Perkins Date: Wed, 29 Jun 2022 16:47:40 -0700 Subject: [PATCH] rm update_llvm.sh (it's legacy) (#1351) --- third_party/update_llvm.sh | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100755 third_party/update_llvm.sh diff --git a/third_party/update_llvm.sh b/third_party/update_llvm.sh deleted file mode 100755 index 88e5d0947f31..000000000000 --- a/third_party/update_llvm.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash -eux -# Part of the Carbon Language project, under the Apache License v2.0 with LLVM -# Exceptions. See /LICENSE for license information. -# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception - -# Ensure the working directory is the script's directory. -cd "$(dirname "$0")" - -# Update the `llvm-bazel` project first by just pulling from its HEAD. -git submodule update --remote llvm-bazel - -# Find the current LLVM commit in the `llvm-bazel` project. -llvm_commit=$(cd llvm-bazel; git submodule status third_party/llvm-project | awk '/-[0-9a-f]+ / { print substr($1, 2) }') - -# Fetch and checkout this commit of LLVM -cd llvm-project -git fetch -git checkout $llvm_commit -cd ..