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

conda install

parent fbb33d4a
...@@ -53,17 +53,17 @@ jobs: ...@@ -53,17 +53,17 @@ jobs:
shell: shell:
bash bash
# - name: Install METIS - name: Install METIS
# if: ${{ runner.os != 'Windows' }} if: ${{ runner.os != 'Windows' }}
# run: | run: |
# bash .github/workflows/metis.sh bash .github/workflows/metis.sh
# - name: Install METIS on Windows - name: Install METIS on Windows
# if: ${{ runner.os == 'Windows' }} if: ${{ runner.os == 'Windows' }}
# run: | run: |
# bash .github/workflows/metis-${{ runner.os }}.sh bash .github/workflows/metis-${{ runner.os }}.sh
# shell: shell:
# bash -l {0} bash -l {0}
- name: Build Conda package for CPU - name: Build Conda package for CPU
if: ${{ matrix.cuda-version == 'cpu' }} if: ${{ matrix.cuda-version == 'cpu' }}
......
...@@ -3,5 +3,5 @@ if errorlevel 1 exit 1 ...@@ -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% 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 if errorlevel 1 exit 1
"%PYTHON%" setup.py install "%PYTHON%" -m pip install .
if errorlevel 1 exit 1 if errorlevel 1 exit 1
$PYTHON -m pip install .
...@@ -16,18 +16,17 @@ requirements: ...@@ -16,18 +16,17 @@ requirements:
- {{ environ.get('CONDA_CUDATOOLKIT_CONSTRAINT') }} - {{ environ.get('CONDA_CUDATOOLKIT_CONSTRAINT') }}
run: run:
# - scipy - scipy
# - pytorch-scatter - pytorch-scatter
- python {{ environ.get('PYTHON_VERSION') }} - python {{ environ.get('PYTHON_VERSION') }}
- {{ environ.get('CONDA_PYTORCH_CONSTRAINT') }} - {{ environ.get('CONDA_PYTORCH_CONSTRAINT') }}
- {{ environ.get('CONDA_CUDATOOLKIT_CONSTRAINT') }} - {{ environ.get('CONDA_CUDATOOLKIT_CONSTRAINT') }}
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: pip install .
script_env: script_env:
- FORCE_CUDA - FORCE_CUDA
# - WITH_METIS=0 - WITH_METIS=1
preserve_egg_dir: True preserve_egg_dir: True
test: 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