]> _ Git - alire.git/commit
Add support for FreeBSD (#1148)
authorStephane Carrez <Stephane.Carrez@gmail.com>
Fri, 26 Aug 2022 12:51:49 +0000 (14:51 +0200)
committerGitHub <noreply@github.com>
Fri, 26 Aug 2022 12:51:49 +0000 (14:51 +0200)
commit2e1fc635a0bb2cd1506c4e738447530f2e4251dc
treeb34fdb5698e1a2ab9d60b516249e6d42002bdcc0
parent5384badedb311776405788d43df63bd51827d8fd
Add support for FreeBSD (#1148)

* Add support for FreeBSD (#22)

* update GNAT project to recognize -XOS=freebsd and configure accordingly
* add FreeBSD as a valid operating system
* add AMD64 as an alias for X86_64 because uname -m returns amd64 on FreeBSD
* add platform specific implementation for FreeBSD

To build on FreeBSD, we should use

gprbuild -j0 -P alr_env -XOS=freebsd

* Fixes requested during code review

Co-authored-by: GHA <actions@github.com>
alire.gpr
alr_env.gpr
src/alire/alire-platforms.ads
src/alire/os_freebsd/alire-check_absolute_path.adb [new file with mode: 0644]
src/alire/os_freebsd/alire-platforms-current__freebsd.adb [new file with mode: 0644]
src/alire/os_freebsd/alire-platforms-folders__freebsd.adb [new file with mode: 0644]