Skip to content

Commit 706a0e1

Browse files
authored
Add pthread library (#80)
* add pthread-emb * Fix extraction directory for pthread-emb-ps3 * Update build.yml * fixes
1 parent 5348134 commit 706a0e1

4 files changed

Lines changed: 27 additions & 3 deletions

File tree

.github/workflows/build.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ jobs:
150150
- name: Build Polarssl 1.3.9
151151
run: ./libraries.sh 017
152152

153-
- name: Build Libcurl 7.64.1
153+
- name: Build MbedTLS 2.28.10
154154
run: ./libraries.sh 018
155155

156156
- name: Build Libmad 0.15.1b
@@ -180,7 +180,7 @@ jobs:
180180
- name: Build Tiny3d_libfont
181181
run: ./libraries.sh 027
182182

183-
- name: Build MbedTLS 2.28.10
183+
- name: Build Libcurl 7.64.1
184184
run: ./libraries.sh 028
185185

186186
- name: Build Libunrar
@@ -192,6 +192,9 @@ jobs:
192192
- name: Build Libsmb2
193193
run: ./libraries.sh 031
194194

195+
- name: Build Pthread-emb
196+
run: ./libraries.sh 032
197+
195198
- name: Build Package
196199
run: |
197200
cd $PSL1GHT

archives/archives.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,4 @@ b6ae1ee2fa3d42ac489287d3ec34c5885730b1296f0801ae577a35193d3affbc 1903175 https:
3030
- - https://github.com/sahlberg/libnfs/tarball/master -> libnfs.tar.gz
3131
- - https://github.com/sahlberg/libsmb2/tarball/master -> libsmb2.tar.gz
3232
- - https://github.com/clienthax/psl1ght/tarball/master -> psl1ght.tar.gz
33+
- - https://github.com/bucanero/pthread-emb-ps3/tarball/master -> pthread-emb-ps3.tar.gz

scripts/029-libunrar.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ cd libunrar
1717

1818
## Compile and install.
1919
jobs=$(nproc 2>/dev/null || sysctl -n hw.ncpu)
20-
${MAKE:-make} -j"$jobs"
20+
${MAKE:-make} -j"$jobs" install

scripts/032-pthread-emb.sh

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
#!/usr/bin/env bash
2+
set -eo pipefail
3+
# pthread-emb ps3 library
4+
5+
## Source util functions
6+
source ../utils/utils.sh
7+
8+
## Download the source code.
9+
../download.sh pthread-emb-ps3.tar.gz
10+
11+
## Unpack the source code.
12+
rm -Rf pthread-emb-ps3
13+
mkdir pthread-emb-ps3
14+
echo "Unpacking pthread-emb"
15+
extract ../archives/pthread-emb-ps3.tar.gz --strip-components=1 --directory=pthread-emb-ps3
16+
cd pthread-emb-ps3/platform/psl1ght
17+
18+
## Compile and install.
19+
jobs=$(nproc 2>/dev/null || sysctl -n hw.ncpu)
20+
${MAKE:-make} -j"$jobs" install

0 commit comments

Comments
 (0)