-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add CCPi-Regularisation-Toolkit with BUILD_CIL
- Loading branch information
Showing
19 changed files
with
204 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#!/bin/bash | ||
df -h | ||
# locations from the internet, e.g. https://github.com/easimon/maximize-build-space | ||
# saves about 2GB | ||
if [ -d /usr/share/dotnet ]; then | ||
echo removing dotnet | ||
sudo rm -rf /usr/share/dotnet | ||
fi | ||
# saves about 10 GB | ||
if [ -d "$AGENT_TOOLSDIRECTORY" ]; then | ||
echo removing agent_tools | ||
sudo rm -rf "$AGENT_TOOLSDIRECTORY" | ||
fi | ||
# saves about 10 GB | ||
if [ -d /usr/local/lib/android ]; then | ||
echo removing android files | ||
sudo rm -rf /usr/local/lib/android | ||
fi | ||
if [ -d /opt/ghc ]; then | ||
echo removing android files | ||
sudo rm -rf /opt/ghc | ||
fi | ||
df -h |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
#======================================================================== | ||
# Author: Edoardo Pasca | ||
# Copyright 2022 UKRI STFC | ||
# | ||
# This file is part of the CCP SyneRBI (formerly PETMR) Synergistic Image Reconstruction Framework (SIRF) SuperBuild. | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0.txt | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
#========================================================================= | ||
#This needs to be unique globally | ||
set(proj pugixml) | ||
|
||
# Set dependency list | ||
set(${proj}_DEPENDENCIES "") | ||
|
||
# Include dependent projects if any | ||
ExternalProject_Include_Dependencies(${proj} DEPENDS_VAR ${proj}_DEPENDENCIES) | ||
|
||
# Set external name (same as internal for now) | ||
set(externalProjName ${proj}) | ||
SetCanonicalDirectoryNames(${proj}) | ||
|
||
if(NOT ( DEFINED "USE_SYSTEM_${externalProjName}" AND "${USE_SYSTEM_${externalProjName}}" ) ) | ||
message(STATUS "${__indent}Adding project ${proj}") | ||
|
||
### --- Project specific additions here | ||
|
||
|
||
# Sets ${proj}_URL_MODIFIED and ${proj}_TAG_MODIFIED | ||
SetGitTagAndRepo("${proj}") | ||
|
||
# conda build should never get here | ||
if("${PYTHON_STRATEGY}" STREQUAL "PYTHONPATH") | ||
# in case of PYTHONPATH it is sufficient to copy the files to the | ||
# $PYTHONPATH directory | ||
ExternalProject_Add(${proj} | ||
${${proj}_EP_ARGS} | ||
${${proj}_EP_ARGS_GIT} | ||
${${proj}_EP_ARGS_DIRS} | ||
CMAKE_ARGS -DCMAKE_INSTALL_INCLUDEDIR:PATH=${SUPERBUILD_INSTALL_DIR}/include | ||
DEPENDS ${${proj}_DEPENDENCIES} | ||
) | ||
|
||
else() | ||
# if SETUP_PY one can launch the conda build.sh script setting | ||
# the appropriate variables. | ||
message(FATAL_ERROR "Only PYTHONPATH install method is currently supported") | ||
endif() | ||
|
||
else() | ||
ExternalProject_Add_Empty(${proj} DEPENDS "${${proj}_DEPENDENCIES}" | ||
SOURCE_DIR ${${proj}_SOURCE_DIR} | ||
BINARY_DIR ${${proj}_BINARY_DIR} | ||
DOWNLOAD_DIR ${${proj}_DOWNLOAD_DIR} | ||
STAMP_DIR ${${proj}_STAMP_DIR} | ||
TMP_DIR ${${proj}_TMP_DIR} | ||
) | ||
endif() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
3.4.0 | ||
3.5.0 |
Oops, something went wrong.