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

Add Windows #49

Merged
merged 37 commits into from
Nov 9, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
956d851
Enable Windows
jaimergp Oct 31, 2020
8ab5e9e
Draft cuda installation script
jaimergp Oct 31, 2020
b8b7837
MNT: Re-rendered with conda-build 3.20.5, conda-smithy 3.8.4, and con…
jaimergp Oct 31, 2020
978c353
Add call to install_cuda manually
jaimergp Oct 31, 2020
fb8836e
Disable Linux temporarily
jaimergp Oct 31, 2020
96b1882
Activate base env
jaimergp Oct 31, 2020
46239fa
Install shyaml
jaimergp Oct 31, 2020
d71adf9
Typo in cuda install
jaimergp Oct 31, 2020
b6d2a6c
Port nvcc linux scripts to Windows (WIP)
jaimergp Oct 31, 2020
36950da
Fix script path
jaimergp Oct 31, 2020
e0edccd
Fix CUDA_VERSION parsing
jaimergp Oct 31, 2020
617b388
Fix bin existence
jaimergp Oct 31, 2020
bfaa017
Switch to md5-checked local installers (not network)
jaimergp Oct 31, 2020
5ef93f2
Allow errors in directory creation
jaimergp Oct 31, 2020
bab3826
Fix cuda 9.2 md5sum
jaimergp Oct 31, 2020
8f60679
Fix windows selector in tests
jaimergp Oct 31, 2020
4d3a427
Fix in library locations
jaimergp Oct 31, 2020
e524705
Fix Windows after local testing
jaimergp Oct 31, 2020
0c3a0ee
Adapt exit codes
jaimergp Oct 31, 2020
bcdb6ae
Set PATH and CUDA_HOME
jaimergp Nov 1, 2020
ec3367e
Try to escape that extra quote in the env var
jaimergp Nov 1, 2020
2156b31
Retry env vars setting
jaimergp Nov 1, 2020
7564347
Read CI in
jaimergp Nov 1, 2020
0433d30
Export CI=azure
jaimergp Nov 1, 2020
fce7aaa
Disable per-component installation for now
jaimergp Nov 1, 2020
1f2ce18
Switch to network installers for faster debugging; replace grep with …
jaimergp Nov 1, 2020
03a568a
CUDA Network installer does not seem to work with components
jaimergp Nov 1, 2020
aa27f67
Debug without speedups
jaimergp Nov 1, 2020
21a70e2
CUDA 9.2 requires vs2015
jaimergp Nov 1, 2020
e99b2a6
Add windows cuda migrator
jaimergp Nov 4, 2020
091f5e2
MNT: Re-rendered with conda-build 3.20.5, conda-smithy 3.8.5, and con…
jaimergp Nov 4, 2020
ef70f18
CUDA installation now handled in conda-forge-ci-setup
jaimergp Nov 4, 2020
ae22f47
Make sure we do not leave any cuda files on the package
jaimergp Nov 4, 2020
c2d29ba
Add a fallback version checker
jaimergp Nov 4, 2020
863f2c7
Try to generate stub from driver on the fly
jaimergp Nov 5, 2020
329e924
Copy pregenerated nvcuda.stub.lib
jaimergp Nov 5, 2020
36ade89
Copy cuda.lib from CUDA_HOME but add an empty stub just in case we ac…
jaimergp Nov 6, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 10 additions & 11 deletions .azure-pipelines/azure-pipelines-linux.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

119 changes: 119 additions & 0 deletions .azure-pipelines/azure-pipelines-win.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ c_compiler:
- gcc
c_compiler_version:
- '7'
cdt_name:
- cos6
channel_sources:
- conda-forge,defaults
channel_targets:
Expand All @@ -19,5 +21,7 @@ docker_image:
target_platform:
- linux-64
zip_keys:
- - c_compiler_version
- cxx_compiler_version
- - cuda_compiler_version
- docker_image
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ c_compiler:
- gcc
c_compiler_version:
- '7'
cdt_name:
- cos6
channel_sources:
- conda-forge,defaults
channel_targets:
Expand All @@ -19,5 +21,7 @@ docker_image:
target_platform:
- linux-64
zip_keys:
- - c_compiler_version
- cxx_compiler_version
- - cuda_compiler_version
- docker_image
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ c_compiler:
- gcc
c_compiler_version:
- '7'
cdt_name:
- cos6
channel_sources:
- conda-forge,defaults
channel_targets:
Expand All @@ -19,5 +21,7 @@ docker_image:
target_platform:
- linux-64
zip_keys:
- - c_compiler_version
- cxx_compiler_version
- - cuda_compiler_version
- docker_image
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ c_compiler:
- gcc
c_compiler_version:
- '7'
cdt_name:
- cos6
channel_sources:
- conda-forge,defaults
channel_targets:
Expand All @@ -19,5 +21,7 @@ docker_image:
target_platform:
- linux-64
zip_keys:
- - c_compiler_version
- cxx_compiler_version
- - cuda_compiler_version
- docker_image
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ c_compiler:
- gcc
c_compiler_version:
- '7'
cdt_name:
- cos6
channel_sources:
- conda-forge,defaults
channel_targets:
Expand All @@ -19,5 +21,7 @@ docker_image:
target_platform:
- linux-64
zip_keys:
- - c_compiler_version
- cxx_compiler_version
- - cuda_compiler_version
- docker_image
19 changes: 19 additions & 0 deletions .ci_support/migrations/windows_cuda.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# migrator_ts: 1604255168
__migrator:
kind:
version
migration_number:
1
build_number:
1

cuda_compiler: # [linux64 or win]
- nvcc # [linux64 or win]

cuda_compiler_version:
- None
- 9.2 # [linux64]
- 10.0 # [linux64 or win]
- 10.1 # [linux64 or win]
- 10.2 # [linux64 or win]
- 11.0 # [linux64 or win]
14 changes: 14 additions & 0 deletions .ci_support/win_64_cuda_compiler_version10.0.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
c_compiler:
- vs2017
channel_sources:
- conda-forge,defaults
channel_targets:
- conda-forge main
cuda_compiler:
- nvcc
cuda_compiler_version:
- '10.0'
cxx_compiler:
- vs2017
target_platform:
- win-64
14 changes: 14 additions & 0 deletions .ci_support/win_64_cuda_compiler_version10.1.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
c_compiler:
- vs2017
channel_sources:
- conda-forge,defaults
channel_targets:
- conda-forge main
cuda_compiler:
- nvcc
cuda_compiler_version:
- '10.1'
cxx_compiler:
- vs2017
target_platform:
- win-64
14 changes: 14 additions & 0 deletions .ci_support/win_64_cuda_compiler_version10.2.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
c_compiler:
- vs2017
channel_sources:
- conda-forge,defaults
channel_targets:
- conda-forge main
cuda_compiler:
- nvcc
cuda_compiler_version:
- '10.2'
cxx_compiler:
- vs2017
target_platform:
- win-64
14 changes: 14 additions & 0 deletions .ci_support/win_64_cuda_compiler_version11.0.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
c_compiler:
- vs2017
channel_sources:
- conda-forge,defaults
channel_targets:
- conda-forge main
cuda_compiler:
- nvcc
cuda_compiler_version:
- '11.0'
cxx_compiler:
- vs2017
target_platform:
- win-64
Loading