Skip to content
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

Refactor BSD build support to be extendable and add NetBSD #132

Closed
wants to merge 7 commits into from
Closed

Refactor BSD build support to be extendable and add NetBSD #132

wants to merge 7 commits into from

Conversation

vazub
Copy link

@vazub vazub commented Jan 9, 2022

Allow building wren_cli for both FreeBSD and NetBSD, and allow trivial future extension for other BSDs, if needed.

Unfortunately, Premake bundles all separate BSDs under a single system:bsd definition, making it impossible to set up build conditionals purely with --os= option, and therefore adding additional option was required to circumvent this problem.

Moreover, it made sense to define dedicated gmake.<*bsd> folder location for each system's project files, to have clear separation of concerns, and since BSD make is not usable in our case, folder prefix was deliberately changed to gmake. to provide additional hint for those building the project from source, regarding what make variant they are required to use.

vazub and others added 2 commits January 9, 2022 19:23
Not sure how and why it got borked, but editing in Gihub Web interface seems to have solved it.
@ruby0x1
Copy link
Member

ruby0x1 commented Jan 9, 2022

Thanks @vazub looks like a reasonable approach. I'll maybe rearrange a tiny bit but otherwise will test/review properly soon.

Vasyl Zubko added 2 commits January 9, 2022 19:39
Don't assume that people would be building on Free/NetBSD host system, be explicit.
@vazub
Copy link
Author

vazub commented Sep 28, 2022

Looks like there is no interest in this. Closing.

@vazub vazub closed this Sep 28, 2022
@ruby0x1
Copy link
Member

ruby0x1 commented Sep 28, 2022

The issue isn't really interest, mostly time, and the burden of testing and maintaining those platforms for each release is a consideration.

I think this is a reasonable approach as mentioned, though there's a file that has it's entire contents marked as a diff which we should probably correct before this can be merged either way.

@ruby0x1 ruby0x1 reopened this Sep 28, 2022
@vazub
Copy link
Author

vazub commented Oct 27, 2022

@ruby0x1 kind request to address my question in the resolved section above, because I am not sure how to proceed.

@vazub vazub closed this Apr 11, 2023
@vazub vazub deleted the netbsd branch April 11, 2023 11:33
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.

None yet

2 participants