Skip to content

Build system refactor#81

Open
clienthax wants to merge 1 commit into
ps3dev:masterfrom
clienthax:build-system-refactor
Open

Build system refactor#81
clienthax wants to merge 1 commit into
ps3dev:masterfrom
clienthax:build-system-refactor

Conversation

@clienthax

@clienthax clienthax commented Jun 7, 2026

Copy link
Copy Markdown
  • Add NO_SAVANNAH env flag for CI usage.
  • Switch download hash check from md5 -> sha256.
  • Archive links updated to ssl where possible.
  • Replaced download script as one one was unreliable for downloads with no checksums.
  • Made smoke test print out actual failing files.
  • Added util script for generating seperate build steps for github actions.
  • Added MacOS x64 and arm runners to verify things compile, the output should be the same either way but already found one bug with this.
  • Moved psl1ght build to this repo.
  • Use NPROC / NCPU for cpu count for make across the board.

@zeldin

zeldin commented Jun 8, 2026

Copy link
Copy Markdown
Member
  • Replaced download script as one one was unreliable for downloads with no checksums.

Could you expand on this please? Obviously for files that have no checksum the checksum can't be checked, but that is true of your modified version as well. The files which do not have checksums are the repo tarballs which don't have stable checksums due to how github generates them. A solution to that can be to use submodules instead, as in #49.

@clienthax

clienthax commented Jun 8, 2026

Copy link
Copy Markdown
Author
  • Replaced download script as one one was unreliable for downloads with no checksums.

Could you expand on this please? Obviously for files that have no checksum the checksum can't be checked, but that is true of your modified version as well. The files which do not have checksums are the repo tarballs which don't have stable checksums due to how github generates them. A solution to that can be to use submodules instead, as in #49.

After I changed it to sha256 sums it was silently failing to download the ones without checksums due to a grep returning the wrong things for them iirc, something with the pattern matching.

But ye, ideally we just get rid of the downloads and mirror everything into ps3dev eventually

@zeldin

zeldin commented Jun 9, 2026

Copy link
Copy Markdown
Member

After I changed it to sha256 sums it was silently failing to download the ones without checksums due to a grep returning the wrong things for them iirc, something with the pattern matching.

Ah, ok.

BTW, regarding moving the get-config-scripts.sh script into utils; this makes sense but note that TheMrIron2 picked a different solution in ps3toolchain, with this script and the two files config.sub and config.guess instead moved to a config directory. It would be preferable to have a consistent structure across the two repos.

@clienthax clienthax force-pushed the build-system-refactor branch 11 times, most recently from 13dab89 to 45006ad Compare June 13, 2026 17:52
Add NO_SAVANNAH env flag for CI usage.
Switch download hash check from md5 -> sha256.
Archive links updated to ssl where possible.
Replaced download script as one one was unreliable for downloads with no checksums.
Made smoke test print out actual failing files.
Added util script for generating seperate build steps for github actions.
Added MacOS x64 and arm runners.
Use NPROC / NCPU for cpu count for make across the board.
@clienthax clienthax force-pushed the build-system-refactor branch from 45006ad to 4d9f71d Compare June 13, 2026 18:15
@clienthax

Copy link
Copy Markdown
Author

Good for review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants