Skip to content

Commit eb1c412

Browse files
committed
getCUB.sh script (wget caller) added
1 parent 0a53948 commit eb1c412

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

3rdparty/getCUB.sh

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/usr/bin/env sh
2+
VERSION="$1"
3+
GITHUBURL="https://raw.githubusercontent.com/NVlabs/cub"
4+
TARGETDIR=3rdparty
5+
mkdir -p $TARGETDIR/cub
6+
mkdir -p $TARGETDIR/cub/host
7+
for CUH in \
8+
cub/util_allocator.cuh \
9+
cub/util_arch.cuh \
10+
cub/util_namespace.cuh \
11+
cub/util_debug.cuh \
12+
cub/host/mutex.cuh
13+
do
14+
wget -q -N -O $TARGETDIR/$CUH $GITHUBURL/$VERSION/$CUH || exit 1
15+
done
16+
exit 0
17+

0 commit comments

Comments
 (0)