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

CMake build time TPLs #14

Merged
merged 35 commits into from
May 13, 2020
Merged

CMake build time TPLs #14

merged 35 commits into from
May 13, 2020

Conversation

mdavis36
Copy link
Collaborator

Summary

This PR allows the cmake system to build TPLs as build time targets along with other changes and bugfixes:

  • Build time Third party library builds as dependent targets.
  • Moved CMake root directory to Spheral/.
  • Fixed r-paths of built libs.
  • TPLs build into the cmake build dir by default.
  • Fixed configured files to generate to build dir and install later.
  • Generate python stamp files in build tree.

CMake Flags

  • SPHERAL_INSTALL_DIR : Unchanged. This is where any built TPL's and Spheral libs will be installed.

  • BUILD_TPL=On/Off : On by default, when off NO TPLs will be built, will search in default location for libs, otherwise user can define the TPL install directory to search.

  • <tpl-name>_BUILD=On/Off : On by default unless BUILD_TPL=Off. Define if user does not want to build a TPL.

  • <tpl-name>_DIR : absolute path to TPL install location. If this is not set, cmake will set to default/SPHERAL_INSTALL_DIR. This location can be set as a search location when not building or a specific Install location for the given TPL.

  • ENABLE_CXXONLY : Only build C++ shared libs.

  • ENABLE_STATIC_CXXONLY : Only build C++ static libs.

mdavis36 and others added 30 commits May 1, 2020 14:20
@mdavis36 mdavis36 requested a review from jmikeowen May 12, 2020 00:56
@mdavis36
Copy link
Collaborator Author

@ptsuji This is the PR for the new CMake system

@jmikeowen
Copy link
Collaborator

I still have to check out the latest, but I have one question -- are the stamp files (I think from PYB11) still being written to the source tree?

@mdavis36
Copy link
Collaborator Author

@jmikeowen Nope they are generated into the build tree now.

@jmikeowen
Copy link
Collaborator

Awesome! I'll try to check it out soon...

@jmikeowen
Copy link
Collaborator

This is looking good!

@jmikeowen jmikeowen merged commit ab40c3e into master May 13, 2020
jmikeowen pushed a commit that referenced this pull request Aug 10, 2020
…ster

* commit '56f119ed43c09c459689497396d6bb4ac19b7533':
  Added vector functions to the Python interface for boundary. Tightened Voronoi node tolerance by default.
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