8000 Modernize conda build by brian-rose · Pull Request #7 · brian-rose/minimalf2py · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Feb 23, 2026. It is now read-only.

Modernize conda build - #7

Open
brian-rose wants to merge 17 commits into
mainfrom
fix-conda
Open

brian-rose wants to merge 17 commits into
mainfrom
fix-conda

Conversation

@brian-rose
Copy link
Copy Markdown
Owner

Trying to address #3 (and also speed up the builds)

@brian-rose
Copy link
Copy Markdown
Owner Author

So here I've completely failed to fix the conda-build issues in #3 but also explored how to force f2py to use flang as the fortran compiler on Windows rather than built-in gfortran. That isn't working either.

The last commit seems to be using flang for the compile stage, but then choosing gfortran for a linking stage (or something like that). The resulting module does not run.

@brian-rose
brian-rose commented Aug 8, 2022 •
Copy link
Copy Markdown
Owner Author

When we force f2py to use flang by setting ncompiler=flang in the ~/pydistutils.cfg file, we get the error (on Windows):

error: don't know how to compile C/C++ code on platform 'nt' with 'flang' compiler

Googling on that error message hasn't revealed much.

@brian-rose brian-rose changed the title Modernize conda build and accelerate with mamba Modernize conda build Nov 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

0