From b48adcf13c2a078b6b9b8d94d52a8e984fa4b539 Mon Sep 17 00:00:00 2001 From: Francisco Javier Trujillo Mata Date: Fri, 6 Jun 2025 11:34:31 +0200 Subject: [PATCH 1/2] Fix GCC compilation samples --- src/samples/debug/debugkb/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/samples/debug/debugkb/main.c b/src/samples/debug/debugkb/main.c index 58b24c4b..365dffd8 100644 --- a/src/samples/debug/debugkb/main.c +++ b/src/samples/debug/debugkb/main.c @@ -30,7 +30,7 @@ PSP_MAIN_THREAD_ATTR(THREAD_ATTR_USER | THREAD_ATTR_VFPU); #define setBackColor pspDebugScreenSetBackColor /* Exit callback */ -int exit_callback() +int exit_callback(int count, int arg, void *argp) { sceKernelExitGame(); From 2a19c50015c25389fa7fc56f12a080eef4dc9e86 Mon Sep 17 00:00:00 2001 From: Francisco Javier Trujillo Mata Date: Fri, 6 Jun 2025 11:38:53 +0200 Subject: [PATCH 2/2] Improve CI --- .github/workflows/compilation.yml | 2 +- build-and-install.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/compilation.yml b/.github/workflows/compilation.yml index da18a92d..6982eb80 100644 --- a/.github/workflows/compilation.yml +++ b/.github/workflows/compilation.yml @@ -31,7 +31,7 @@ jobs: - name: Compile Examples run: | - cd src/samples && make -f Makefile.samples + cd src/samples && make -f Makefile.samples -j $(getconf _NPROCESSORS_ONLN) - name: Compress Samples folder folder run: | diff --git a/build-and-install.sh b/build-and-install.sh index 78ebeebb..1470f2de 100755 --- a/build-and-install.sh +++ b/build-and-install.sh @@ -19,7 +19,7 @@ make clean make -j $(getconf _NPROCESSORS_ONLN) ## Install pspsdk -make install +make install -j $(getconf _NPROCESSORS_ONLN) ## gcc needs to include libcglue libpthreadglue libpspprof libpsputility libpsprtc libpspnet_inet libpspnet_resolver libpspsdk libpspmodinfo libpspuser libpspkernel ## from pspsdk to be able to build executables, because they are part of the standard libraries