-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
264 lines (195 loc) · 10.8 KB
/
Makefile
File metadata and controls
264 lines (195 loc) · 10.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
nll: snap
# to change version modify torque.spec (version), README.torque, src/include/pbs_version.h, CHANGELOG, and base directory
#REV_SED_CMD=sed "s/\(\#define TORQUE_REVISION \"\).*\"/\1`buildutils/get.revision`\"/" src/include/torque-build.h > src/include/torque-build.h.2 && mv src/include/torque-build.h.2 src/include/torque-build.h
REV_TEST_CMD=sed "s/\(\#define TORQUE_REVISION \"\).*\"/\1`buildutils/get.revision`\"/" src/include/torque-build.h
help:
echo default=snap torque120p6 torque120p5 torque120p4 torque120p3 torque120p2 torque120p1
snap:
snapstamp=`date +%Y%m%d%H%M`; \
cd trunk && svn update && ./autogen.sh && ./configure && \
make snapstamp=$$snapstamp snap && \
scp torque-*-snap.$$snapstamp.tar.gz web@clures.com:/ace/resources/downloads/torque/snapshots/ && rm -f torque-*-snap.$$snapstamp.tar.gz
snap22:
snapstamp=`date +%Y%m%d%H%M`; \
cd 2.2-fixes && svn update && ./configure && \
make snapstamp=$$snapstamp snap && \
scp torque-*-snap.$$snapstamp.tar.gz web@clures.com:/ace/resources/downloads/torque/snapshots/ && rm -f torque-*-snap.$$snapstamp.tar.gz
snap23:
snapstamp=`date +%Y%m%d%H%M`; \
cd 2.3-fixes && svn update && ./configure && \
make snapstamp=$$snapstamp snap && \
scp torque-*-snap.$$snapstamp.tar.gz web@clures.com:/ace/resources/downloads/torque/snapshots/ && rm -f torque-*-snap.$$snapstamp.tar.gz
snap24:
snapstamp=`date +%Y%m%d%H%M`; \
cd 2.4-fixes && svn update && ./configure && \
make snapstamp=$$snapstamp snap && \
scp torque-*-snap.$$snapstamp.tar.gz web@clures.com:/ace/resources/downloads/torque/snapshots/ && rm -f torque-*-snap.$$snapstamp.tar.gz
snap25:
snapstamp=`date +%Y%m%d%H%M`; \
cd 2.5-fixes && svn update && ./configure && \
make snapstamp=$$snapstamp snap && \
scp torque-*-snap.$$snapstamp.tar.gz web@clures.com:/ace/resources/downloads/torque/snapshots/ && rm -f torque-*-snap.$$snapstamp.tar.gz
snap30:
snapstamp=`date +%Y%m%d%H%M`; \
cd 3.0-fixes && svn update && ./autogen.sh && ./configure && \
make snapstamp=$$snapstamp snap && \
scp torque-*-snap.$$snapstamp.tar.gz web@clures.com:/ace/resources/downloads/torque/snapshots/ && rm -f torque-*-snap.$$snapstamp.tar.gz
snap413:
snapstamp=`date +%Y%m%d%H%M`; \
cd 4.1.3 && svn update && ./autogen.sh && ./configure && \
make snapstamp=$$snapstamp snap && \
scp torque-*-snap.$$snapstamp.tar.gz scp torque-*-snap.$$snapstamp.tar.gz web@clures.com:/ace/resources/downloads/torque/snapshots/ && rm -f torque-*-snap.$$snapstamp.tar.gz && rm -f torque-*-snap.$$snapstamp.tar.gz
snap414:
snapstamp=`date +%Y%m%d%H%M`; \
cd 4.1-fixes && svn update && ./autogen.sh && ./configure && \
make snapstamp=$$snapstamp snap && \
scp torque-*-snap.$$snapstamp.tar.gz scp torque-*-snap.$$snapstamp.tar.gz web@clures.com:/ace/resources/downloads/torque/snapshots/ && rm -f torque-*-snap.$$snapstamp.tar.gz && rm -f torque-*-snap.$$snapstamp.tar.gz
snap420:
snapstamp=`date +%Y%m%d%H%M`; \
cd 4.2.0 && svn update && ./autogen.sh && ./configure && \
make snapstamp=$$snapstamp snap && \
scp torque-*-snap.$$snapstamp.tar.gz scp torque-*-snap.$$snapstamp.tar.gz web@clures.com:/ace/resources/downloads/torque/snapshots/ && rm -f torque-*-snap.$$snapstamp.tar.gz && rm -f torque-*-snap.$$snapstamp.tar.gz
snap401:
snapstamp=`date +%Y%m%d%H%M`; \
cd 4.0.1 && svn update && ./autogen.sh && ./configure && \
make snapstamp=$$snapstamp snap && \
scp torque-*-snap.$$snapstamp.tar.gz scp torque-*-snap.$$snapstamp.tar.gz web@clures.com:/ace/resources/downloads/torque/snapshots/ && rm -f torque-*-snap.$$snapstamp.tar.gz && rm -f torque-*-snap.$$snapstamp.tar.gz
snap40:
snapstamp=`date +%Y%m%d%H%M`; \
cd 4.0-fixes && svn update && ./autogen.sh && ./configure && \
make snapstamp=$$snapstamp snap && \
scp torque-*-snap.$$snapstamp.tar.gz scp torque-*-snap.$$snapstamp.tar.gz web@clures.com:/ace/resources/downloads/torque/4.0-beta/ && rm -f torque-*-snap.$$snapstamp.tar.gz && rm -f torque-*-snap.$$snapstamp.tar.gz
snap-NUMA:
snapstamp=`date +%Y%m%d%H%M`; \
cd NUMA && svn update && ./configure && \
make snapstamp=$$snapstamp snap && \
scp torque-*-snap.$$snapstamp.tar.gz web@clures.com:/ace/resources/downloads/torque/snapshots/ && rm -f torque-*-snap.$$snapstamp.tar.gz
snap-yahoo:
snapstamp=`date +%Y%m%d%H%M`; \
cd 2.3-yahoo && svn update && ./configure && \
make snapstamp=$$snapstamp snap && \
scp torque-*-snap.$$snapstamp.tar.gz web@clures.com:/ace/resources/downloads/torque/snapshots/ && rm -f torque-*-snap.$$snapstamp.tar.gz && \
echo "http://www.clusterresources.com/downloads/yahoo/torque/torque-2.3.0-snap.$$snapstamp.tar.gz"
snap23trans:
snapstamp=`date +%Y%m%d%H%M`; \
cd 2.3-trans && svn update && ./configure && \
make snapstamp=$$snapstamp snap && \
scp torque-*-snap.$$snapstamp.tar.gz web@clures.com:/ace/resources/downloads/torque/snapshots/transition/ && rm -f torque-*-snap.$$snapstamp.tar.gz && \
echo "http://www.clusterresources.com/downloads/torque/snapshots/transition/torque-2.3.7-trans-snap.$$snapstamp.tar.gz"
sreque-test:
cd 2.3-fixes && $(REV_TEST_CMD);
snap-extreme:
snapstamp=`date +%Y%m%d%H%M`; \
cd 2.3-extreme && svn update && ./configure && \
make snapstamp=$$snapstamp-extreme snap && \
scp torque-*-snap.$$snapstamp-extreme.tar.gz http:/var/www/html/clusterresources/downloads/torque/snapshots/ && rm -f torque-*-snap.$$snapstamp-extreme.tar.gz && \
echo "http://www.clusterresources.com/downloads/torque/snapshots/torque-2.3.0-snap.$$snapstamp-extreme.tar.gz"
full22:
cd 2.2-fixes && svn update && ./configure && \
make distcheck && $(REV_SED_CMD) && \
scp torque-`grep ^VERSION Makefile | sed 's/VERSION = //g'`.tar.gz web@clures.com:/ace/resources/downloads/torque/ && rm -f torque-`grep ^VERSION Makefile | sed 's/VERSION = //g'`.tar.gz
full23:
cd 2.3-fixes && svn update && ./configure && \
make distcheck && \
scp torque-`grep ^VERSION Makefile | sed 's/VERSION = //g'`.tar.gz web@clures.com:/ace/resources/downloads/torque/ && rm -f torque-`grep ^VERSION Makefile | sed 's/VERSION = //g'`.tar.gz
full24:
cd 2.4-fixes && svn update && ./configure && \
make distcheck && \
scp torque-`grep ^VERSION Makefile | sed 's/VERSION = //g'`.tar.gz web@clures.com:/ace/resources/downloads/torque/ && rm -f torque-`grep ^VERSION Makefile | sed 's/VERSION = //g'`.tar.gz
full25:
cd 2.5-fixes && svn update && ./configure && \
make distcheck && \
scp torque-`grep ^VERSION Makefile | sed 's/VERSION = //g'`.tar.gz web@clures.com:/ace/resources/downloads/torque/ && rm -f torque-`grep ^VERSION Makefile | sed 's/VERSION = //g'`.tar.gz
full30:
cd 3.0-fixes && svn update && ./autogen.sh && ./configure && \
make distcheck && \
scp torque-`grep ^VERSION Makefile | sed 's/VERSION = //g'`.tar.gz web@clures.com:/ace/resources/downloads/torque/ && rm -f torque-`grep ^VERSION Makefile | sed 's/VERSION = //g'`.tar.gz
full40:
cd 4.0-fixes && svn update && ./autogen.sh && ./configure && \
make distcheck && \
scp torque-`grep ^VERSION Makefile | sed 's/VERSION = //g'`.tar.gz web@clures.com:/ace/resources/downloads/torque/ && rm -f torque-`grep ^VERSION Makefile | sed 's/VERSION = //g'`.tar.gz
full41:
cd trunk && svn update && ./autogen.sh && ./configure && \
make distcheck && \
scp torque-`grep ^VERSION Makefile | sed 's/VERSION = //g'`.tar.gz web@clures.com:/ace/resources/downloads/torque/ && rm -f torque-`grep ^VERSION Makefile | sed 's/VERSION = //g'`.tar.gz
full420:
cd 4.2.0 && git pull && ./autogen.sh && ./configure && \
make distcheck && \
scp torque-`grep ^VERSION Makefile | sed 's/VERSION = //g'`.tar.gz web@clures.com:/ace/resources/downloads/torque/ && rm -f torque-`grep ^VERSION Makefile | sed 's/VERSION = //g'`.tar.gz
snap21:
snap21:
snapstamp=`date +%Y%m%d%H%M`; \
cd 2.1-fixes && svn update && ./configure && \
make snapstamp=$$snapstamp snap && \
scp torque-*-snap.$$snapstamp.tar.gz web@clures.com:/ace/resources/downloads/torque/snapshots/ && rm -f torque-*-snap.$$snapstamp.tar.gz
full21:
cd 2.1-fixes && svn update && ./configure && \
make distcheck && \
scp torque-`grep ^VERSION Makefile | sed 's/VERSION = //g'`.tar.gz web@clures.com:/ace/resources/downloads/torque/ && rm -f torque-`grep ^VERSION Makefile | sed 's/VERSION = //g'`.tar.gz
full:
cd trunk && svn update && ./configure && \
make distcheck && \
scp torque-`grep ^VERSION Makefile | sed 's/VERSION = //g'`.tar.gz http:/var/www/html/clusterresources/downloads/torque/snapshots/
efull:
cd trunk && svn update && ./configure && \
make distcheck && \
scp torque-`grep ^VERSION Makefile | sed 's/VERSION = //g'`.tar.gz http:/var/www/html/clusterresources/downloads/etorque
torque200p7:
./buildversion 2.0.0p7
torque200p6:
BUILD=2.0.0p6 ; \
./buildversion $$BUILD
torque200p5:
BUILD=2.0.0p5 ; \
./buildversion $$BUILD
torque200p4:
BUILD=2.0.0p4 ; \
./buildversion $$BUILD
torque200p3:
BUILD=2.0.0p3 ; \
./buildversion $$BUILD
torque200p2:
BUILD=2.0.0p2 ; \
./buildversion $$BUILD
torque200p1:
BUILD=2.0.0p1 ; \
./buildversion $$BUILD
torque200p0:
BUILD=2.0.0p0 ; \
./buildversion $$BUILD
torque120p7:
BUILD=1.2.0p7 ; \
./buildversion $$BUILD
torque120p6:
BUILD=1.2.0p6 ; \
./buildversion $$BUILD
torque120p5:
tar -cvf ../dist/torque-1.2.0p5.tar torque-1.2.0p5
rm -f ../dist/torque-1.2.0p5.tar.gz
gzip ../dist/torque-1.2.0p5.tar
# scp ../dist/torque-1.2.0p5.tar.gz http:/var/www/html/clusterresources/downloads/torque
scp ../dist/torque-1.2.0p5.tar.gz http:/var/www/html/clusterresources/downloads/torque/temp/torque-1.2.0p5-snap.`date +%s`.tar.gz
torque120p4:
tar -cvf ../dist/torque-1.2.0p4.tar torque-1.2.0p4
rm -f ../dist/torque-1.2.0p4.tar.gz
gzip ../dist/torque-1.2.0p4.tar
# scp ../dist/torque-1.2.0p4.tar.gz http:/var/www/html/clusterresources/downloads/torque
scp ../dist/torque-1.2.0p4.tar.gz http:/var/www/html/clusterresources/downloads/torque/temp/torque-1.2.0p4-snap.`date +%s`.tar.gz
torque120p3:
tar -cvf ../dist/torque-1.2.0p3.tar torque-1.2.0p3
rm -f ../dist/torque-1.2.0p3.tar.gz
gzip ../dist/torque-1.2.0p3.tar
# scp ../dist/torque-1.2.0p3.tar.gz 10.10.10.125:/var/www/html/clusterresources/downloads/torque
scp ../dist/torque-1.2.0p3.tar.gz 10.10.10.125:/var/www/html/clusterresources/downloads/torque/temp/torque-1.2.0p3-snap.`date +%s`.tar.gz
torque120p2:
tar -cvf ../dist/torque-1.2.0p2.tar torque-1.2.0p2
rm -f ../dist/torque-1.2.0p2.tar.gz
gzip ../dist/torque-1.2.0p2.tar
scp ../dist/torque-1.2.0p2.tar.gz 10.10.10.125:/var/www/html/clusterresources/downloads/torque
scp ../dist/torque-1.2.0p2.tar.gz 10.10.10.125:/var/www/html/clusterresources/downloads/torque/temp/torque-1.2.0p2-snap.`date +%s`.tar.gz
torque120p1:
tar -cvf ../dist/torque-1.2.0p1.tar torque-1.2.0p1
rm -f ../dist/torque-1.2.0p1.tar.gz
gzip ../dist/torque-1.2.0p1.tar
scp ../dist/torque-1.2.0p1.tar.gz 10.10.10.125:/var/www/html/clusterresources/downloads/torque
scp ../dist/torque-1.2.0p1.tar.gz 10.10.10.125:/var/www/html/clusterresources/downloads/torque/temp/torque-1.2.0p1-snap.`date +%s`.tar.gz