[CCPPETMR/Hackathon-SIRF-SuperBuild] Add CCPi CIL to SuperBuild (#1)

0 views
Skip to first unread message

Edoardo Pasca

unread,
Jul 29, 2018, 5:00:14 PM7/29/18
to CCPPETMR/Hackathon-SIRF-SuperBuild, Subscribed

Requires cython


You can view, comment on, or merge this pull request online at:

  https://github.com/CCPPETMR/Hackathon-SIRF-SuperBuild/pull/1

Commit Summary

  • Glog previously used STIR version tag instead of its own.
  • prepend SIRF install dir to PATH env
  • added CIL (ccpi-framework) to the dependency
  • Adds CIL to the SuperBuild
  • uses version_config to set ccpi/cil versions

File Changes

Patch Links:


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Kris Thielemans

unread,
Jul 30, 2018, 6:40:11 PM7/30/18
to CCPPETMR/Hackathon-SIRF-SuperBuild, Subscribed

@KrisThielemans requested changes on this pull request.

regularisers config will break on Windows. just disable I guess.

This PR should go to the main repo, no tthe hackathon one.

some commits here and changes that shouldn't be here (e.g. the glog change)


In SuperBuild/External_CCPi-Framework.cmake:

> +set(${proj}_BINARY_DIR "${SUPERBUILD_WORK_DIR}/builds/${proj}/build" )
+set(${proj}_DOWNLOAD_DIR "${SUPERBUILD_WORK_DIR}/downloads/${proj}" )
+set(${proj}_STAMP_DIR "${SUPERBUILD_WORK_DIR}/builds/${proj}/stamp" )
+set(${proj}_TMP_DIR "${SUPERBUILD_WORK_DIR}/builds/${proj}/tmp" )
+
+if(NOT ( DEFINED "USE_SYSTEM_${externalProjName}" AND "${USE_SYSTEM_${externalProjName}}" ) )
+  message(STATUS "${__indent}Adding project ${proj}")
+
+  ### --- Project specific additions here
+  set(libcilreg_Install_Dir ${SUPERBUILD_INSTALL_DIR})
+
+  #message(STATUS "HDF5_ROOT in External_SIRF: " ${HDF5_ROOT})
+  set(CMAKE_LIBRARY_PATH ${CMAKE_LIBRARY_PATH} ${SUPERBUILD_INSTALL_DIR})
+  set(CMAKE_INCLUDE_PATH ${CMAKE_INCLUDE_PATH} ${SUPERBUILD_INSTALL_DIR})
+
+  set(ENV{CIL_VERSION} 0.10.1)

not sure why an env variable. and shouldn't it be in version_config.cmake ? also some hard-wired 0.10.1 below


In SuperBuild/External_CCPi-Framework.cmake:

> @@ -0,0 +1,129 @@
+#========================================================================
+# Author: Benjamin A Thomas
+# Author: Kris Thielemans
+# Author: Edoardo Pasca
+# Copyright 2017 University College London
+# Copyright 2017 STFC

dates


In version_config.cmake:

> @@ -150,6 +156,13 @@ else()
 
   set(DEFAULT_ACE_URL https://github.com/paskino/libace-conda)
   set(DEFAULT_ACE_TAG origin/master)
+  
+  # CCPi CIL
+  set(DEFAULT_CCPi-Framework_URL https://github.com/vais-ral/CCPi-Framework.git)
+  set(DEFAULT_CCPi-Framework_TAG origin/master)

really master?

Edoardo Pasca

unread,
Aug 20, 2018, 6:51:33 AM8/20/18
to CCPPETMR/Hackathon-SIRF-SuperBuild, Push

@paskino pushed 1 commit.

  • e54712f reflects changes to CCPi-RGL


You are receiving this because you are subscribed to this thread.

View it on GitHub or mute the thread.

Edoardo Pasca

unread,
Aug 20, 2018, 9:10:04 AM8/20/18
to CCPPETMR/Hackathon-SIRF-SuperBuild, Push

@paskino pushed 1 commit.


You are receiving this because you are subscribed to this thread.

View it on GitHub or mute the thread.

Edoardo Pasca

unread,
Sep 21, 2018, 10:10:27 AM9/21/18
to CCPPETMR/Hackathon-SIRF-SuperBuild, Push

@paskino pushed 2 commits.

  • cc47c52 points to spdhg branch
  • 50830ce Added CCPi-FrameworkPlugins as CIL dependency


You are receiving this because you are subscribed to this thread.

View it on GitHub or mute the thread.

Edoardo Pasca

unread,
Nov 15, 2018, 11:00:49 AM11/15/18
to CCPPETMR/Hackathon-SIRF-SuperBuild, Subscribed

@paskino commented on this pull request.


In SuperBuild/External_CCPi-Framework.cmake:

> +set(${proj}_BINARY_DIR "${SUPERBUILD_WORK_DIR}/builds/${proj}/build" )
+set(${proj}_DOWNLOAD_DIR "${SUPERBUILD_WORK_DIR}/downloads/${proj}" )
+set(${proj}_STAMP_DIR "${SUPERBUILD_WORK_DIR}/builds/${proj}/stamp" )
+set(${proj}_TMP_DIR "${SUPERBUILD_WORK_DIR}/builds/${proj}/tmp" )
+
+if(NOT ( DEFINED "USE_SYSTEM_${externalProjName}" AND "${USE_SYSTEM_${externalProjName}}" ) )
+  message(STATUS "${__indent}Adding project ${proj}")
+
+  ### --- Project specific additions here
+  set(libcilreg_Install_Dir ${SUPERBUILD_INSTALL_DIR})
+
+  #message(STATUS "HDF5_ROOT in External_SIRF: " ${HDF5_ROOT})
+  set(CMAKE_LIBRARY_PATH ${CMAKE_LIBRARY_PATH} ${SUPERBUILD_INSTALL_DIR})
+  set(CMAKE_INCLUDE_PATH ${CMAKE_INCLUDE_PATH} ${SUPERBUILD_INSTALL_DIR})
+
+  set(ENV{CIL_VERSION} 0.10.1)

This is for a silly reason on the CCPi package. It should be removed from it, but it's needed for the time being.

Edoardo Pasca

unread,
Nov 16, 2018, 7:50:03 AM11/16/18
to CCPPETMR/Hackathon-SIRF-SuperBuild, Subscribed

@paskino commented on this pull request.


In version_config.cmake:

> @@ -150,6 +156,13 @@ else()
 
   set(DEFAULT_ACE_URL https://github.com/paskino/libace-conda)
   set(DEFAULT_ACE_TAG origin/master)
+  
+  # CCPi CIL
+  set(DEFAULT_CCPi-Framework_URL https://github.com/vais-ral/CCPi-Framework.git)
+  set(DEFAULT_CCPi-Framework_TAG origin/master)

I'm removing it in favour of a specific tag.

Edoardo Pasca

unread,
Nov 16, 2018, 10:19:10 AM11/16/18
to CCPPETMR/Hackathon-SIRF-SuperBuild, Subscribed
Reply all
Reply to author
Forward
0 new messages