-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support in uucore for illumos and solaris #5489
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool! The only thing I don't really like is the macro for concatenating arrays. It's unfortunate that the lengths of the array are explicit for example. I'd like to propose this as an implementation for the ALL_SIGNALS
static (simplified to just two signals):
#[cfg(target_os = "solaris")]
const SIGNALS_SIZE: usize = 1;
#[cfg(target_os = "illumos")]
const SIGNALS_SIZE: usize = 2;
#[cfg(or(target_os = "solaris", target_os = "illumos"))]
static ALL_SIGNALS: [&str; SIGNALS_SIZE] = [
"HUP",
#[cfg(target_os = "illumos")]
"LWP",
];
Thanks, that's a definite improvement! Pushed up the change 🙏 |
would it be possible to have a CI for these platforms ? |
I'd love to ... Think we'd have to fork the freebsd-vm project, so that
might take me a while on my own.
…On Fri, Nov 3, 2023, 3:38 AM Sylvestre Ledru ***@***.***> wrote:
would it be possible to have a CI for these platforms ?
—
Reply to this email directly, view it on GitHub
<#5489 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAG7XDTSEHXIGT4CE7VJIKLYCSNONAVCNFSM6AAAAAA63UARBSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJRHE4TEMJSHA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Is it OK to merge without the illumos CI support for now? I will try to look into it. Have you had good success with your approach to FreeBSD CI? |
I am a Maintainer with the OpenIndiana Project. The illumos reference distribution. |
Thanks for your input! We usually use GitHub Actions. If you could point us towards good templates or help us out with creating one, that would be great! Also I don't think this PR is blocked by not having CI. Adding CI is a task that is big enough to be a separate PR as it will probably uncover more problems to fix. |
* uucore support for illumos and solaris * use macro to consolidate illumos and solaris signals * fixing some CI issues * replaced macro with better cfg usage
The build was broken on these systems; confirmed working now on illumos. It should also work on solaris after conferring with a solaris developer.