1
- VERSION =1.7 .0
1
+ VERSION =1.8 .0
2
2
3
3
FILES =libtorch_$(VERSION ) +cpu-1_amd64.deb \
4
- libtorch_$(VERSION ) +cu92-1_amd64.deb \
5
- libtorch_$(VERSION ) +cu101-1_amd64.deb \
6
4
libtorch_$(VERSION ) +cu102-1_amd64.deb \
7
- libtorch_$(VERSION ) +cu110 -1_amd64.deb \
5
+ libtorch_$(VERSION ) +cu111 -1_amd64.deb \
8
6
libtorch-$(VERSION ) +cpu-1.x86_64.rpm \
9
- libtorch-$(VERSION ) +cu92-1.x86_64.rpm \
10
- libtorch-$(VERSION ) +cu101-1.x86_64.rpm \
11
7
libtorch-$(VERSION ) +cu102-1.x86_64.rpm \
12
- libtorch-$(VERSION ) +cu110 -1.x86_64.rpm \
8
+ libtorch-$(VERSION ) +cu111 -1.x86_64.rpm \
13
9
cpu-libtorch-macos-latest.zip \
14
10
cpu-libtorch-cxx11-abi-shared-with-deps-latest.zip \
15
- cu92-libtorch-cxx11-abi-shared-with-deps-latest.zip \
16
- cu101-libtorch-cxx11-abi-shared-with-deps-latest.zip \
17
11
cu102-libtorch-cxx11-abi-shared-with-deps-latest.zip \
18
- cu110 -libtorch-cxx11-abi-shared-with-deps-latest.zip
12
+ cu111 -libtorch-cxx11-abi-shared-with-deps-latest.zip
19
13
20
14
all :$(FILES )
21
15
@@ -26,16 +20,10 @@ upload:$(FILES)
26
20
cpu-libtorch-cxx11-abi-shared-with-deps-latest.zip : libtorch-cxx11-abi-shared-with-deps-$(VERSION ) +cpu.zip
27
21
ln -s $< $@
28
22
29
- cu92-libtorch-cxx11-abi-shared-with-deps-latest.zip : libtorch-cxx11-abi-shared-with-deps-$(VERSION ) +cu92.zip
30
- ln -s $< $@
31
-
32
- cu101-libtorch-cxx11-abi-shared-with-deps-latest.zip : libtorch-cxx11-abi-shared-with-deps-$(VERSION ) +cu101.zip
33
- ln -s $< $@
34
-
35
23
cu102-libtorch-cxx11-abi-shared-with-deps-latest.zip : libtorch-cxx11-abi-shared-with-deps-$(VERSION ) .zip
36
24
ln -s $< $@
37
25
38
- cu110 -libtorch-cxx11-abi-shared-with-deps-latest.zip : libtorch-cxx11-abi-shared-with-deps-$(VERSION ) +cu110 .zip
26
+ cu111 -libtorch-cxx11-abi-shared-with-deps-latest.zip : libtorch-cxx11-abi-shared-with-deps-$(VERSION ) +cu111 .zip
39
27
ln -s $< $@
40
28
41
29
cpu-libtorch-macos-latest.zip : libtorch-macos-$(VERSION ) .zip
@@ -64,38 +52,6 @@ libtorch-$(VERSION)+cpu-1.x86_64.rpm:libtorch-$(VERSION)+cpu.tgz
64
52
libtorch-cxx11-abi-shared-with-deps-$(VERSION ) +cu92.zip :
65
53
wget -c https://download.pytorch.org/libtorch/cu92/libtorch-cxx11-abi-shared-with-deps-$(VERSION ) %2Bcu92.zip
66
54
67
- libtorch-$(VERSION ) +cu92.tgz :libtorch-cxx11-abi-shared-with-deps-$(VERSION ) +cu92.zip
68
- rm -rf libtorch usr/
69
- unzip libtorch-cxx11-abi-shared-with-deps-$(VERSION ) +cu92.zip
70
- mkdir -p usr
71
- cp -r libtorch/* usr/
72
- cd usr/include/torch; for i in csrc/api/include/torch/* ; do ln -s $$ i ; done
73
- tar cvfz libtorch-$(VERSION ) +cu92.tgz usr
74
-
75
- libtorch_$(VERSION ) +cu92-1_amd64.deb :libtorch-$(VERSION ) +cu92.tgz
76
- fakeroot alien --to-deb --bump=0 --version=$(VERSION ) +cu92 --target=amd64 libtorch-$(VERSION ) +cu92.tgz
77
-
78
- libtorch-$(VERSION ) +cu92-1.x86_64.rpm :libtorch-$(VERSION ) +cu92.tgz
79
- fakeroot alien --to-rpm --bump=0 --version=$(VERSION ) +cu92 --target=amd64 libtorch-$(VERSION ) +cu92.tgz
80
-
81
- libtorch-cxx11-abi-shared-with-deps-$(VERSION ) +cu101.zip :
82
- wget -c https://download.pytorch.org/libtorch/cu101/libtorch-cxx11-abi-shared-with-deps-$(VERSION ) %2Bcu101.zip
83
-
84
- libtorch-$(VERSION ) +cu101.tgz :libtorch-cxx11-abi-shared-with-deps-$(VERSION ) +cu101.zip
85
- rm -rf libtorch usr/
86
- unzip libtorch-cxx11-abi-shared-with-deps-$(VERSION ) +cu101.zip
87
- mkdir -p usr/
88
- cp -r libtorch/* usr/
89
- cd usr/include/torch; for i in csrc/api/include/torch/* ; do ln -s $$ i ; done
90
- tar cvfz libtorch-$(VERSION ) +cu101.tgz usr
91
-
92
- libtorch_$(VERSION ) +cu101-1_amd64.deb :libtorch-$(VERSION ) +cu101.tgz
93
- fakeroot alien --to-deb --bump=0 --version=$(VERSION ) +cu101 --target=amd64 libtorch-$(VERSION ) +cu101.tgz
94
-
95
- libtorch-$(VERSION ) +cu101-1.x86_64.rpm :libtorch-$(VERSION ) +cu101.tgz
96
- fakeroot alien --to-rpm --bump=0 --version=$(VERSION ) +cu101 --target=amd64 libtorch-$(VERSION ) +cu101.tgz
97
-
98
-
99
55
libtorch-cxx11-abi-shared-with-deps-$(VERSION ) .zip :
100
56
wget -c https://download.pytorch.org/libtorch/cu102/libtorch-cxx11-abi-shared-with-deps-$(VERSION ) .zip
101
57
@@ -113,21 +69,21 @@ libtorch_$(VERSION)+cu102-1_amd64.deb:libtorch-$(VERSION)+cu102.tgz
113
69
libtorch-$(VERSION ) +cu102-1.x86_64.rpm :libtorch-$(VERSION ) +cu102.tgz
114
70
fakeroot alien --to-rpm --bump=0 --version=$(VERSION ) +cu102 --target=amd64 libtorch-$(VERSION ) +cu102.tgz
115
71
116
- libtorch-cxx11-abi-shared-with-deps-$(VERSION ) +cu110 .zip :
117
- wget -c https://download.pytorch.org/libtorch/cu110 /libtorch-cxx11-abi-shared-with-deps-$(VERSION ) %2Bcu110 .zip
72
+ libtorch-cxx11-abi-shared-with-deps-$(VERSION ) +cu111 .zip :
73
+ wget -c https://download.pytorch.org/libtorch/cu111 /libtorch-cxx11-abi-shared-with-deps-$(VERSION ) %2Bcu111 .zip
118
74
119
- libtorch-$(VERSION ) +cu110 .tgz :libtorch-cxx11-abi-shared-with-deps-$(VERSION ) +cu110 .zip
75
+ libtorch-$(VERSION ) +cu111 .tgz :libtorch-cxx11-abi-shared-with-deps-$(VERSION ) +cu111 .zip
120
76
rm -rf libtorch usr/
121
- unzip libtorch-cxx11-abi-shared-with-deps-$(VERSION ) +cu110 .zip
77
+ unzip libtorch-cxx11-abi-shared-with-deps-$(VERSION ) +cu111 .zip
122
78
mkdir -p usr/
123
79
cp -r libtorch/* usr/
124
80
cd usr/include/torch; for i in csrc/api/include/torch/* ; do ln -s $$ i ; done
125
- tar cvfz libtorch-$(VERSION ) +cu110 .tgz usr
81
+ tar cvfz libtorch-$(VERSION ) +cu111 .tgz usr
126
82
127
- libtorch_$(VERSION ) +cu110 -1_amd64.deb :libtorch-$(VERSION ) +cu110 .tgz
128
- fakeroot alien --to-deb --bump=0 --version=$(VERSION ) +cu110 --target=amd64 libtorch-$(VERSION ) +cu110 .tgz
83
+ libtorch_$(VERSION ) +cu111 -1_amd64.deb :libtorch-$(VERSION ) +cu111 .tgz
84
+ fakeroot alien --to-deb --bump=0 --version=$(VERSION ) +cu111 --target=amd64 libtorch-$(VERSION ) +cu111 .tgz
129
85
130
- libtorch-$(VERSION ) +cu110 -1.x86_64.rpm :libtorch-$(VERSION ) +cu110 .tgz
131
- fakeroot alien --to-rpm --bump=0 --version=$(VERSION ) +cu110 --target=amd64 libtorch-$(VERSION ) +cu110 .tgz
86
+ libtorch-$(VERSION ) +cu111 -1.x86_64.rpm :libtorch-$(VERSION ) +cu111 .tgz
87
+ fakeroot alien --to-rpm --bump=0 --version=$(VERSION ) +cu111 --target=amd64 libtorch-$(VERSION ) +cu111 .tgz
132
88
133
89
0 commit comments