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 fortran support using latest m2w64 #237

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

Conversation

Krande
Copy link

@Krande Krande commented Oct 29, 2024

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.

@Krande
Copy link
Author

Krande commented Oct 29, 2024

@conda-forge-admin, please rerender

@conda-forge-admin
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/meta.yaml) and found it was in an excellent condition.

@Krande
Copy link
Author

Krande commented Oct 29, 2024

Hm, ran into an error related to what seems to be related to threading..

FAILED: bin/ttsafe.exe 
C:\Windows\system32\cmd.exe /C "cd . && %BUILD_PREFIX%\Library\mingw-w64\bin\cc.exe -std=c99  -fstdarg-opt -fmessage-length=0 -O3 -DNDEBUG  test/CMakeFiles/ttsafe.dir/ttsafe.c.obj test/CMakeFiles/ttsafe.dir/ttsafe_dcreate.c.obj test/CMakeFiles/ttsafe.dir/ttsafe_error.c.obj test/CMakeFiles/ttsafe.dir/ttsafe_cancel.c.obj test/CMakeFiles/ttsafe.dir/ttsafe_acreate.c.obj test/CMakeFiles/ttsafe.dir/ttsafe_attr_vlen.c.obj -o bin\ttsafe.exe -Wl,--out-implib,bin\libttsafe.dll.a -Wl,--major-image-version,0,--minor-image-version,0  bin/libhdf5_test.dll.a  -lm  -lws2_32  -lwsock32  D:/bld/hdf5_1730192585590/_h_env/Library/lib/libcurl.lib  D:/bld/hdf5_1730192585590/_h_env/Library/lib/libssl.lib  D:/bld/hdf5_1730192585590/_h_env/Library/lib/libcrypto.lib  bin/libhdf5.dll.a  -lshlwapi  -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 && cd ."
test/CMakeFiles/ttsafe.dir/ttsafe.c.obj:ttsafe.c:(.text.startup+0xa1): undefined reference to `cleanup_cancel'

test/CMakeFiles/ttsafe.dir/ttsafe.c.obj:ttsafe.c:(.text.startup+0xa8): undefined reference to `tts_cancel'

test/CMakeFiles/ttsafe.dir/ttsafe.c.obj:ttsafe.c:(.rdata$.refptr.tts_cancel[.refptr.tts_cancel]+0x0): undefined reference to `tts_cancel'

test/CMakeFiles/ttsafe.dir/ttsafe.c.obj:ttsafe.c:(.rdata$.refptr.cleanup_cancel[.refptr.cleanup_cancel]+0x0): undefined reference to `cleanup_cancel'

collect2.exe: error: ld returned 1 exit status

[1202/3062] Linking C executable bin\thread_id.exe
[1203/3062] Linking C executable bin\testhdf5.exe
ninja: build stopped: subcommand failed.

from test/ttsafe.c

#ifdef H5_HAVE_PTHREAD_H
    /* Thread cancellability only supported with pthreads ... */
    AddTest("cancel", tts_cancel, cleanup_cancel, "thread cancellation safety test", NULL);
#endif /* H5_HAVE_PTHREAD_H */

@conda-forge-admin
Copy link
Contributor

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

I wanted to let you know that I linted all conda-recipes in your PR (recipe/meta.yaml) and found some lint.

Here's what I've got...

For recipe/meta.yaml:

  • Recipe maintainer "astrofrog" does not exist
  • Recipe maintainer "scopatz" does not exist
  • Recipe maintainer "davidbrochart" does not exist
  • Recipe maintainer "varlackc" does not exist
  • Recipe maintainer "zklaus" does not exist

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