Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 32 for Command (0.2 sec)

  1. src/clean.bash

    if [ ! -f run.bash ]; then
    	echo 'clean.bash must be run from $GOROOT/src' 1>&2
    	exit 1
    fi
    export GOROOT="$(cd .. && pwd)"
    
    gobin="${GOROOT}"/bin
    if ! "$gobin"/go help >/dev/null 2>&1; then
    	echo 'cannot find go command; nothing to clean' >&2
    	exit 1
    fi
    
    "$gobin/go" clean -i std
    "$gobin/go" tool dist clean
    Shell Script
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 26 21:54:09 GMT 2020
    - 518 bytes
    - Viewed (0)
  2. dockerscripts/docker-entrypoint.sh

    #!/bin/sh
    #
    
    # If command starts with an option, prepend minio.
    if [ "${1}" != "minio" ]; then
    	if [ -n "${1}" ]; then
    		set -- minio "$@"
    	fi
    fi
    
    docker_switch_user() {
    	if [ -n "${MINIO_USERNAME}" ] && [ -n "${MINIO_GROUPNAME}" ]; then
    		if [ -n "${MINIO_UID}" ] && [ -n "${MINIO_GID}" ]; then
    			chroot --userspec=${MINIO_UID}:${MINIO_GID} / "$@"
    		else
    			echo "${MINIO_USERNAME}:x:1000:1000:${MINIO_USERNAME}:/:/sbin/nologin" >>/etc/passwd
    Shell Script
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Nov 03 21:18:18 GMT 2023
    - 675 bytes
    - Viewed (0)
  3. ci/official/utilities/setup_docker.sh

    if [[ "$TFCI_DOCKER_PULL_ENABLE" == 1 ]]; then
      # Simple retry logic for docker-pull errors. Sleeps for 15s if a pull fails.
      # Pulling an already-pulled container image will finish instantly, so
      # repeating the command costs nothing.
      docker pull "$TFCI_DOCKER_IMAGE" || sleep 15
      docker pull "$TFCI_DOCKER_IMAGE" || sleep 15
      docker pull "$TFCI_DOCKER_IMAGE"
    fi 
    
    if [[ "$TFCI_DOCKER_REBUILD_ENABLE" == 1 ]]; then
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Jan 26 15:27:59 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  4. ci/official/wheel_test/update_requirements.sh

    # script to run pip-compile for keras, tensorboard, estimator deps.
    # if there is a change in requirements.in then all lock files will be updated
    # accordingly.
    
    # -e: abort script if one command fails
    # -u: error if undefined variable used
    # -o pipefail: entire command fails if pipe fails. watch out for yes | ...
    # -o history: record shell history
    set -euo pipefail -o history
    
    # Check for required arguments
    if [ -z "$1" ]; then
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 31 18:17:57 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  5. src/bootstrap.bash

    echo
    cd src
    ./make.bash --no-banner $forceflag
    gohostos="$(../bin/go env GOHOSTOS)"
    gohostarch="$(../bin/go env GOHOSTARCH)"
    goos="$(../bin/go env GOOS)"
    goarch="$(../bin/go env GOARCH)"
    
    # NOTE: Cannot invoke go command after this point.
    # We're about to delete all but the cross-compiled binaries.
    cd ..
    if [ "$goos" = "$gohostos" -a "$goarch" = "$gohostarch" ]; then
    	# cross-compile for local system. nothing to copy.
    Shell Script
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Jan 20 17:52:26 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  6. ci/official/any.sh

    #
    # 1. RUN, TEST, OR BUILD BAZEL TARGET(S) WITHIN A TFCI ENVIRONMENT
    #    To use:
    #       export TFCI=ci/official/envs/env_goes_here
    #       export TF_ANY_TARGETS="quoted list of targets, like on the command line"
    #       export TF_ANY_MODE="test" or "build" or "run" (default: "test")
    #       ./any.sh
    #
    # 2. RUN ANY OTHER SCRIPT AND ENV WITH NO SIDE EFFECTS (NO UPLOADS)
    #    To use:
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 01 03:21:19 GMT 2024
    - 2.1K bytes
    - Viewed (1)
  7. ci/official/containers/linux_arm64/build.sh

    export DOCKER_BUILDKIT=1
    for target in jax tf; do
      IMAGE="gcr.io/tensorflow-sigs/build-arm64:$target-$TAG"
      docker pull "$IMAGE" || true
      # Due to some flakiness of resources pulled in the build, allow the docker
      # command to reattempt build a few times in the case of failure (b/302558736)
      set +e
      for i in $(seq 1 5)
      do
        docker build \
        --build-arg REQUIREMENTS_FILE=jax.requirements.txt \
        --target=$target \
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Nov 03 13:38:49 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  8. .teamcity/mvnw

          echo "Downloading from: $jarUrl"
        fi
        wrapperJarPath="$BASE_DIR/.mvn/wrapper/maven-wrapper.jar"
        if $cygwin; then
          wrapperJarPath=`cygpath --path --windows "$wrapperJarPath"`
        fi
    
        if command -v wget > /dev/null; then
            if [ "$MVNW_VERBOSE" = true ]; then
              echo "Found wget ... using wget"
            fi
            if [ -z "$MVNW_USERNAME" ] || [ -z "$MVNW_PASSWORD" ]; then
    Shell Script
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Feb 26 01:48:39 GMT 2020
    - 9.8K bytes
    - Viewed (0)
  9. ci/official/utilities/setup_macos.sh

      alias realpath=grealpath
      alias stat=gstat
      # By default, aliases are only expanded in interactive shells, which means
      # that they are not substituted for their corresponding commands in shell
      # scripts. By setting "expand_aliases", we enable alias expansion in
      # non-interactive shells as well.
      shopt -s expand_aliases
    else
      echo '==TFCI==: Error: Cannot find path to grealpath or gstat'
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 15:23:28 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  10. ci/official/upload.sh

    if [[ "$TFCI_NIGHTLY_UPDATE_VERSION_ENABLE" == 1 ]]; then
      tfrun python3 tensorflow/tools/ci_build/update_version.py --nightly
    fi
    source ci/official/utilities/get_versions.sh
    
    # Note on gsutil commands:
    # "gsutil cp" always "copies into". It cannot act on the contents of a directory
    # and it does not seem possible to e.g. copy "gs://foo/bar" as anything other than
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Jan 24 20:52:12 GMT 2024
    - 2.8K bytes
    - Viewed (0)
Back to top