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
4f8829f9
Unverified
Commit
4f8829f9
authored
May 23, 2018
by
Christian Sarofeen
Committed by
GitHub
May 23, 2018
Browse files
Fix pre 0.4 builds.
Fix regex expression to search for libaten
parent
70d2e3b7
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 @
4f8829f9
...
@@ -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"
,
re
.
IGNORECASE
).
sear
ch
,
True
)))
libaten
=
list
(
set
(
find
(
torch_dir
,
re
.
compile
(
"libaten
.*so
"
,
re
.
IGNORECASE
).
mat
ch
,
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