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

Windows #17

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from
Draft

Windows #17

wants to merge 6 commits into from

Conversation

lidavidm
Copy link
Contributor

@lidavidm lidavidm commented Oct 3, 2023

Checklist

  • Used a personal fork of the feedstock to propose changes
  • Bumped the build number (if the version is unchanged)
  • Reset the build number to 0 (if the version changed)
  • Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
  • Ensured the license file is being packaged.

@conda-forge-webservices
Copy link
Contributor

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@WillAyd
Copy link

WillAyd commented Oct 4, 2023

Assuming we need to be passing /WX to MSVC instead of /Werror; surprised CMake doesn't already handle this for us

@lidavidm
Copy link
Contributor Author

lidavidm commented Oct 4, 2023

So that is actually due to Go. Go is invoking cl for us and it's translating our flags like Werror into /Werror automagically. I remember running into this before and I think it's easiest to force Go to invoke mingw-gcc

I realized when I got here that I've done half of this before:
apache/arrow-adbc#634

So I think the next step here is to add a patch to GoUtils.cmake to set CC/CXX only for Go, and add mingw-gcc to the deps on windows. The issue there notes that the tests won't build/link, but that's OK for our purposes here.

@WillAyd
Copy link

WillAyd commented Oct 4, 2023

Very interesting. Definitely not a conda thing either right? I've always found the environment variables set by activation of a conda environment to be surprising...not something I looked into here just food for thought

@lidavidm
Copy link
Contributor Author

lidavidm commented Oct 4, 2023

I don't think it's Conda-specific, I think we just don't do enough testing on Windows due to my own antipathy/lack of a Windows machine

@conda-forge-webservices
Copy link
Contributor

Hi! This is the friendly automated conda-forge-linting service.

I was trying to look for recipes to lint for you, but it appears we have a merge conflict.
Please try to merge or rebase with the base branch to resolve this conflict.

Please ping the 'conda-forge/core' team (using the @ notation in a comment) if you believe this is a bug.

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.

2 participants