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

CXXTest Build Fix #37

Merged
merged 52 commits into from
Nov 24, 2020
Merged

Conversation

mdavis36
Copy link
Collaborator

This PR looks rather large as it pulls in updates from develop and feature/python-env.

Summary

The main changes that should be noted exist in cmake/tpl/python.cmake src/CMakeLists.txt and src/CXXTests/CMakeLists.txt.

C++ test executables need to be linked to all of our compiled C++ libraries else we encounter undefined references at link time. This includes pythons library, which needs to be a shared library, this required changes to the python build options. The CMake Call into the CXXTest directory has been moved to the bottom of src/CMakeLists.txt as we need to include all C++ libs, those of which are listed in SPHERAL_CXX_LIBS cmake variable (formerly SPHERAL_PYTHON_DEPENDS).

A Python TPL rebuild will be necessary to get this working again.

ptsuji and others added 30 commits March 17, 2020 15:22
the pip modules have already been downloaded we can skip that step.
* commit '69e4dbfb2f474a0c9f1c60caf74022c12954fb2b':
  Fixes for downloading pip modules as a separate stage.
  Locking the version of numpy-stl that works with our Python 2.7.* series.
  Splitting up pip download and pip install as separate stages, so if the pip modules have already been downloaded we can skip that step.
brbass and others added 22 commits November 11, 2020 12:04
* commit 'e31d742cfac0e005a986dee62ffb4563c9e6ab8d':
  Fixed pybind11 naming conflict.
  Added tests for new physical constants.
  Fixed unit energy in constants.
  Added Planck constant.
  Fixed some errors.
  Added bindings for vector gradientRK.
  Added gradient of FieldList<Dimension, std::vector<DataType>>.
…llation compatibility with Spheral extension repos.
* commit '4a87764cb3515b20000e5f9fc0f51c67e15d2989':
  Adding cmake flag BOOST_HEADER_ONLY, which specifies that boost will not install any libs.  Defaults to OFF.
  This "Spheral" needs to be here or the PYBIND11 stuff doesn't get build.
  Forgot to remove CInterface from the list of directories here.
  Updating stuff from ALE3D's Spheral repo.
  Putting in #ifdefs to protect against the fix on Windows which avoids the heap corruption error.
  Updating the Windows project files for ALE3D.
  Taking the master branch changes to sampleMultipleFields2LatticeMash.cc.
  Updating to feature/tsuji1/spheralrk on the ALE3D repo.
* commit '8ae944866bb966c114013bbaa1425980f4df2776':
  Unified method of handling distutils installed python packages.
  Fixed pybind11 naming conflict.
  Some protections from unphysical Cv.
  Added tests for new physical constants.
  Fixed unit energy in constants.
  Added Planck constant.
  Fixed some errors.
  Added bindings for vector gradientRK.
  Added gradient of FieldList<Dimension, std::vector<DataType>>.
… after all other C++ spheral libs have been configured.
@MishaZakharchanka MishaZakharchanka merged commit aa6ac84 into feature/sidre-data-collection Nov 24, 2020
@mdavis36 mdavis36 deleted the python-env-sidre branch August 9, 2021 22:03
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