File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ script_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
55. " $script_dir /pkg_helpers.bash"
66
77export BUILD_TYPE=conda
8- setup_env 0.1.0
8+ setup_env $( cat " version.txt " | sed " s/\([0-9]*\.[0-9]*\.[0-9]*\).*/\1/g " )
99export SOURCE_ROOT_DIR=" $PWD "
1010setup_conda_pytorch_constraint
1111setup_conda_cudatoolkit_constraint
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ script_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
55. " $script_dir /pkg_helpers.bash"
66
77export BUILD_TYPE=wheel
8- setup_env 0.1.0
8+ setup_env $( cat " version.txt " | sed " s/\([0-9]*\.[0-9]*\.[0-9]*\).*/\1/g " )
99setup_wheel_python
1010pip_install numpy pyyaml future ninja
1111setup_pip_pytorch_version
You can’t perform that action at this time.
0 commit comments