Repository navigation
π PasBuild v1.11.0 is out β now written in Blaise, and it knows your compiler #39
graemeg
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi everyone,
I'm delighted to announce PasBuild v1.11.0. Two big things this time: PasBuild is now written in Blaise and built with the newly released Blaise 0.16.0, and a project can now say which compiler it builds with, so PasBuild picks the right one by itself. It still builds your projects with Free Pascal or Blaise, exactly as before.
π₯ Written in Blaise
PasBuild has moved from Free Pascal to Blaise. The whole tool, and its test suite of 553 tests, now builds and runs on Blaise, and PasBuild builds and tests itself with it. Nothing changes for your FPC projects: the FPC side of PasBuild works as it always did.
The port write-up records what moved and why, for anyone thinking of porting their own FPC code.
π§ Projects that know their compiler
A new
<compilers>section inproject.xmlsays which compilers a project builds with:--compileron every build: it uses the declared compiler from your PATH, or the path you give it once in~/.pasbuild/settings.xml(a~/...path works too).π±
pasbuild initasks firstpasbuild initnow asks which compiler the new project targets and its minimum version, then writes sources and a test runner that suit it: an FPCUnit runner for FPC, ablaise.testingrunner for Blaise. A new library project also gets a sample unit to start from.π οΈ Also in this release
--debugand--debug-opdfnow reach the Blaise compiler.installinstalls libraries only. Applications are skipped, and a library no longer records a dependency on an application module (thanks to Schmitty2005 for the fpGUI report, Using pasbuild install on fpGUI may be ommiting needed units.Β #37).resolvelists the sources a Blaise build compiles from, and remote builds findpasbuildthrough the PATH on macOS and the BSDs.β¬οΈ Upgrading
Blaise libraries in your local repository are stored per compiler version. After moving from a Blaise pre-release to 0.16.0, run
pasbuild installonce in each of your Blaise libraries.π¦ Get it
There are prebuilt binaries for four platforms this time, all on the GitHub Releases page:
On macOS the binary is ad-hoc signed, not notarised. If the browser download is blocked, run
xattr -d com.apple.quarantine pasbuildonce.The full list of changes is in the release notes. Thank you to everyone who tried PasBuild, reported bugs and shared ideas here. It makes a real difference.
A special thank you, too, to my Patreon sponsors. Your support gives me the time to keep PasBuild and Blaise moving forward, and I'm truly grateful for it.
Onwards! π
Built with β€ for the Pascal community.
All reactions