Home
last modified time | relevance | path

Searched +full:rev +full:- +full:parse (Results 1 – 25 of 187) sorted by relevance

12345678

/third_party/spirv-tools/utils/
Dupdate_build_version.py9 # http://www.apache.org/licenses/LICENSE-2.0
20 # Args: <changes-file> <output-file>
24 # - The software version deduced from the given CHANGES file.
25 # - A longer string with the project name, the software version number, and
28 # rev-parse HEAD" if that succeeds, or otherwise a message containing the
43 # "v2023.1", "SPIRV-Tools v2023.1 0fc5526f2b01a0cc89192c10cf8bef77f1007a62, 2023-01-18T14:51:49"
44 OUTPUT_FORMAT = '"{version_tag}", "SPIRV-Tools {version_tag} {description}"\n'
91 # Match the first well-formed version-and-date line
92 # Allow trailing whitespace in the checked-out source code has
93 # unexpected carriage returns on a linefeed-only system such as
[all …]
/third_party/skia/infra/bots/
Dcheck_deps.py5 # Use of this source code is governed by a BSD-style license that can be
30 utils.WHICH, utils.GCLIENT]).decode('utf-8')
36 [python, gclient_py, 'revinfo'], cwd=SKIA_DIR).decode('utf-8')
44 'Failed to parse `gclient revinfo` output; invalid format: %s' % e)
51 'Failed to parse `gclient revinfo` output; invalid format: %s' % e)
54 rev = split[1]
55 if 'chrome-infra-packages' in repo:
60 'See http://go/new-skia-git-mirror' % repo)
61 if not re.match(r'^[a-z0-9]{40}$', rev):
62 errs.append('%s: "%s" does not look like a commit hash.' % (repo, rev))
Drecipes.py9 # /usr/bin/env: 'python3 -u': No such file or directory
11 # This little shell hack is a triple-quoted noop in python, but in sh it
12 # evaluates to re-exec'ing this script in unbuffered mode.
13 # pylint: disable=pointless-string-statement
14 ''''exec python3 -u -- "$0" ${1+"$@"} # '''
22 This is a copy of https://chromium.googlesource.com/infra/luci/recipes-py/+/main/recipes.py.
26 # pylint: disable=wrong-import-position
36 from io import open # pylint: disable=redefined-builtin
39 import urllib.parse as urlparse
45 # url (str) - the url to the engine repo we want to use.
[all …]
/third_party/mesa3d/bin/
Dgit_sha1_gen.py13 """Try to get the git SHA1 with git rev-parse."""
18 '--git-dir=' + git_dir,
19 'rev-parse',
42 parser.add_argument('--output', help='File to write the #define in',
48 write_if_different('#define MESA_GIT_SHA1 " (git-' + git_sha1 + ')"')
/third_party/ninja/misc/packaging/
Drpmbuild.sh4 GITROOT=$(git rev-parse --show-toplevel)
8 REL=$(git rev-parse --short HEAD)git
9 RPMTOPDIR=$GITROOT/rpm-build
13 mkdir -p $RPMTOPDIR/{SOURCES,SPECS}
14 git archive --format=tar --prefix=ninja-${VER}-${REL}/ HEAD | gzip -c > $RPMTOPDIR/SOURCES/ninja-${…
16 # Convert git log to RPM's ChangeLog format (shown with rpm -qp --changelog <rpm file>)
17 sed -e "s/%{ver}/$VER/" -e "s/%{rel}/$REL/" misc/packaging/ninja.spec > $RPMTOPDIR/SPECS/ninja.spec
18 git log --format="* %cd %aN%n- (%h) %s%d%n" --date=local | sed -r 's/[0-9]+:[0-9]+:[0-9]+ //' >> $R…
21 rpmbuild --quiet \
22 --define "_topdir $RPMTOPDIR" \
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/utils/
Dupdate_build_version.py9 # http://www.apache.org/licenses/LICENSE-2.0
20 # Args: <spirv-tools_dir> <output-file>
24 # - The software version deduced from the CHANGES file in the given directory.
25 # - A longer string with the project name, the software version number, and
27 # is the output of "git describe" if that succeeds, or "git rev-parse HEAD"
83 # Match the first well-formed version-and-date line.
84 # Allow trailing whitespace in the checked-out source code has
85 # unexpected carriage returns on a linefeed-only system such as
87 pattern = re.compile(r'^(v\d+\.\d+(-dev)?) \d\d\d\d-\d\d-\d\d\s*$')
101 Runs 'git describe', or alternately 'git rev-parse HEAD', in directory. If
[all …]
/third_party/skia/third_party/externals/spirv-tools/utils/
Dupdate_build_version.py9 # http://www.apache.org/licenses/LICENSE-2.0
20 # Args: <spirv-tools_dir> <output-file>
24 # - The software version deduced from the CHANGES file in the given directory.
25 # - A longer string with the project name, the software version number, and
27 # is the output of "git describe" if that succeeds, or "git rev-parse HEAD"
83 # Match the first well-formed version-and-date line.
84 # Allow trailing whitespace in the checked-out source code has
85 # unexpected carriage returns on a linefeed-only system such as
87 pattern = re.compile(r'^(v\d+\.\d+(-dev)?) \d\d\d\d-\d\d-\d\d\s*$')
101 Runs 'git describe', or alternately 'git rev-parse HEAD', in directory. If
[all …]
/third_party/skia/third_party/externals/spirv-cross/
D.travis.yml1 # Copyright 2016-2021 The Khronos Group Inc.
2 # SPDX-License-Identifier: Apache-2.0
5 - cpp
6 - python
12 - os: linux
16 - GENERATOR="Unix Makefiles"
17 - ARTIFACT=gcc-trusty-64bit
18 - os: linux
22 - GENERATOR="Unix Makefiles"
23 - ARTIFACT=clang-trusty-64bit
[all …]
/third_party/rust/crates/cxx/.github/workflows/
Dsite.yml6 - master
8 - book/**
9 - .github/workflows/site.yml
15 runs-on: ubuntu-latest
18 timeout-minutes: 30
20 - uses: actions/checkout@v3
22 - name: Get mdBook
25 export MDBOOK_TARBALL="mdbook-${MDBOOK_VERSION}-x86_64-unknown-linux-gnu.tar.gz"
27 curl -Lf "${MDBOOK_URL}" | tar -xzC book
28 book/mdbook --version
[all …]
/third_party/mesa3d/.gitlab-ci/bin/
Dci_run_n_monitor.py2 # Copyright © 2020 - 2022 Collabora Ltd.
8 # SPDX-License-Identifier: MIT
48 "debian/x86_build-base",
50 "debian/x86_test-base",
51 "debian/x86_test-gl",
57 "debian-testing",
58 "debian-arm64",
83 def print_job_status(job) -> None:
99 def print_job_status_change(job) -> None:
115 def pretty_wait(sec: int) -> None:
[all …]
/third_party/libwebsockets/cmake/
DFindGit.cmake16 # This file was originally developed by Jean-Christophe Fillion-Robin, Kitware Inc.
17 # and was partially funded by NIH grant 3P41RR013218-12S1
19 # AG 2013-02-18: I got it from here
27 # GIT_EXECUTABLE - path to git command line client
28 # GIT_FOUND - true if the command line client was found
31 # GIT_WC_INFO(<dir> <var-prefix>)
36 # <var-prefix>_WC_REVISION_HASH - Current SHA1 hash
37 # <var-prefix>_WC_REVISION - Current SHA1 hash
38 # <var-prefix>_WC_REVISION_NAME - Name associated with <var-prefix>_WC_REVISION_HASH
39 # <var-prefix>_WC_URL - output of command `git config --get remote.origin.url'
[all …]
/third_party/mbedtls/scripts/
Dfootprint.sh4 # SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
13 # thread configs/config-thread.h
14 # suite-b configs/config-suite-b.h
15 # psk configs/config-ccm-psk-tls1_2.h
19 set -eu
23 if [ -r $CONFIG_H ]; then :; else
30 if grep -i cmake Makefile >/dev/null; then
35 if which arm-none-eabi-gcc >/dev/null 2>&1; then :; else
36 echo "You need the ARM-GCC toolchain in your path" >&2
37 echo "See https://launchpad.net/gcc-arm-embedded/" >&2
[all …]
/third_party/flatbuffers/snap/
Dsnapcraft.yaml3 adopt-info: flatc
25 - -GUnix Makefiles
26 - -DCMAKE_BUILD_TYPE=Release
27 build-packages:
28 - g++
29 - git
30 override-pull: |
32 tag=$(git describe --tags --abbrev=0)
33 count=$(git rev-list $tag.. --count)
38 hash=$(git rev-parse --short HEAD)
[all …]
/third_party/glslang/
Dbuild_info.py9 # http://www.apache.org/licenses/LICENSE-2.0
28 args: <project-dir> [<input-string>] [-i <input-file>] [-o <output-file>]
30 Either <input-string> or -i <input-file> needs to be provided.
35 <major> - The major version point parsed from the CHANGES.md file.
36 <minor> - The minor version point parsed from the CHANGES.md file.
37 <patch> - The point version point parsed from the CHANGES.md file.
38 <flavor> - The optional dash suffix parsed from the CHANGES.md file (excluding
40 <-flavor> - The optional dash suffix parsed from the CHANGES.md file (including
42 <date> - The optional date of the release in the form YYYY-MM-DD
43 <commit> - The git commit information for the directory taken from
[all …]
/third_party/skia/third_party/externals/angle2/src/
Dcommit_id.py3 # Use of this source code is governed by a BSD-style license that can be
14 Usage: commit_id.py check - check if git is present
15 commit_id.py unpack <ref_file> - check if <ref_file> exists, and if not
16 create it based on .git/packed-refs
17 commit_id.py position - print commit position
18 commit_id.py gen <file_to_write> - generate commit.h"""
23 command, stdout=sp.PIPE, shell=True, cwd=cwd).communicate()[0].strip().decode('utf-8')
27 return grab_output('git rev-list HEAD --count', cwd)
38 # Parse lines (which are in the format <hash> <ref_file>) and find the input file
76 packed_refs_full_path = os.path.join(cwd, '.git', 'packed-refs')
[all …]
/third_party/gn/infra/recipes/
Dgn.py37 'xcrun', '--toolchain', 'clang', 'clang++', '-xc++', '-fsyntax-only',
38 '-Wp,-v', '/dev/null'
55 triple = '--target=%s' % target.triple
56 if target.triple == 'riscv64-linux-gnu':
57 sysroot = '--sysroot=%s' % cipd_dir.join('sysroot-focal')
59 sysroot = '--sysroot=%s' % cipd_dir.join('sysroot')
63 'AR': cipd_dir.join('bin', 'llvm-ar'),
65 'LDFLAGS': '%s %s -static-libstdc++' % (triple, sysroot),
68 triple = '--target=%s' % target.triple
69 sysroot = '--sysroot=%s' % api.step(
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/
DMakefile3 # Top-level, not included from a subdir
15 # -O3 seems to trigger the following PNaCl ABI transform bug
16 # on method pointers, so override that with -O2:
18 CXX.Flags += -O2
20 CXX.Flags += -std=gnu++11
23 CPP.Defines += -DALLOW_DUMP=0 -DALLOW_LLVM_CL=0 -DALLOW_LLVM_IR=0 \
24 -DALLOW_TIMERS=0 -DALLOW_LLVM_IR_AS_INPUT=0 -DALLOW_MINIMAL_BUILD=1 \
25 -DALLOW_WASM=0 -DPNACL_BROWSER_TRANSLATOR=1
27 CPP.Defines += -DALLOW_DUMP=1 -DALLOW_LLVM_CL=1 -DALLOW_LLVM_IR=1 \
28 -DALLOW_TIMERS=1 -DALLOW_LLVM_IR_AS_INPUT=1 -DALLOW_MINIMAL_BUILD=0 \
[all …]
/third_party/gn/infra/
Drecipes.py9 # /usr/bin/env: 'python3 -u': No such file or directory
11 # This little shell hack is a triple-quoted noop in python, but in sh it
12 # evaluates to re-exec'ing this script in unbuffered mode.
13 # pylint: disable=pointless-string-statement
14 ''''exec python3 -u -- "$0" ${1+"$@"} # '''
22 This is a copy of https://chromium.googlesource.com/infra/luci/recipes-py/+/main/recipes.py.
26 # pylint: disable=wrong-import-position
36 from io import open # pylint: disable=redefined-builtin
39 import urllib.parse as urlparse
45 # url (str) - the url to the engine repo we want to use.
[all …]
/third_party/skia/third_party/freetype2/
Droll-freetype.sh6 FT_BUILD_DIR=$(dirname -- "$0")
10 …FT_PREVIOUS_REV=$(git grep "${FT_GIT_REPO}" HEAD~1 -- DEPS | sed 's!.*'${FT_GIT_REPO}'@\([[:xdigit…
15 git -C ${FT_GIT_DIR} fetch &&
16 FT_NEXT_REV=$(git -C ${FT_GIT_DIR} rev-parse ${FT_GIT_REF})
20 STEP="roll-deps" &&
21 sed -i'' -e "s!${FT_GIT_REPO}@${FT_PREVIOUS_REV}!${FT_GIT_REPO}@${FT_NEXT_REV}!" DEPS &&
22 tools/git-sync-deps &&
31 git -C ${FT_GIT_DIR} cat-file blob ${FT_PREVIOUS_REV}:${FT_INCLUDE} >> ${TMPFILE} &&
32 git merge-file ${FT_BUILD_DIR}/${SKIA_INCLUDE} ${TMPFILE} ${FT_GIT_DIR}/${FT_INCLUDE} &&
41 FT_COMMIT_COUNT=$(git -C ${FT_GIT_DIR} rev-list --count ${FT_PREVIOUS_REV}..${FT_NEXT_REV}) &&
[all …]
/third_party/libbpf/scripts/
Dsync-kernel.sh4 echo "USAGE: ./sync-kernel.sh <libbpf-repo> <kernel-repo> <bpf-branch>"
6 …echo "Set BPF_NEXT_BASELINE to override bpf-next tree commit, otherwise read from <libbpf-repo>/CH…
7 …BPF_BASELINE to override bpf tree commit, otherwise read from <libbpf-repo>/BPF-CHECKPOINT-COMMIT."
8 echo "Set MANUAL_MODE to 1 to manually control every cherry-picked commits."
12 set -eu
14 LIBBPF_REPO=${1-""}
15 LINUX_REPO=${2-""}
16 BPF_BRANCH=${3-""}
17 BASELINE_COMMIT=${BPF_NEXT_BASELINE:-$(cat ${LIBBPF_REPO}/CHECKPOINT-COMMIT)}
18 BPF_BASELINE_COMMIT=${BPF_BASELINE:-$(cat ${LIBBPF_REPO}/BPF-CHECKPOINT-COMMIT)}
[all …]
/third_party/skia/third_party/externals/freetype/src/tools/
Dupdate-copyright3 # Run the `update-copyright-year' script on all files in the git repository,
4 # taking care of exceptions stored in file `no-copyright'.
6 topdir=`git rev-parse --show-toplevel`
9 git ls-files --full-name $topdir \
11 | grep -vFf $toolsdir/no-copyright \
12 | xargs $toolsdir/update-copyright-year
/third_party/skia/experimental/tools/
Dset-change-id-hook3 # Use of this source code is governed by a BSD-style license that can be
5 SRC='https://gerrit-review.googlesource.com/tools/hooks/commit-msg'
7 HOOK="$(git rev-parse --git-dir)/hooks/commit-msg"
8 curl -L -o "$HOOK" "$SRC" && chmod +x "$HOOK"
/third_party/skia/tools/skqp/
Dupload_apk3 # Use of this source code is governed by a BSD-style license that can be
5 if [ -z "$1" ] || [ -z "$2" ]; then
9 NAME="skia-skqp/skqp-universal-$(git rev-parse "$1" | cut -b 1-16).apk"
/third_party/typescript/scripts/
Dopen-cherry-pick-pr.mjs2 import { runSequence } from "./run-sequence.mjs";
24 ["git", ["rev-parse", "HEAD"]]
27 ["git", ["log", "-1", `--pretty="%aN <%aE>"`]]
47 …og", `${remoteName}/${baseBranchName}..${currentSha.trim()}`, `--pretty="%h %s%n%b"`, "--reverse"]]
49 logText = `Cherry-pick PR #${process.env.SOURCE_ISSUE} into ${process.env.TARGET_BRANCH}
54 …const mergebase = runSequence([["git", ["merge-base", `${remoteName}/${baseBranchName}`, currentSh…
56 ["git", ["checkout", "-b", "temp-branch"]],
57 ["git", ["reset", mergebase, "--soft"]]
61 ["git", ["commit", "-F", logpath, `--author="${currentAuthor.trim()}"`]]
65 ["git", ["rev-parse", "HEAD"]]
[all …]
/third_party/skia/third_party/harfbuzz/
Droll-harfbuzz.sh6 HB_BUILD_DIR=$(dirname -- "$0")
10 …HB_PREVIOUS_REV=$(git grep "${HB_GIT_REPO}" HEAD~1 -- DEPS | sed 's!.*'${HB_GIT_REPO}'@\([[:xdigit…
15 git -C ${HB_GIT_DIR} fetch &&
16 HB_NEXT_REV=$(git -C ${HB_GIT_DIR} rev-parse ${HB_GIT_REF})
20 STEP="roll-deps" &&
21 sed -i'' -e "s!${HB_GIT_REPO}@${HB_PREVIOUS_REV}!${HB_GIT_REPO}@${HB_NEXT_REV}!" DEPS &&
22 tools/git-sync-deps &&
27 #for each file name in ${HB_GIT_DIR}/src/hb-*.{cc,h,hh}
36 HB_BUILD_DIR_REL=$(realpath --relative-to=${HB_GIT_DIR} ${HB_BUILD_DIR})
41 cd -- "${HB_GIT_DIR}" &&
[all …]

12345678