It will/should only refer to installed STIR items. If not, it’s a bug.
From: Edoardo Pasca - UKRI STFC [mailto:[log in to unmask]]
Sent: 02 July 2018 15:15
To: Thielemans, Kris; [log in to unmask]
Subject: RE: FindSTIR
I’m just unsure whether the STIRConfig.cmake would contain references to directories which don’t exist as they refer to the build environment that conda creates and destroys.
We’ll see
Thanks
Edo
From: CCP-PETMR Developers list <[log in to unmask]> On Behalf Of Thielemans, Kris
Sent: 02 July 2018 15:05
To: [log in to unmask]
Subject: Re: FindSTIR
Hi
Thanks, but please, let’s not create a FindSTIR.cmake. It isn’t necessary. It’s out-dated. It’ll be very hard to maintain. The STIRConfig.cmake that we write sets variables, adds dependencies and compilation flags automatically (relying on what CMake knows about all this). If it doesn’t, it’s a bug. Getting dependencies etc sorted out will be very very hard to do with a hand-crafted FindSTIR.cmake. don’t go there.
Kris
From: CCP-PETMR Developers list [mailto:[log in to unmask]] On Behalf Of Nikos Efthimiou
Sent: 02 July 2018 15:01
To: [log in to unmask]
Subject: Re: FindSTIR
Hi Edo,
If you still need a find.cmake I have this. I used to work great, but the past 6 months after some cmake updates, it works "almost" great. If you have STIR in a local path, you will be able to set the root path but then you will have to set and include path, again :/ . Strange staff.
Good luck,
Nikos
On 02/07/18 13:49, Edoardo Pasca - UKRI STFC wrote:
Hi there,
I’m trying to build SIRF with conda.
It’s not clear to me how SIRF finds STIR during the SuperBuild. My guess is that being a target of the SuperBuild the find_package command just finds it.
If I’m now building with USE_SYSTEM_STIR, cmake is complaing that there is no FindSTIR.cmake or STIR_config.cmake Do we have any? I’m presuming that with conda a STIR_config.cmake will be useless as the build happens in a specific environment which is created and destroyed for the build.
So, if I’m to create a FindSTIR.cmake the question is, what is needed of STIR by SIRF at compile time?
Cheers
Edo
--
Edoardo Pasca, PhD
Senior Visualisation Scientist, CCPi project manager and CCPPETMR
Scientific Computing Department, STFC Rutherford Appleton Laboratory
Fermi Avenue Chilton Didcot OX11 0QX
0044 (0)1235 44 5660, R89 F16
:wq
To unsubscribe from the CCP-PETMR-DEVEL list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=CCP-PETMR-DEVEL&A=1
To unsubscribe from the CCP-PETMR-DEVEL list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=CCP-PETMR-DEVEL&A=1
To unsubscribe from the CCP-PETMR-DEVEL list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=CCP-PETMR-DEVEL&A=1
To unsubscribe from the CCP-PETMR-DEVEL list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=CCP-PETMR-DEVEL&A=1