Skip to content

Fix m2w64 in compiled conda pkg#44

Open
baugetfa wants to merge 28 commits into
masterfrom
baugetfa
Open

Fix m2w64 in compiled conda pkg#44
baugetfa wants to merge 28 commits into
masterfrom
baugetfa

Conversation

@baugetfa

@baugetfa baugetfa commented Nov 6, 2025

Copy link
Copy Markdown
Contributor

No description provided.

@baugetfa

baugetfa commented Nov 6, 2025

Copy link
Copy Markdown
Contributor Author

Ok that is it. According to the CI log m2w64-gcc-libs-core is no longer in the run env, so it shoud not be in the conda phg dependencies.

@pradal pradal left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Seems OK to me.
Merge when you want

@baugetfa

baugetfa commented Nov 6, 2025

Copy link
Copy Markdown
Contributor Author

ok I'll wait the end of the windows CI

@baugetfa

baugetfa commented Nov 7, 2025

Copy link
Copy Markdown
Contributor Author

Ok with these m2w64 pkgs windows tests pass. Not good. WIP.
For recall the error is:

      from . import pyratp
  E   ImportError: DLL load failed while importing pyratp: The specified module could not be found.

@pradal

pradal commented Nov 12, 2025

Copy link
Copy Markdown
Contributor

In CI on windows, the environment variable fortran_compiler is set to flang
But not used.
Perhaps add

FC='flang' in script. Because meson test first ifort, then gfortran

@pradal

pradal commented Nov 12, 2025

Copy link
Copy Markdown
Contributor

look flang instructions on windows : mesonbuild/meson#12306

@baugetfa

baugetfa commented Nov 13, 2025

Copy link
Copy Markdown
Contributor Author

Aaaah ! compilers worked on the docker win11 with conda-build !

@baugetfa

Copy link
Copy Markdown
Contributor Author

still not

@pradal

pradal commented Nov 13, 2025

Copy link
Copy Markdown
Contributor
[tool.meson-python.args]
setup = ['-Doption=false', '-Dfeature=enabled', '-Dvalue=42']
compile = ['-j4']
install = ['--tags=bindings']
dist = ['--include-subprojects']

@pradal

pradal commented Nov 13, 2025

Copy link
Copy Markdown
Contributor
[tool.meson-python.args]
setup = ['--vsenv']

@baugetfa

baugetfa commented Nov 13, 2025

Copy link
Copy Markdown
Contributor Author

yes. This is what I do. But I had also to put in meta.yaml. I will check again that.
I'm trying to add also compile = -Dfortran_std=none in pyproject.toml

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