Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for mkdir (0.17 sec)

  1. ci/official/containers/linux_arm64/devel.usertools/setup_venv_test.sh

    # 
    # This will create a venv with that wheel file installed in it, and a symlink
    # in ./venv_and_symlink_name/tensorflow to ./tensorflow. We use this for the
    # "pip" tests.
    
    python -m venv /$1
    mkdir -p $1
    rm -f ./$1/tensorflow
    ln -s $(ls /$1/lib) /$1/lib/python3
    ln -s ../tensorflow $1/tensorflow
    # extglob is necessary for @(a|b) pattern matching
    # see "extglob" in the bash manual page ($ man bash)
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  2. ci/official/containers/linux_arm64/Dockerfile

    RUN groupadd -g 1001 buildslave && useradd -m -u 1001 -g buildslave buildslave
    RUN mkdir -p /tf/venv
    RUN chown -R buildslave:buildslave /tf
    RUN dpkg -i /patchelf/patchelf_0.14.3-1_arm64.deb
    
    # All lines past this point are reset when $CACHEBUSTER is set. We need this
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Jan 08 09:32:19 GMT 2024
    - 4.1K bytes
    - Viewed (1)
  3. ci/official/upload.sh

    # "gsutil -m rsync" runs in parallel.
    # "gsutil rsync -r" is recursive and makes directories work.
    # "gsutil rsync -d" is "sync and delete files from destination if not present in source"
    
    DOWNLOADS="$(mktemp -d)"
    mkdir -p "$DOWNLOADS"
    gsutil -m rsync -r "$TFCI_ARTIFACT_STAGING_GCS_URI" "$DOWNLOADS"
    ls "$DOWNLOADS"
    
    # Upload all build artifacts to e.g. gs://tensorflow/versions/2.16.0-rc1 (releases) or
    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)
  4. ci/official/utilities/setup.sh

    if [[ "${OSTYPE}" =~ darwin* ]]; then
      source ./ci/official/utilities/setup_macos.sh
    fi
    
    # Create and expand to the full path of TFCI_OUTPUT_DIR
    export TFCI_OUTPUT_DIR=$(realpath "$TFCI_OUTPUT_DIR")
    mkdir -p "$TFCI_OUTPUT_DIR"
    
    # In addition to dumping all script output to the terminal, place it into
    # $TFCI_OUTPUT_DIR/script.log
    exec > >(tee "$TFCI_OUTPUT_DIR/script.log") 2>&1
    
    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)
  5. ci/official/utilities/repack_libtensorflow.sh

      jar -xf "${tmp_dir}/orig.jar" src/
      # Extract any org/ files under src/main/java
      (mkdir -p src/main/java && cd src/main/java && jar -xf "${tmp_dir}/orig.jar" org/)
      # Repackage src/
      jar -cMf "${tmp_dir}/new.jar" src
      popd
      cp "${tmp_dir}/new.jar" "${dest_jar}"
      rm -rf "${tmp_dir}"
    }
    DIR=$1
    TARBALL_SUFFIX=$2
    mkdir -p "$DIR"
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Jul 12 19:47:53 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  6. ci/official/containers/linux_arm64/builder.devtoolset/build_devtoolset.sh

      ;;
    *)
      echo "Usage: $0 {devtoolset-9|devtoolset-10} <target-directory> <arch>"
      echo "Use 'devtoolset-9' to build a manylinux2014 compatible toolchain"
      exit 1
      ;;
    esac
    
    mkdir -p "${TARGET}"
    
    mkdir -p ${TARGET}/usr/include
    
    # Put the current kernel headers from ubuntu in place.
    ln -s "/usr/include/linux" "${TARGET}/usr/include/linux"
    ln -s "/usr/include/asm-generic" "${TARGET}/usr/include/asm-generic"
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Sep 29 00:26:34 GMT 2023
    - 6.1K bytes
    - Viewed (1)
  7. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

    #include "tensorflow/core/platform/test.h"
    #include "tensorflow/core/util/command_line_flags.h"
    
    #if defined(PLATFORM_WINDOWS)
    // Make mkdir resolve to _mkdir to create the test temporary directory.
    #include <direct.h>
    #define mkdir(name, mode) _mkdir(name)
    
    // Windows defines the following macros to convert foo to fooA or fooW,
    // depending on the type of the string argument. We don't use these macros, so
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  8. ci/official/containers/linux_arm64/devel.usertools/repack_libtensorflow.sh

      jar -xf "${tmp_dir}/orig.jar" src/
      # Extract any org/ files under src/main/java
      (mkdir -p src/main/java && cd src/main/java && jar -xf "${tmp_dir}/orig.jar" org/)
      # Repackage src/
      jar -cMf "${tmp_dir}/new.jar" src
      popd
      cp "${tmp_dir}/new.jar" "${dest_jar}"
      rm -rf "${tmp_dir}"
    }
    DIR=$1
    TARBALL_SUFFIX=$2
    mkdir -p "$DIR"
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  9. ci/official/utilities/setup_macos.sh

    # VMs when needed.
    # TODO(b/316932689): Avoid copying and replace with a local repository rule.
    if [[ "$TFCI_MACOS_CROSS_COMPILE_ENABLE" == 1 ]]; then
      mkdir -p "${TFCI_MACOS_CROSS_COMPILE_SDK_DEST}/usr"
      mkdir -p "${TFCI_MACOS_CROSS_COMPILE_SDK_DEST}/System/Library/Frameworks/"
      cp -r "${TFCI_MACOS_CROSS_COMPILE_SDK_SOURCE}/usr/include" "${TFCI_MACOS_CROSS_COMPILE_SDK_DEST}/usr/include"
    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/containers/linux_arm64/builder.patchelf/build_patchelf.sh

    # Need a newer version of patchelf as the installed version is buggy in 20.04
    # so get patchelf source from 22.04 ie 'jammy' and build it to avoid dependency
    # problems that would occur with a binary package
    
    mkdir -p /patchelf
    cd /patchelf
    echo deb-src http://ports.ubuntu.com/ubuntu-ports/ jammy universe>>/etc/apt/sources.list
    apt-get update
    apt-get -y build-dep patchelf/jammy
    apt-get -b source patchelf/jammy
    
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Sep 18 15:53:15 GMT 2023
    - 1.2K bytes
    - Viewed (0)
Back to top