Commit d07f921f authored by rusty1s's avatar rusty1s
Browse files

[skip ci]

parent 464841d2
...@@ -46,6 +46,16 @@ jobs: ...@@ -46,6 +46,16 @@ jobs:
shell: shell:
bash bash
- name: Install METIS
if: ${{ runner.os != 'Windows' }}
run: |
bash .github/workflows/metis.sh
- name: Install METIS on Windows
if: ${{ runner.os == 'Windows' }}
run: |
bash .github/workflows/metis-${{ runner.os }}.sh
- name: Build Conda package for CPU - name: Build Conda package for CPU
if: ${{ matrix.cuda-version == 'cpu' }} if: ${{ matrix.cuda-version == 'cpu' }}
run: | run: |
......
...@@ -25,7 +25,7 @@ requirements: ...@@ -25,7 +25,7 @@ requirements:
build: build:
string: py{{ environ.get('PYTHON_VERSION').replace('.', '') }}_torch_{{ environ['TORCH_VERSION'] }}_{{ environ['CUDA_VERSION'] }} string: py{{ environ.get('PYTHON_VERSION').replace('.', '') }}_torch_{{ environ['TORCH_VERSION'] }}_{{ environ['CUDA_VERSION'] }}
script: python setup.py install script: WITH_METIS=1 python setup.py install
script_env: script_env:
- FORCE_CUDA - FORCE_CUDA
......
...@@ -117,7 +117,8 @@ setup( ...@@ -117,7 +117,8 @@ setup(
extras_require={'test': tests_require}, extras_require={'test': tests_require},
ext_modules=get_extensions() if not BUILD_DOCS else [], ext_modules=get_extensions() if not BUILD_DOCS else [],
cmdclass={ cmdclass={
'build_ext': BuildExtension.with_options(no_python_abi_suffix=True) 'build_ext':
BuildExtension.with_options(no_python_abi_suffix=True, use_ninja=False)
}, },
packages=find_packages(), packages=find_packages(),
) )
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