Skip to content

Commit c108f70

Browse files
committed
[skip ci]
1 parent d9d69e7 commit c108f70

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

.github/workflows/building-conda.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,12 @@ jobs:
1010
strategy:
1111
fail-fast: false
1212
matrix:
13-
os: [ubuntu-16.04, macos-10.15, windows-latest]
13+
# os: [ubuntu-16.04, macos-10.15, windows-latest]
14+
os: [windows-latest]
1415
python-version: [3.6, 3.7, 3.8, 3.9]
1516
torch-version: [1.8.0, 1.9.0]
16-
cuda-version: ['cpu', 'cu101', 'cu102', 'cu111']
17+
# cuda-version: ['cpu', 'cu101', 'cu102', 'cu111']
18+
cuda-version: ['cu111']
1719
exclude:
1820
- torch-version: 1.9.0
1921
cuda-version: 'cu101'

conda/pytorch-scatter/meta.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ requirements:
1010
- {{ compiler('c') }} # [win]
1111

1212
host:
13+
- pip
1314
- python {{ environ.get('PYTHON_VERSION') }}
1415
- {{ environ.get('CONDA_PYTORCH_CONSTRAINT') }}
1516
- {{ environ.get('CONDA_CUDATOOLKIT_CONSTRAINT') }}
@@ -21,7 +22,7 @@ requirements:
2122

2223
build:
2324
string: py{{ environ.get('PYTHON_VERSION').replace('.', '') }}_torch_{{ environ['TORCH_VERSION'] }}_{{ environ['CUDA_VERSION'] }}
24-
script: python setup.py install
25+
script: pip install .
2526
script_env:
2627
- FORCE_CUDA
2728

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,8 @@ def get_extensions():
9696
extras_require={'test': tests_require},
9797
ext_modules=get_extensions() if not BUILD_DOCS else [],
9898
cmdclass={
99-
'build_ext': BuildExtension.with_options(no_python_abi_suffix=True)
99+
'build_ext':
100+
BuildExtension.with_options(no_python_abi_suffix=True, use_ninja=False)
100101
},
101102
packages=find_packages(),
102103
)

0 commit comments

Comments
 (0)