Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix conda install on distributions with strict POSIX sh #18

Merged
merged 1 commit into from
Jan 24, 2023

Commits on Jan 18, 2023

  1. Fix conda install on distributions with strict POSIX sh

    We require the same fix that was made on upstream pytorch
    pytorch/pytorch#91371
    ROCm/pytorch@b72ec7c
    
    Without this change install_conda.sh stage fails
    ```
    #21 6.254 CondaFileIOError: '/opt/conda/pkgs/envs/*/env.txt'. [Errno 2] No such file or directory: '/opt/conda/pkgs/envs/*/env.txt'
    #21 6.254 
    #21 ERROR: executor failed running [/bin/sh -c bash ./install_conda.sh && rm install_conda.sh]: exit code: 1
    ------
     > [conda 2/3] RUN bash ./install_conda.sh && rm install_conda.sh:
    ------
    executor failed running [/bin/sh -c bash ./install_conda.sh && rm install_conda.sh]: exit code: 1
    ```
    
    Locally tested with the `/builder/libtorch/build_docker.sh`
    jataylo committed Jan 18, 2023
    Configuration menu
    Copy the full SHA
    0a195e3 View commit details
    Browse the repository at this point in the history