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

Update xtl and xtensor submodules #2941

Merged

Conversation

HunterBelanger
Copy link
Contributor

Description

This PR updates the xtl and xtensor submodules to be the most recent tagged version of each. This change is motivated by #2919, where I found that the versions that we are currently using appear to have a memory bug in Windows. These more recent versions do not seem to pose any issues for me on linux or Windows.

While this PR currently just updates the submodules, it might also be a good time to discuss possibly moving from submodules to FetchContent. This is a new feature which was added to CMake 3.11 (currently we require 3.10+), which allows you to specify git repos in the CMakeLists file, and then CMake will automatically clone them and set them up on build. I personally find it much easier to work with, and it also avoids the problem of initializing the submodules, and updating versions is just a simple change in the CMakeLists.

Checklist

  • I have performed a self-review of my own code
  • I have run clang-format (version 15) on any C++ source files (if applicable)
  • I have followed the style guidelines for Python source files (if applicable)
  • I have made corresponding changes to the documentation (if applicable)
  • I have added tests that prove my fix is effective or that my feature works (if applicable)

@HunterBelanger HunterBelanger mentioned this pull request Apr 5, 2024
5 tasks
@HunterBelanger HunterBelanger changed the title Update xtl and xtesnor submodules Update xtl and xtensor submodules Apr 5, 2024
Copy link
Contributor

@paulromano paulromano left a comment

Choose a reason for hiding this comment

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

Thanks @HunterBelanger! Yes, moving to FetchContent may be a good idea. Let's consider that on a separate issue/PR.

@paulromano paulromano merged commit 70ba23a into openmc-dev:develop Apr 8, 2024
18 checks passed
church89 pushed a commit to openmsr/openmc that referenced this pull request Jul 18, 2024
@HunterBelanger HunterBelanger deleted the feature/update_submods branch July 18, 2024 13:37
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