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
fbb33d4a
Commit
fbb33d4a
authored
Jun 26, 2021
by
rusty1s
Browse files
[ci skip]
parent
d0779bc1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
6 deletions
+1
-6
setup.py
setup.py
+1
-6
No files found.
setup.py
View file @
fbb33d4a
...
@@ -23,8 +23,6 @@ BUILD_DOCS = os.getenv('BUILD_DOCS', '0') == '1'
...
@@ -23,8 +23,6 @@ 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_MTMETIS
=
False
def
get_extensions
():
def
get_extensions
():
...
@@ -32,9 +30,6 @@ def get_extensions():
...
@@ -32,9 +30,6 @@ def get_extensions():
extensions_dir
=
osp
.
join
(
'csrc'
)
extensions_dir
=
osp
.
join
(
'csrc'
)
main_files
=
glob
.
glob
(
osp
.
join
(
extensions_dir
,
'*.cpp'
))
main_files
=
glob
.
glob
(
osp
.
join
(
extensions_dir
,
'*.cpp'
))
print
(
main_files
)
main_files
=
[
'csrc/version.cpp'
,
'csrc/metis.cpp'
]
main_files
=
[
'csrc/convert.cpp'
]
for
main
,
suffix
in
product
(
main_files
,
suffices
):
for
main
,
suffix
in
product
(
main_files
,
suffices
):
define_macros
=
[]
define_macros
=
[]
...
@@ -94,7 +89,7 @@ def get_extensions():
...
@@ -94,7 +89,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