Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
torch-sparse
Commits
d07f921f
Commit
d07f921f
authored
Jun 26, 2021
by
rusty1s
Browse files
[skip ci]
parent
464841d2
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
2 deletions
+13
-2
.github/workflows/building-conda.yml
.github/workflows/building-conda.yml
+10
-0
conda/pytorch-sparse/meta.yaml
conda/pytorch-sparse/meta.yaml
+1
-1
setup.py
setup.py
+2
-1
No files found.
.github/workflows/building-conda.yml
View file @
d07f921f
...
@@ -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
:
|
...
...
conda/pytorch-sparse/meta.yaml
View file @
d07f921f
...
@@ -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
...
...
setup.py
View file @
d07f921f
...
@@ -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
(),
)
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment