Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for mkdirs (0.14 sec)

  1. tensorflow/c/experimental/filesystem/modular_filesystem.cc

                                                int64_t* undeleted_dirs) {
      if (undeleted_files == nullptr || undeleted_dirs == nullptr)
        return errors::FailedPrecondition(
            "DeleteRecursively must not be called with `undeleted_files` or "
            "`undeleted_dirs` set to NULL");
    
      if (ops_->delete_recursively == nullptr)
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Sep 06 19:12:29 GMT 2023
    - 23.1K bytes
    - Viewed (0)
  2. 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 May 07 12:40:20 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  3. 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 May 07 12:40:20 GMT 2024
    - Last Modified: Fri Sep 29 00:26:34 GMT 2023
    - 6.1K bytes
    - Viewed (1)
  4. tensorflow/api_template.__init__.py

    _site_packages_dirs = []
    if _site.ENABLE_USER_SITE and _site.USER_SITE is not None:
      _site_packages_dirs += [_site.USER_SITE]
    _site_packages_dirs += [p for p in _sys.path if "site-packages" in p]
    if "getsitepackages" in dir(_site):
      _site_packages_dirs += _site.getsitepackages()
    
    if "sysconfig" in dir(_distutils):
      _site_packages_dirs += [_distutils.sysconfig.get_python_lib()]
    
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 05 06:27:59 GMT 2024
    - 6.7K bytes
    - Viewed (3)
  5. 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 May 07 12:40:20 GMT 2024
    - Last Modified: Mon Jan 08 09:32:19 GMT 2024
    - 4.1K bytes
    - Viewed (1)
  6. 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 May 07 12:40:20 GMT 2024
    - Last Modified: Mon Sep 18 15:53:15 GMT 2023
    - 1.2K bytes
    - Viewed (0)
  7. tensorflow/api_template_v1.__init__.py

    # Get sitepackages directories for the python installation.
    _site_packages_dirs = []
    _site_packages_dirs += [] if _site.USER_SITE is None else [_site.USER_SITE]
    _site_packages_dirs += [p for p in _sys.path if "site-packages" in p]
    if "getsitepackages" in dir(_site):
      _site_packages_dirs += _site.getsitepackages()
    
    if "sysconfig" in dir(_distutils):
      _site_packages_dirs += [_distutils.sysconfig.get_python_lib()]
    
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Jan 23 02:14:00 GMT 2024
    - 7.4K 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 May 07 12:40:20 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/utilities/rename_and_verify_wheels.sh

      echo "$TFCI_OUTPUT_DIR/extra_wheels."
      # List all .whl files by their modification time (ls -t) and move anything
      # other than the most recently-modified one (the newest one).
      mkdir -p $TFCI_OUTPUT_DIR/extra_wheels
      ls -t *.whl | tail -n +2 | xargs mv -t $TFCI_OUTPUT_DIR/extra_wheels
    fi
    
    # Repair wheels with auditwheel and delete the old one.
    if [[ "$TFCI_WHL_AUDIT_ENABLE" == "1" ]]; then
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 27 21:16:27 GMT 2024
    - 3.4K bytes
    - Viewed (0)
Back to top