This is an archive of the discontinued LLVM Phabricator instance.

[libc++] Revert OpenBSD-related changes to the documentation
ClosedPublic

Authored by ldionne on Sep 7 2021, 10:08 AM.

Details

Summary

This commit partially reverts 0954e2b2d038 and 3fa4cff97480, which
make changes to the libc++ documentation implifying that OpenBSD is
supported. Neither of these changes have been reviewed AFAICT, so
I'm reverting as a matter of enforcing:

  1. That changes get reviewed before being committed
  2. That we have a discussion and a support plan for supporting OpenBSD officially in libc++

Please note that I would be thrilled to support OpenBSD officially in
libc++, however doing so requires more than adding a note in the docs.
In particular, please make sure you read the note in [1] about setting
up CI testing for OpenBSD.

[1]: https://libcxx.llvm.org/#platform-and-compiler-support

Diff Detail

Event Timeline

ldionne created this revision.Sep 7 2021, 10:08 AM
ldionne requested review of this revision.Sep 7 2021, 10:08 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 7 2021, 10:08 AM
Herald added a reviewer: Restricted Project. · View Herald Transcript
brad added a comment.Sep 7 2021, 6:12 PM

Oh I'm sorry I had intended to just fill in the gaps as I perceived it when seeing FreeBSD / NetBSD elsewhere in LLVM and related documentation, but after reading that paragraph which I honestly had not, I see where you're coming from and I would not have added OpenBSD to that section. I would like to see about what is required to have said official designation as libc++ is now our official C++ library for all of our major architectures.

Oh I'm sorry I had intended to just fill in the gaps as I perceived it when seeing FreeBSD / NetBSD elsewhere in LLVM and related documentation, but after reading that paragraph which I honestly had not, I see where you're coming from and I would not have added OpenBSD to that section. I would like to see about what is required to have said official designation as libc++ is now our official C++ library for all of our major architectures.

No worries, that's why I created a review here and CC'd you on it so we can talk. Basically, if you're able to follow the steps here for adding a BuildKite agent on OpenBSD, we'll officially support the platform when all tests are passing (in some cases it might be necessary to XFAIL some tests due to specific reasons, and that's okay).

Also, as a matter of process, any commit that touches libcxx/ or libcxxabi/ should be reviewed here and get a green checkmark by the libc++/libc++abi review groups before being committed. I'm sure you simply didn't know, so I'm telling you -- it's unfortunate that this can't be enforced automatically with tooling in our current infrastructure, but we might get there eventually!

brad added a comment.Sep 7 2021, 6:26 PM

Basically, if you're able to follow the steps here for adding a BuildKite agent on OpenBSD, we'll officially support the platform when all tests are passing (in some cases it might be necessary to XFAIL some tests due to specific reasons, and that's okay).

I don't have anything to run on at the moment but I will see about trying to set something up.

brad added a comment.Sep 7 2021, 6:26 PM

Ok, I'll keep that in mind.

ldionne accepted this revision.Sep 8 2021, 12:54 PM

I'll move forward with this revert, but please do reach out as soon as you have a machine that could run CI on OpenBSD -- I'll help you set up CI bots for it and then we can officially support OpenBSD, that would be great.

I'm really trying to avoid pretending that libc++ supports a platform if it does not actually support it - we've suffered from rotting code due to once-working ports to various platforms in the past and I'd like to stay out of that trap going forward.

This revision is now accepted and ready to land.Sep 8 2021, 12:54 PM