Commit 9a033ec2 authored by rusty1s's avatar rusty1s
Browse files

conda install

parent fbb33d4a
......@@ -53,17 +53,17 @@ jobs:
shell:
bash
# - name: Install METIS
# if: ${{ runner.os != 'Windows' }}
# run: |
# bash .github/workflows/metis.sh
- 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
# shell:
# bash -l {0}
- name: Install METIS on Windows
if: ${{ runner.os == 'Windows' }}
run: |
bash .github/workflows/metis-${{ runner.os }}.sh
shell:
bash -l {0}
- name: Build Conda package for CPU
if: ${{ matrix.cuda-version == 'cpu' }}
......
......@@ -3,5 +3,5 @@ if errorlevel 1 exit 1
copy "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Enterprise\\VC\\Tools\\MSVC\\14.29.30037\\include\\metis.h" %LIBRARY_INC%
if errorlevel 1 exit 1
"%PYTHON%" setup.py install
"%PYTHON%" -m pip install .
if errorlevel 1 exit 1
$PYTHON -m pip install .
......@@ -16,18 +16,17 @@ requirements:
- {{ environ.get('CONDA_CUDATOOLKIT_CONSTRAINT') }}
run:
# - scipy
# - pytorch-scatter
- scipy
- pytorch-scatter
- python {{ environ.get('PYTHON_VERSION') }}
- {{ environ.get('CONDA_PYTORCH_CONSTRAINT') }}
- {{ environ.get('CONDA_CUDATOOLKIT_CONSTRAINT') }}
build:
string: py{{ environ.get('PYTHON_VERSION').replace('.', '') }}_torch_{{ environ['TORCH_VERSION'] }}_{{ environ['CUDA_VERSION'] }}
script: pip install .
script_env:
- FORCE_CUDA
# - WITH_METIS=0
- WITH_METIS=1
preserve_egg_dir: True
test:
......
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