Skip to content

Commit 916dd29

Browse files
committed
attempt to speed up redhat static dependency builds
1 parent b1328a7 commit 916dd29

File tree

1 file changed

+32
-35
lines changed

1 file changed

+32
-35
lines changed

.github/packaging/project/install_deps.sh

Lines changed: 32 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function install_deps_debian11() {
2626
git checkout v1.43.0
2727
sh autogen.sh
2828
./configure
29-
make
29+
make -j8
3030
make install
3131
cd ..
3232

@@ -66,7 +66,7 @@ function install_deps_debian12() {
6666
git checkout v1.43.0
6767
sh autogen.sh
6868
./configure
69-
make
69+
make -j8
7070
make install
7171
cd ..
7272

@@ -103,7 +103,7 @@ function install_deps_debian13() {
103103
git checkout v1.43.0
104104
sh autogen.sh
105105
./configure
106-
make
106+
make -j8
107107
make install
108108
cd ..
109109

@@ -140,7 +140,7 @@ function install_deps_ubuntu20.04() {
140140
git checkout v1.43.0
141141
sh autogen.sh
142142
./configure
143-
make
143+
make -j8
144144
make install
145145
cd ..
146146

@@ -177,7 +177,7 @@ function install_deps_ubuntu22.04() {
177177
git checkout v1.43.0
178178
sh autogen.sh
179179
./configure
180-
make
180+
make -j8
181181
make install
182182
cd ..
183183

@@ -214,7 +214,7 @@ function install_deps_ubuntu24.04() {
214214
git checkout v1.43.0
215215
sh autogen.sh
216216
./configure
217-
make
217+
make -j8
218218
make install
219219
cd ..
220220

@@ -255,7 +255,7 @@ function install_deps_el8() {
255255
cd gettext-0.21
256256
autoconf
257257
./configure
258-
make
258+
make -j8
259259
make install
260260

261261
cd /opt
@@ -264,23 +264,23 @@ function install_deps_el8() {
264264
git checkout 0.21.5
265265
./autogen.sh
266266
./configure
267-
make
267+
make -j8
268268
make install
269269

270270
cd /opt
271271
git clone https://https.git.savannah.gnu.org/git/readline.git
272272
cd readline
273273
git checkout readline-8.3
274274
./configure
275-
make
275+
make -j8
276276
make install
277277

278278
cd /opt
279279
git clone https://github.com/akheron/jansson.git
280280
cd jansson
281281
autoreconf -i
282282
./configure
283-
make
283+
make -j8
284284
make install
285285

286286

@@ -290,7 +290,7 @@ function install_deps_el8() {
290290
git checkout v1.42.0
291291
sh autogen.sh
292292
./configure
293-
make
293+
make -j8
294294
make install
295295
cd ..
296296

@@ -299,7 +299,7 @@ function install_deps_el8() {
299299
tar -zxvf flex-2.6.4.tar.gz
300300
cd flex-2.6.4
301301
./configure
302-
make
302+
make -j8
303303
make install
304304

305305
cd /opt
@@ -336,7 +336,7 @@ function install_deps_el9() {
336336
cd gettext-0.21
337337
autoconf
338338
./configure
339-
make
339+
make -j8
340340
make install
341341

342342
cd /opt
@@ -345,23 +345,23 @@ function install_deps_el9() {
345345
git checkout 0.21.5
346346
./autogen.sh
347347
./configure
348-
make
348+
make -j8
349349
make install
350350

351351
cd /opt
352352
git clone https://https.git.savannah.gnu.org/git/readline.git
353353
cd readline
354354
git checkout readline-8.3
355355
./configure
356-
make
356+
make -j8
357357
make install
358358

359359
cd /opt
360360
git clone https://github.com/akheron/jansson.git
361361
cd jansson
362362
autoreconf -i
363363
./configure
364-
make
364+
make -j8
365365
make install
366366

367367

@@ -371,7 +371,7 @@ function install_deps_el9() {
371371
git checkout v1.42.0
372372
sh autogen.sh
373373
./configure
374-
make
374+
make -j8
375375
make install
376376
cd ..
377377

@@ -380,7 +380,7 @@ function install_deps_el9() {
380380
tar -zxvf flex-2.6.4.tar.gz
381381
cd flex-2.6.4
382382
./configure
383-
make
383+
make -j8
384384
make install
385385

386386
cd /opt
@@ -446,7 +446,7 @@ EOF
446446
cd gettext-0.21
447447
autoconf
448448
./configure
449-
make
449+
make -j8
450450
make install
451451

452452
cd /opt
@@ -455,23 +455,23 @@ EOF
455455
git checkout 0.21.5
456456
./autogen.sh
457457
./configure
458-
make
458+
make -j8
459459
make install
460460

461461
cd /opt
462462
git clone https://https.git.savannah.gnu.org/git/readline.git
463463
cd readline
464464
git checkout readline-8.3
465465
./configure
466-
make
466+
make -j8
467467
make install
468468

469469
cd /opt
470470
git clone https://github.com/akheron/jansson.git
471471
cd jansson
472472
autoreconf -i
473473
./configure
474-
make
474+
make -j8
475475
make install
476476

477477
cd /opt
@@ -480,7 +480,7 @@ EOF
480480
git checkout v1.42.0
481481
sh autogen.sh
482482
./configure
483-
make
483+
make -j8
484484
make install
485485
cd ..
486486

@@ -489,7 +489,7 @@ EOF
489489
tar -zxvf flex-2.6.4.tar.gz
490490
cd flex-2.6.4
491491
./configure
492-
make
492+
make -j8
493493
make install
494494

495495
cd /opt
@@ -528,7 +528,7 @@ function install_deps_amzn2023() {
528528
cd gettext-0.21
529529
autoconf
530530
./configure
531-
make
531+
make -j8
532532
make install
533533

534534
cd /opt
@@ -537,33 +537,32 @@ function install_deps_amzn2023() {
537537
git checkout 0.21.5
538538
./autogen.sh
539539
./configure
540-
make
540+
make -j8
541541
make install
542542

543543
cd /opt
544544
git clone https://https.git.savannah.gnu.org/git/readline.git
545545
cd readline
546546
git checkout readline-8.3
547547
./configure
548-
make
548+
make -j8
549549
make install
550550

551551
cd /opt
552552
git clone https://github.com/akheron/jansson.git
553553
cd jansson
554554
autoreconf -i
555555
./configure
556-
make
556+
make -j8
557557
make install
558558

559-
560559
cd /opt
561560
git clone https://github.com/libuv/libuv
562561
cd libuv
563562
git checkout v1.42.0
564563
sh autogen.sh
565564
./configure
566-
make
565+
make -j8
567566
make install
568567
cd ..
569568

@@ -572,19 +571,17 @@ function install_deps_amzn2023() {
572571
tar -zxvf flex-2.6.4.tar.gz
573572
cd flex-2.6.4
574573
./configure
575-
make
576-
make install
577574

575+
make -j8
576+
make install
578577
cd /opt
579578
git clone https://github.com/aws/s2n-tls.git
580579
cd s2n-tls
581-
582580
cmake . -Bbuild \
583581
-DCMAKE_BUILD_TYPE=Release \
584582
-DCMAKE_INSTALL_PREFIX=./s2n-tls-install
585583
cmake --build build
586584
make install
587-
588585
cd /opt
589586
git clone https://github.com/aws/aws-sdk-cpp.git
590587
cd aws-sdk-cpp
@@ -595,7 +592,7 @@ function install_deps_amzn2023() {
595592
make -C build -j8
596593
cd build
597594
make install
598-
cd
595+
cd ../..
599596

600597
gem install fpm -v 1.17.0
601598
}

0 commit comments

Comments
 (0)