Skip to content

Allow finding TPLs by environment variables#149

Open
masterleinad wants to merge 1 commit intoORNL-CEES:masterfrom
masterleinad:find_tpls
Open

Allow finding TPLs by environment variables#149
masterleinad wants to merge 1 commit intoORNL-CEES:masterfrom
masterleinad:find_tpls

Conversation

@masterleinad
Copy link
Copy Markdown
Collaborator

Also provide an error message in case AmgX was not found.

@ghost ghost assigned masterleinad Apr 3, 2019
@ghost ghost added the in progress label Apr 3, 2019
@codecov-io
Copy link
Copy Markdown

codecov-io commented Apr 3, 2019

Codecov Report

Merging #149 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #149   +/-   ##
=======================================
  Coverage   87.76%   87.76%           
=======================================
  Files          53       53           
  Lines        2199     2199           
=======================================
  Hits         1930     1930           
  Misses        269      269

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9c96e14...0368f20. Read the comment docs.

Comment thread cmake/SetupTPLs.cmake
Copy link
Copy Markdown
Collaborator

@Rombur Rombur left a comment

Choose a reason for hiding this comment

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

Let's not merge this. The build system and this part in particular is very brittle and it is too important to start making change to it at this time in the project. Passing the jenkins is not enough, we need to try on different machines.

@dalg24
Copy link
Copy Markdown
Collaborator

dalg24 commented Apr 4, 2019

Let's not merge this. The build system and this part in particular is very brittle and it is too important to start making change to it at this time in the project. Passing the jenkins is not enough, we need to try on different machines.

This patch is armless and gives cleaner code in CMake.

@dalg24
Copy link
Copy Markdown
Collaborator

dalg24 commented Apr 4, 2019

We can strip the part with the env variables if you don't like but this is the correct way to detect the AmgX lib and link against it.

@Rombur
Copy link
Copy Markdown
Collaborator

Rombur commented Apr 4, 2019

We shouldn't merge anything in the build system until we know it works on Docker, my machine, and Andrey's.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants