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
apex
Commits
ee117aa8
Unverified
Commit
ee117aa8
authored
May 23, 2018
by
Christian Sarofeen
Committed by
GitHub
May 23, 2018
Browse files
Actually fix builds for pre 0.4
parent
4f8829f9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
setup.py
setup.py
+1
-1
No files found.
setup.py
View file @
ee117aa8
...
@@ -106,7 +106,7 @@ cuda_files = find(curdir, lambda file: file.endswith(".cu"), True)
...
@@ -106,7 +106,7 @@ cuda_files = find(curdir, lambda file: file.endswith(".cu"), True)
cuda_headers
=
find
(
curdir
,
lambda
file
:
file
.
endswith
(
".cuh"
),
True
)
cuda_headers
=
find
(
curdir
,
lambda
file
:
file
.
endswith
(
".cuh"
),
True
)
headers
=
find
(
curdir
,
lambda
file
:
file
.
endswith
(
".h"
),
True
)
headers
=
find
(
curdir
,
lambda
file
:
file
.
endswith
(
".h"
),
True
)
libaten
=
list
(
set
(
find
(
torch_dir
,
re
.
compile
(
"libaten.*so"
,
re
.
IGNORECASE
).
match
,
True
)))
libaten
=
list
(
set
(
find
(
torch_dir
,
re
.
compile
(
"libaten.*
(
so
)\Z
"
,
re
.
IGNORECASE
).
match
,
True
)))
libaten_names
=
[
os
.
path
.
splitext
(
os
.
path
.
basename
(
entry
))[
0
]
for
entry
in
libaten
]
libaten_names
=
[
os
.
path
.
splitext
(
os
.
path
.
basename
(
entry
))[
0
]
for
entry
in
libaten
]
for
i
,
entry
in
enumerate
(
libaten_names
):
for
i
,
entry
in
enumerate
(
libaten_names
):
if
entry
[:
3
]
==
'lib'
:
if
entry
[:
3
]
==
'lib'
:
...
...
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