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
51361cb6
"git@developer.sourcefind.cn:renzhc/diffusers_dcu.git" did not exist on "99784ae0d20327e7f971ae59d420f1b1c3a4f8cc"
Commit
51361cb6
authored
Jun 26, 2021
by
rusty1s
Browse files
[ci skip]
parent
6caa27d1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
conda/pytorch-sparse/meta.yaml
conda/pytorch-sparse/meta.yaml
+2
-4
setup.py
setup.py
+2
-1
No files found.
conda/pytorch-sparse/meta.yaml
View file @
51361cb6
...
@@ -11,15 +11,13 @@ requirements:
...
@@ -11,15 +11,13 @@ requirements:
host
:
host
:
-
pip
-
pip
-
scipy
-
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')
}}
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')
}}
...
...
setup.py
View file @
51361cb6
...
@@ -24,6 +24,7 @@ BUILD_DOCS = os.getenv('BUILD_DOCS', '0') == '1'
...
@@ -24,6 +24,7 @@ BUILD_DOCS = os.getenv('BUILD_DOCS', '0') == '1'
WITH_METIS
=
True
if
os
.
getenv
(
'WITH_METIS'
,
'0'
)
==
'1'
else
False
WITH_METIS
=
True
if
os
.
getenv
(
'WITH_METIS'
,
'0'
)
==
'1'
else
False
WITH_MTMETIS
=
True
if
os
.
getenv
(
'WITH_MTMETIS'
,
'0'
)
==
'1'
else
False
WITH_MTMETIS
=
True
if
os
.
getenv
(
'WITH_MTMETIS'
,
'0'
)
==
'1'
else
False
WITH_METIS
=
False
WITH_METIS
=
False
WITH_MTMETIS
=
False
def
get_extensions
():
def
get_extensions
():
...
@@ -92,7 +93,7 @@ def get_extensions():
...
@@ -92,7 +93,7 @@ def get_extensions():
define_macros
=
define_macros
,
define_macros
=
define_macros
,
extra_compile_args
=
extra_compile_args
,
extra_compile_args
=
extra_compile_args
,
extra_link_args
=
extra_link_args
,
extra_link_args
=
extra_link_args
,
libraries
=
libraries
,
#
libraries=libraries,
)
)
extensions
+=
[
extension
]
extensions
+=
[
extension
]
...
...
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