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

More makefile preparations for Windows #9742

Merged
merged 3 commits into from
Jan 12, 2024

Conversation

Ericson2314
Copy link
Member

Motivation

See each commit for details. In the last one I tried to add some general comments to our entry-point Makefile is easier to understand.

Context

Preparing for #8901.

Picking up where #9736 left off

Priorities and Process

Add 👍 to pull requests you find important.

The Nix maintainer team uses a GitHub project board to schedule and track reviews.

CC @wegank @Mindavi

Copy link
Contributor

@Mindavi Mindavi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know the reordering implications, but at least have some textual improvements. Otherwise looks good to my eye, but I don't have much experience with these type of makefiles generally.

Makefile Outdated Show resolved Hide resolved
Makefile Outdated
ifdef HOST_WINDOWS
# Windows DLLs are stricter about symbol visibilty than Unix shared
# objects --- see https://gcc.gnu.org/wiki/Visibility for details.
# This is a temporary sledghammer to export everything like on Unix,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, adding exports for all symbols will probably be a bit of work

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same. It's not an urgent todo.

Makefile Outdated Show resolved Hide resolved
@roberth roberth changed the title More makefile prepartions for Windows More makefile preparations for Windows Jan 12, 2024
These bits are not Cygwin-specific.
This is not the most elegant, but will match the SOs in exporting
everything for now. Later we can refine what is public/private to clean
up the interface.
@Ericson2314 Ericson2314 added build-problem Nix fails to compile or test; also improvements to build process windows labels Jan 12, 2024
@edolstra edolstra merged commit 1acb1e0 into NixOS:master Jan 12, 2024
10 checks passed
@Ericson2314 Ericson2314 deleted the mingw-makefiles branch January 12, 2024 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build-problem Nix fails to compile or test; also improvements to build process windows
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants