Skip to content

Enable native backend on x86_64 GNU/Hurd#13587

Merged
gasche merged 2 commits intoocaml:trunkfrom
sthibaul:trunk
Nov 17, 2024
Merged

Enable native backend on x86_64 GNU/Hurd#13587
gasche merged 2 commits intoocaml:trunkfrom
sthibaul:trunk

Conversation

@sthibaul
Copy link
Copy Markdown
Contributor

@sthibaul sthibaul commented Nov 1, 2024

No description provided.

@sthibaul
Copy link
Copy Markdown
Contributor Author

sthibaul commented Nov 1, 2024

(The debian package does build fine there for instance)

@shindere
Copy link
Copy Markdown
Contributor

shindere commented Nov 2, 2024 via email

@sthibaul
Copy link
Copy Markdown
Contributor Author

sthibaul commented Nov 3, 2024

The configure script is versionned too

Ah, there it is

@shindere
Copy link
Copy Markdown
Contributor

shindere commented Nov 4, 2024 via email

@sthibaul
Copy link
Copy Markdown
Contributor Author

sthibaul commented Nov 5, 2024

as I understandyour patch, you enable the native backend not only on GNU Hurd specifically, but on all triples of the x86_64-*-gnu* form. Is such a move okay?

Normally, in configure, the matching against -gnu* is done last, to match only GNU/Hurd, by matching other GNU systems before that. I don't know why that wasn't done here. I have now reordered it.

are there facilities to do some CI on Hurd?

We do have a box where we already run some CI. I have however not seen much breakage on GNU/Hurd with ocaml on the past decade, so I don't think it'd really be useful to run CI is this case.

@shindere
Copy link
Copy Markdown
Contributor

shindere commented Nov 5, 2024 via email

@sthibaul
Copy link
Copy Markdown
Contributor Author

sthibaul commented Nov 5, 2024

Any opinion on whether we are comfortable with relying on the ordering

The problem is that as it is now we don't really have the choice, since some OSes decided to include a -gnu suffix in their osname (linux-gnu, kfreebsd-gnu, etc.), there will always be confusion.

@shindere
Copy link
Copy Markdown
Contributor

shindere commented Nov 5, 2024 via email

@shindere
Copy link
Copy Markdown
Contributor

shindere commented Nov 5, 2024

Approved, thanks.

Cannot be merged yet, though, because there now is a conflict
in the Changes file.

May I please ask you to rebase and resolve the conflict?

And while you are at it, I confess I'd find it nice to also be
credited as a reviewer. ;)

To allow matching other GNU systems before this.
@gasche gasche merged commit 1b62a3b into ocaml:trunk Nov 17, 2024
@gasche
Copy link
Copy Markdown
Member

gasche commented Nov 17, 2024

Merged, thanks!

raspbian-autopush pushed a commit to raspbian-packages/ocaml that referenced this pull request Feb 7, 2025
Bug-Debian: https://bugs.debian.org/1086600
Forwarded: ocaml/ocaml#13587

Gbp-Pq: Name 0007-Enable-native-backend-on-hurd-amd64.patch
raspbian-autopush pushed a commit to raspbian-packages/ocaml that referenced this pull request Feb 7, 2025
Bug-Debian: https://bugs.debian.org/1086600
Bug-Debian: https://bugs.debian.org/1094334
Forwarded: ocaml/ocaml#13587

Gbp-Pq: Name 0007-Enable-native-backend-and-dynlink-on-hurd-amd64.patch
raspbian-autopush pushed a commit to raspbian-packages/ocaml that referenced this pull request Jun 20, 2025
Bug-Debian: https://bugs.debian.org/1086600
Bug-Debian: https://bugs.debian.org/1094334
Forwarded: ocaml/ocaml#13587

Gbp-Pq: Name 0007-Enable-native-backend-and-dynlink-on-hurd-amd64.patch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants