Unverified Commit c1ddb93c authored by Yi Zhang's avatar Yi Zhang Committed by GitHub
Browse files

rm install_cuda_compatible_cmath (#4388)



* rm install_cuda_compatible_cmath

* Remove unused script
Co-authored-by: default avatarNicolas Hug <nicolashug@fb.com>
Co-authored-by: default avatarNicolas Hug <contact@nicolas-hug.com>
parent bc3f8f6c
...@@ -45,14 +45,6 @@ commands: ...@@ -45,14 +45,6 @@ commands:
our_upload_channel=test our_upload_channel=test
fi fi
echo "export UPLOAD_CHANNEL=${our_upload_channel}" >> ${BASH_ENV} echo "export UPLOAD_CHANNEL=${our_upload_channel}" >> ${BASH_ENV}
install_cuda_compatible_cmath:
description: "Install CUDA compatible cmath"
steps:
- run:
name: _HACK_ Install CUDA compatible cmath
no_output_timeout: 1m
command: |
powershell .circleci/scripts/vs_install_cmath.ps1
brew_update: brew_update:
description: "Update Homebrew and install base formulae" description: "Update Homebrew and install base formulae"
...@@ -301,7 +293,6 @@ jobs: ...@@ -301,7 +293,6 @@ jobs:
steps: steps:
- checkout_merge - checkout_merge
- designate_upload_channel - designate_upload_channel
- install_cuda_compatible_cmath
- run: - run:
name: Build conda packages name: Build conda packages
no_output_timeout: 20m no_output_timeout: 20m
...@@ -333,7 +324,6 @@ jobs: ...@@ -333,7 +324,6 @@ jobs:
steps: steps:
- checkout_merge - checkout_merge
- designate_upload_channel - designate_upload_channel
- install_cuda_compatible_cmath
- run: - run:
name: Build wheel packages name: Build wheel packages
command: | command: |
...@@ -713,7 +703,6 @@ jobs: ...@@ -713,7 +703,6 @@ jobs:
steps: steps:
- checkout - checkout
- designate_upload_channel - designate_upload_channel
- install_cuda_compatible_cmath
- run: - run:
name: Generate cache key name: Generate cache key
# This will refresh cache on Sundays, nightly build should generate new cache. # This will refresh cache on Sundays, nightly build should generate new cache.
...@@ -755,7 +744,6 @@ jobs: ...@@ -755,7 +744,6 @@ jobs:
steps: steps:
- checkout - checkout
- designate_upload_channel - designate_upload_channel
- install_cuda_compatible_cmath
- run: - run:
name: Generate cache key name: Generate cache key
# This will refresh cache on Sundays, nightly build should generate new cache. # This will refresh cache on Sundays, nightly build should generate new cache.
...@@ -885,7 +873,6 @@ jobs: ...@@ -885,7 +873,6 @@ jobs:
steps: steps:
- checkout_merge - checkout_merge
- designate_upload_channel - designate_upload_channel
- install_cuda_compatible_cmath
- run: - run:
command: | command: |
set -ex set -ex
...@@ -899,7 +886,6 @@ jobs: ...@@ -899,7 +886,6 @@ jobs:
steps: steps:
- checkout_merge - checkout_merge
- designate_upload_channel - designate_upload_channel
- install_cuda_compatible_cmath
- run: - run:
command: | command: |
set -ex set -ex
......
...@@ -45,14 +45,6 @@ commands: ...@@ -45,14 +45,6 @@ commands:
our_upload_channel=test our_upload_channel=test
fi fi
echo "export UPLOAD_CHANNEL=${our_upload_channel}" >> ${BASH_ENV} echo "export UPLOAD_CHANNEL=${our_upload_channel}" >> ${BASH_ENV}
install_cuda_compatible_cmath:
description: "Install CUDA compatible cmath"
steps:
- run:
name: _HACK_ Install CUDA compatible cmath
no_output_timeout: 1m
command: |
powershell .circleci/scripts/vs_install_cmath.ps1
brew_update: brew_update:
description: "Update Homebrew and install base formulae" description: "Update Homebrew and install base formulae"
...@@ -301,7 +293,6 @@ jobs: ...@@ -301,7 +293,6 @@ jobs:
steps: steps:
- checkout_merge - checkout_merge
- designate_upload_channel - designate_upload_channel
- install_cuda_compatible_cmath
- run: - run:
name: Build conda packages name: Build conda packages
no_output_timeout: 20m no_output_timeout: 20m
...@@ -333,7 +324,6 @@ jobs: ...@@ -333,7 +324,6 @@ jobs:
steps: steps:
- checkout_merge - checkout_merge
- designate_upload_channel - designate_upload_channel
- install_cuda_compatible_cmath
- run: - run:
name: Build wheel packages name: Build wheel packages
command: | command: |
...@@ -713,7 +703,6 @@ jobs: ...@@ -713,7 +703,6 @@ jobs:
steps: steps:
- checkout - checkout
- designate_upload_channel - designate_upload_channel
- install_cuda_compatible_cmath
- run: - run:
name: Generate cache key name: Generate cache key
# This will refresh cache on Sundays, nightly build should generate new cache. # This will refresh cache on Sundays, nightly build should generate new cache.
...@@ -755,7 +744,6 @@ jobs: ...@@ -755,7 +744,6 @@ jobs:
steps: steps:
- checkout - checkout
- designate_upload_channel - designate_upload_channel
- install_cuda_compatible_cmath
- run: - run:
name: Generate cache key name: Generate cache key
# This will refresh cache on Sundays, nightly build should generate new cache. # This will refresh cache on Sundays, nightly build should generate new cache.
...@@ -885,7 +873,6 @@ jobs: ...@@ -885,7 +873,6 @@ jobs:
steps: steps:
- checkout_merge - checkout_merge
- designate_upload_channel - designate_upload_channel
- install_cuda_compatible_cmath
- run: - run:
command: | command: |
set -ex set -ex
...@@ -899,7 +886,6 @@ jobs: ...@@ -899,7 +886,6 @@ jobs:
steps: steps:
- checkout_merge - checkout_merge
- designate_upload_channel - designate_upload_channel
- install_cuda_compatible_cmath
- run: - run:
command: | command: |
set -ex set -ex
......
$CMATH_DOWNLOAD_LINK = "https://raw.githubusercontent.com/microsoft/STL/12c684bba78f9b032050526abdebf14f58ca26a3/stl/inc/cmath"
$VC14_28_INSTALL_PATH="C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include"
curl.exe --retry 3 -kL $CMATH_DOWNLOAD_LINK --output "$home\cmath"
Move-Item -Path "$home\cmath" -Destination "$VC14_28_INSTALL_PATH" -Force
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment