Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for grep (0.14 sec)

  1. ci/official/containers/linux_arm64/devel.usertools/code_check_full.bats

    # gathers the list of all packages (i.e. directories) which contain those
    # targets.
    license_query() {
     bazel cquery --experimental_cc_shared_library "$1" --keep_going \
      | grep -e "^//" -e "^@" \
      | grep -E -v "^//tensorflow" \
      | sed -e 's|:.*||' \
      | sort -u
    }
    
    # Verify that, given a build target and a license-list generator target, all of
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 12.7K bytes
    - Viewed (0)
  2. .github/workflows/pylint-presubmit.yml

            python -m pip install --upgrade pip
            pip install pylint==2.13.9 numpy wheel
        - name: Run PyLint on changed files
          run: |
    Others
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Sep 12 16:40:29 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  3. ci/official/containers/linux_arm64/devel.usertools/code_check_changed_files.bats

        echo "============================="
        grep -e "\.py$" $BATS_FILE_TMPDIR/changed_files > $BATS_TEST_TMPDIR/files || true
        if [[ ! -s $BATS_TEST_TMPDIR/files ]]; then return 0; fi
        xargs -a $BATS_TEST_TMPDIR/files -n1 -P $(nproc --all) \
            python -m pylint --rcfile=tensorflow/tools/ci_build/pylintrc --score false \
            | grep -v "**** Module" \
            | tee $BATS_TEST_TMPDIR/needs_help.txt
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  4. ci/official/envs/ci_default

    #
    # Find usage in scripts with e.g.:
    #   cd ci/official
    #   ls *.sh utilities/*.sh | xargs grep -H --color=always TFCI_ARG_HERE
    # You may also get an overview, e.g.:
    #   cd ci/official
    #   grep -o '^TFCI\w*' envs/ci_default | xargs -n 1 -I{} bash -c "echo; echo {}; grep -R -H --exclude-dir=envs --color=always '{}'"
    TFCI_ARTIFACT_FINAL_GCS_ENABLE=
    TFCI_ARTIFACT_FINAL_GCS_SA_PATH=
    TFCI_ARTIFACT_FINAL_GCS_URI=
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 27 21:16:27 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  5. ci/official/containers/linux_arm64/builder.devtoolset/rpm-patch.sh

    # ==============================================================================
    #
    # Given an RPM spec file $1, apply its patches.
    
    SPEC="$1"
    grep '%patch' "${SPEC}" |while read cmd ; do
      N=$(echo "${cmd}" |sed 's,%patch\([0-9]\+\).*,\1,')
      file=$(grep "Patch$N:" "${SPEC}" |sed 's,.*: ,,')
      parg=$(echo "${cmd}" |sed 's,.*\(-p[0-9]\).*,\1,')
      if [[ ! "${file}" =~ doxygen && "${cmd}" != \#* ]]; then
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 1.1K bytes
    - Viewed (0)
  6. ci/official/utilities/setup.sh

    else
      FROM_ENV=$(mktemp)
      # "export -p" prints a list of environment values in a safe-to-source format,
      # e.g. `declare -x TFCI_BAZEL_COMMON_ARGS="list of args"` for bash.
      export -p | grep TFCI > "$FROM_ENV"
    
      # Source the default ci values
      source ./ci/official/envs/ci_default
    
      # TODO(angerson) write this documentation
      # Sources every env, in order, from the comma-separated list "TFCI"
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Jan 26 00:33:34 GMT 2024
    - 5.2K bytes
    - Viewed (1)
  7. ci/official/utilities/code_check_changed_files.bats

        echo "============================="
        grep -e "\.py$" $BATS_FILE_TMPDIR/changed_files > $BATS_TEST_TMPDIR/files || true
        if [[ ! -s $BATS_TEST_TMPDIR/files ]]; then return 0; fi
        xargs -a $BATS_TEST_TMPDIR/files -n1 -P $(nproc --all) \
            python -m pylint --rcfile=tensorflow/tools/ci_build/pylintrc --score false \
            | grep -v "**** Module" \
            | tee $BATS_TEST_TMPDIR/needs_help.txt
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Jan 10 19:39:41 GMT 2024
    - 4K bytes
    - Viewed (0)
  8. ci/official/containers/linux_arm64/devel.usertools/squash_testlogs.py

    internal invocation viewer.
    """
    import collections
    import os
    import re
    import subprocess
    import sys
    from junitparser import JUnitXml
    
    result = JUnitXml()
    try:
      files = subprocess.check_output(
          ["grep", "-rlE", '(failures|errors)="[1-9]', sys.argv[1]]
      )
    except subprocess.CalledProcessError as e:
      print("No failures found to log!")
      exit(0)
    
    # For test cases, only show the ones that failed that have text (a log)
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Sep 18 19:00:37 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  9. ci/official/envs/rbe

    # it enables a derived --config setting.  If RBE is not available (i.e. there
    # is no --config setting), bazel would fail and quit. This script does a quick
    # check This script checks for such errors early
    if ! grep "rbe_$TFCI_BAZEL_TARGET_SELECTING_CONFIG_PREFIX" .bazelrc; then
      cat <<EOF
    ERROR: RBE was enabled via the 'rbe' env in the 'TFCI' variable.
           TFCI: $TFCI
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Jan 10 19:39:41 GMT 2024
    - 2K bytes
    - Viewed (0)
  10. ci/official/utilities/code_check_full.bats

    # gathers the list of all packages (i.e. directories) which contain those
    # targets.
    license_query() {
     bazel cquery --experimental_cc_shared_library "$1" --keep_going \
      | grep -e "^//" -e "^@" \
      | grep -E -v "^//tensorflow" \
      | sed -e 's|:.*||' \
      | sort -u
    }
    
    # Verify that, given a build target and a license-list generator target, all of
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 06 21:54:13 GMT 2024
    - 13.2K bytes
    - Viewed (0)
Back to top