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

Merge v3.2.4 release candidate for final release #966

Merged
merged 71 commits into from
Jan 7, 2025
Merged

Conversation

gonuke
Copy link
Member

@gonuke gonuke commented Nov 22, 2024

This release candidate has been available for 7 weeks and there are no additional changes requested.

Requires merge to support finalization of the draft release.

@@ -49,8 +49,7 @@ jobs:
shell: bash -l {0}
run: |
conda install curl eigen
conda install -c conda-forge hdf5=1.10.6
conda remove -y yaml-cpp

Choose a reason for hiding this comment

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

Should we still consider this?

Copy link
Member Author

Choose a reason for hiding this comment

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

I think this change makes sense - it fixes one problem, but there is now a new linking problem on Windows because we don't find the HDF5 library at link time. I haven't had time to figure out why.

@@ -47,7 +47,7 @@ jobs:
- name: Initial setup
shell: bash -l {0}
run: |
brew install eigen hdf5
brew install --force eigen hdf5

Choose a reason for hiding this comment

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

I think the new HDF5 comes with a new pkgconf, which is causing the linking issue.

We could consider running:

brew link --overwrite pkgconf
or
brew reinstall pkg-config

Copy link
Member Author

Choose a reason for hiding this comment

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

I don't know enough about brew to know in which order this would come relative to the lines we already have?

@ahnaf-tahmid-chowdhury
Copy link
Member

It appears that only HDF5 version 1.10.6 works for windows builds at the moment. The latest version, 1.14.4, doesn't include essential files like libhdf5.lib, among others, which might explain the issue. When I attempted to use version 1.12.2, I encountered the following error:

LINK : warning LNK4286: symbol '?find@Range@moab@@QEBA?AVconst_iterator@12@_K@Z (public: class moab::Range::const_iterator __cdecl moab::Range::find(unsigned __int64)const )' defined in 'Range.obj' is imported by 'Intx2Mesh.obj' [D:\a\dagmc-ci\moab_build\src\MOAB.vcxproj]
... (truncated warnings) ...
D:\a\dagmc-ci\moab_build\lib\Release\MOAB.dll : fatal error LNK1169: one or more multiply defined symbols found [D:\a\dagmc-ci\moab_build\src\MOAB.vcxproj]

For now, I’ve set the HDF5 version to 1.10.6. I assume, the MOAB library needs updates to properly support newer versions of HDF5 for Windows builds.

@ahnaf-tahmid-chowdhury
Copy link
Member

@gonuke, it seems yaml-cpp is a core dependency now. Please let me know how to address the gtest error.

@gonuke
Copy link
Member Author

gonuke commented Dec 4, 2024

I think this is failing for Windows on a very specific issue: CMake found the HDF5 libraries successfully during the configuration step, but they are not being found at the linking step. I am not sure how best to address this in Windows. I know there has been some substantial overhaul for Windows build in MOAB on the master branch, but switching to master didn't help.

@gonuke gonuke requested a review from bam241 January 6, 2025 18:07
Copy link
Member

@bam241 bam241 left a comment

Choose a reason for hiding this comment

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

LGTM!

One minor change/comment to explain why all trigger on the Windows build have been commented.

.github/workflows/windows_build_test.yml Show resolved Hide resolved
@bam241 bam241 merged commit 65c33fe into develop Jan 7, 2025
19 checks passed
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.

5 participants