#!/bin/sh -e # Copyright 2015 Google Inc. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # # Lists the SHA (for git) and REV (for svn) for each required component. # LLVM checkouts can be svn or git. Each svn revision has an associated # git-svn sha. (The svn revision will appear in the git log entry.) When a # checkout is updated to a new minimum version, both its _SHA and _REV should # be set to the new (matched) strings. # llvm global MIN_LLVM_SHA := '"6c132cb749932c66a27c9e19ea5426173875f852'" global MIN_LLVM_REV := '"308208'" # clang global MIN_CLANG_SHA := '"ebe8bde59376321af40abf168495ef8d5088589d'" global MIN_CLANG_REV := '"308209'" global FULL_SHA := ""$(MIN_LLVM_SHA)-$(MIN_CLANG_SHA)"" (CommandList children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:MIN_LLVM_SHA) op: Equal rhs: {(DQ (6c132cb749932c66a27c9e19ea5426173875f852))} spids: [64] ) ] spids: [64] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:MIN_LLVM_REV) op:Equal rhs:{(DQ (308208))} spids:[69])] spids: [69] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:MIN_CLANG_SHA) op: Equal rhs: {(DQ (ebe8bde59376321af40abf168495ef8d5088589d))} spids: [77] ) ] spids: [77] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:MIN_CLANG_REV) op:Equal rhs:{(DQ (308209))} spids:[82])] spids: [82] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:FULL_SHA) op: Equal rhs: {(DQ (${ VSub_Name MIN_LLVM_SHA) (-) (${ VSub_Name MIN_CLANG_SHA))} spids: [88] ) ] spids: [88] ) ] )