[cmake] move ExternalProject_Add to subdir for consistency, and define proper GSL,FFTW,TBB targets#21904
[cmake] move ExternalProject_Add to subdir for consistency, and define proper GSL,FFTW,TBB targets#21904ferdymercury wants to merge 12 commits intoroot-project:masterfrom
Conversation
c5e599c to
cb03ce1
Compare
Test Results 22 files 22 suites 3d 8h 49m 4s ⏱️ For more details on these failures, see this check. Results for commit b51e721. ♻️ This comment has been updated with latest results. |
1f27c07 to
283614a
Compare
|
@bellenot could you let me know what is the contents (filenames) inside:
Or alternatively, what targets are defined once you run find_package with the new FindFFTW.cmake script in this branch ? |
|
@ferdymercury here is the content of And I'll try your branch... |
|
@ferdymercury BTW, what is the problem with FFTW? |
|
Here are (some of) the errors on Windows: Hard to tell where they are coming from (i.e, which DLL is not found). I'll have to debug it locally |
The current FindFFTW.cmake did not define a proper target so I borrowed a more up-to-date one by @egpbos but it seems it had a bug for Win32. I just fixed it so that it now finds all variants of FFTW3 correctly on Windows. |
|
@ferdymercury FYI the issue is coming from TBB. I'm looking into it |
85f47df to
e9b6bcd
Compare
4329664 to
78db3b5
Compare
hageboeck
left a comment
There was a problem hiding this comment.
Thanks for the updates! I found a few more things to look at. Do we know the licence of the file that you copied?
| # - Find the FFTW library | ||
| # https://github.com/egpbos/findFFTW/ | ||
| # Original version of this file: | ||
| # Copyright (c) 2015, Wenzel Jakob | ||
| # https://github.com/wjakob/layerlab/blob/master/cmake/FindFFTW.cmake, commit 4d58bfdc28891b4f9373dfe46239dda5a0b561c6 | ||
| # Modifications: | ||
| # Copyright (c) 2017, Patrick Bos |
There was a problem hiding this comment.
@dpiparo, OK to take over other people's find files?
There was a problem hiding this comment.
I think license-technically you should include the license text as well, which could also be done as a header in the FindFFTW.cmake file itself rather than as a separate file. But I won't press charges either way ;)
FFTW: It's BSD-2 originally and later BSD-3 |
|
the testEnableImt failure in one platform is sometimes expected ? or is it caused by this PR ? |
c12ed25 to
b51e721
Compare
[cmake] try define proper gsl builtin target canonical names by findgsl [gsl] fix install path
and misc improvements Co-authored-by: Stephan Hageboeck <stephan.hageboeck@cern.ch> Co-authored-by: ferdymercury <ferdymercury@users.noreply.github.com>
Co-authored-by: Stephan Hageboeck <stephan.hageboeck@cern.ch>
as suggested by hageboeck
b51e721 to
1aa32dd
Compare

Try unbloating the huge SearchInstalledSoftware
and use always subdirs for ExternalProject_Add for symmetry with other builtins