Skip to content

Add OpenBSD support.#1705

Merged
mosteo merged 2 commits into
alire-project:masterfrom
ibara:openbsd
Jul 5, 2024
Merged

Add OpenBSD support.#1705
mosteo merged 2 commits into
alire-project:masterfrom
ibara:openbsd

Conversation

@ibara

@ibara ibara commented Jun 23, 2024

Copy link
Copy Markdown
Contributor

Add OpenBSD support.

I am running the latest OpenBSD/amd64 -current with tip-of-tree GNAT:

GNAT 15.0.0 20240622 (experimental)
Copyright (C) 1996-2024, Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

The test suite (run in a venv) looks like this:

INFO     Summary:
_  PASS         220
_  FAIL         46
_  SKIP         5

Thanks.

@mosteo

mosteo commented Jun 23, 2024

Copy link
Copy Markdown
Member

Thanks, @ibara. Do you think we could use e.g. https://github.com/marketplace/actions/cross-platform-action to run our testsuite on OpenBSD?

@ibara

ibara commented Jun 24, 2024

Copy link
Copy Markdown
Contributor Author

Thanks, @ibara. Do you think we could use e.g. https://github.com/marketplace/actions/cross-platform-action to run our testsuite on OpenBSD?

Probably. Honestly, I've not tried it so I am not sure how to set it up. Also, OpenBSD does not ship a package of GCC 15 (it ships a package of GCC 11.2.0, soon to be 11.4.0). And OpenBSD also does not ship a package of gprbuild I built it from bootstrap and used that to build alire.

I can get you a package of those things, but it would be for OpenBSD -current, not 7.5 release, if that works for you.

@mosteo

mosteo commented Jun 25, 2024

Copy link
Copy Markdown
Member

Mmm I see. GNAT 11 shouldn't be a problem, but the lack of gprbuild would be, unless it's simple to build.

It doesn't make much sense to have a complicated or involved setup if users are unlikely to go through the same process. The idea of testing these platforms is not only to check that alr works, but also that the default user experience also works. Also, I prefer to test a platform that is more likely to be the one chosen by users and that also has some guaranteed lifetime, e.g., stable releases.

Given that any Alire would-be-user would need to build its own gprbuild, could you elaborate a bit about the difficulty of that?

@ibara

ibara commented Jun 28, 2024

Copy link
Copy Markdown
Contributor Author

Given that any Alire would-be-user would need to build its own gprbuild, could you elaborate a bit about the difficulty of that?

It was very simple. I'll write up some directions for you shortly.

@mosteo

mosteo commented Jul 5, 2024

Copy link
Copy Markdown
Member

I'm merging these changes, as the testing support can be added at a latter date.

@mosteo mosteo merged commit 3afe31a into alire-project:master Jul 5, 2024
@ibara

ibara commented Jul 5, 2024

Copy link
Copy Markdown
Contributor Author

Thanks. Sorry, I've been traveling for the US holiday but hope to get you something early next week.

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