add cflags explicitly in ci (#945)
parent
21775ce584
commit
b1e7579bdd
|
@ -121,7 +121,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
python -V
|
python -V
|
||||||
python -m pip install mmcv-full==${{matrix.mmcv}} -f https://download.openmmlab.com/mmcv/dist/cu102/${{matrix.torch_version}}/index.html
|
python -m pip install mmcv-full==${{matrix.mmcv}} -f https://download.openmmlab.com/mmcv/dist/cu102/${{matrix.torch_version}}/index.html
|
||||||
python -m pip install -r requirements.txt
|
CFLAGS=`python -c 'import sysconfig;print("-I"+sysconfig.get_paths()["include"])'` python -m pip install -r requirements.txt
|
||||||
pip install -U pycuda
|
pip install -U pycuda
|
||||||
python -m pip install -U numpy
|
python -m pip install -U numpy
|
||||||
- name: Build and install
|
- name: Build and install
|
||||||
|
@ -167,7 +167,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
python -V
|
python -V
|
||||||
python -m pip install mmcv-full==${{matrix.mmcv}} -f https://download.openmmlab.com/mmcv/dist/cu111/${{matrix.torch_version}}/index.html
|
python -m pip install mmcv-full==${{matrix.mmcv}} -f https://download.openmmlab.com/mmcv/dist/cu111/${{matrix.torch_version}}/index.html
|
||||||
python -m pip install -r requirements.txt
|
CFLAGS=`python -c 'import sysconfig;print("-I"+sysconfig.get_paths()["include"])'` python -m pip install -r requirements.txt
|
||||||
pip install -U pycuda
|
pip install -U pycuda
|
||||||
python -m pip install -U numpy
|
python -m pip install -U numpy
|
||||||
- name: Build and install
|
- name: Build and install
|
||||||
|
|
|
@ -50,7 +50,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
python -V
|
python -V
|
||||||
python -m pip install mmcv-full==${{matrix.mmcv}} -f https://download.openmmlab.com/mmcv/dist/cu111/${{matrix.torch_version}}/index.html
|
python -m pip install mmcv-full==${{matrix.mmcv}} -f https://download.openmmlab.com/mmcv/dist/cu111/${{matrix.torch_version}}/index.html
|
||||||
python -m pip install -r requirements.txt
|
CFLAGS=`python -c 'import sysconfig;print("-I"+sysconfig.get_paths()["include"])'` python -m pip install -r requirements.txt
|
||||||
python -m pip install -U numpy
|
python -m pip install -U numpy
|
||||||
|
|
||||||
- name: Install mmcls
|
- name: Install mmcls
|
||||||
|
|
Loading…
Reference in New Issue