mirror of
https://github.com/KhronosGroup/SPIRV-Tools
synced 2024-12-25 17:21:06 +00:00
69b9459925
This adds in a script for updating DEPS and another for pulling in the specified versions in the DEPS file. DEPS entries that are not part of the documented build processs are removed. Using the documented cmake process with them made for a very sad state of one's checkout. If this removal breaks workflows we can revist this, since the state is saved in git. DEPS are rolled forward, so that this is taking use to a known good state. These look like scary big rolls, but in reality the bots and most people are running near HEAD for external/, so this integration should already have been tested. Summary of DEPS roll: + Rolling 3 dependencies + Roll external/effcee/ 04b624799..b83b58d17 (14 commits) + Roll external/googletest/ 98a0d007d..2f42d769a (576 commits) + Roll external/re2/ 6cf8ccd82..848dfb7e1 (90 commits) + Created with: + roll-dep external/effcee external/googletest external/re2 external/spirv-headers Fixes #2665
32 lines
1.0 KiB
Bash
Executable File
32 lines
1.0 KiB
Bash
Executable File
#!/usr/bin/env bash
|
|
# Copyright (c) 2019 Google Inc.
|
|
#
|
|
# 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.
|
|
|
|
# Attempts to roll all entries in DEPS to origin/master and creates a
|
|
# commit.
|
|
#
|
|
# Depends on roll-dep from depot_path being in PATH.
|
|
|
|
# This script assumes it's parent directory is the repo root.
|
|
repo_path=$(dirname "$0")/..
|
|
|
|
effcee_dir="external/effcee/"
|
|
googletest_dir="external/googletest/"
|
|
re2_dir="external/re2/"
|
|
spirv_headers_dir="external/spirv-headers/"
|
|
|
|
cd "$repo_path"
|
|
|
|
roll-dep "$@" "${effcee_dir}" "${googletest_dir}" "${re2_dir}" "${spirv_headers_dir}"
|