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
torchani
Commits
11f44927
Unverified
Commit
11f44927
authored
Oct 31, 2021
by
Jinze (Richard) Xue
Committed by
GitHub
Oct 31, 2021
Browse files
Pin cub to 1.11.0 for cuda 10.2 (#601)
* Fix cub to 1.11.0 for cuda 10.2 * quick save * quick save
parent
d1a63639
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
setup.py
setup.py
+5
-5
No files found.
setup.py
View file @
11f44927
...
@@ -39,12 +39,12 @@ def maybe_download_cub():
...
@@ -39,12 +39,12 @@ def maybe_download_cub():
os
.
makedirs
(
'include'
)
os
.
makedirs
(
'include'
)
commands
=
"""
commands
=
"""
echo "Downloading CUB library";
echo "Downloading CUB library";
wget -q https://github.com/NVIDIA/cub/archive/
main
.zip;
wget -q https://github.com/NVIDIA/cub/archive/
refs/tags/1.11.0
.zip;
unzip -q
main
.zip -d include;
unzip -q
1.11.0
.zip -d include;
mv include/cub-
main
/cub include;
mv include/cub-
1.11.0
/cub include;
echo "Removing unnecessary files";
echo "Removing unnecessary files";
rm
main
.zip;
rm
1.11.0
.zip;
rm -rf include/cub-
main
;
rm -rf include/cub-
1.11.0
;
"""
"""
subprocess
.
run
(
commands
,
shell
=
True
,
check
=
True
,
universal_newlines
=
True
)
subprocess
.
run
(
commands
,
shell
=
True
,
check
=
True
,
universal_newlines
=
True
)
return
[
os
.
path
.
abspath
(
"./include"
)]
return
[
os
.
path
.
abspath
(
"./include"
)]
...
...
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