diff options
Diffstat (limited to 'recipes/regularisers')
-rw-r--r-- | recipes/regularisers/bld.bat | 21 | ||||
-rw-r--r-- | recipes/regularisers/build.sh | 19 | ||||
-rw-r--r-- | recipes/regularisers/meta.yaml | 27 |
3 files changed, 0 insertions, 67 deletions
diff --git a/recipes/regularisers/bld.bat b/recipes/regularisers/bld.bat deleted file mode 100644 index 43a5286..0000000 --- a/recipes/regularisers/bld.bat +++ /dev/null @@ -1,21 +0,0 @@ -IF NOT DEFINED CIL_VERSION ( -ECHO CIL_VERSION Not Defined. -exit 1 -) - -mkdir "%SRC_DIR%\build" -ROBOCOPY /E "%RECIPE_DIR%\..\..\Core" "%SRC_DIR%\build" -::ROBOCOPY /E "%RECIPE_DIR%\..\..\Wrappers\python\src" "%SRC_DIR%\build\module" -cd "%SRC_DIR%\build" - -echo "we should be in %SRC_DIR%\build" - -cmake -G "NMake Makefiles" "%RECIPE_DIR%\..\..\" -DLIBRARY_LIB="%CONDA_PREFIX%\lib" -DLIBRARY_INC="%CONDA_PREFIX%" -DCMAKE_INSTALL_PREFIX="%PREFIX%\Library" -DCONDA_BUILD=ON -DBUILD_WRAPPERS=OFF - -::-DBOOST_LIBRARYDIR="%CONDA_PREFIX%\Library\lib" -DBOOST_INCLUDEDIR="%CONDA_PREFIX%\Library\include" -DBOOST_ROOT="%CONDA_PREFIX%\Library\lib" - -:: Build C library -nmake install -if errorlevel 1 exit 1 - -:: Install step diff --git a/recipes/regularisers/build.sh b/recipes/regularisers/build.sh deleted file mode 100644 index eaa778e..0000000 --- a/recipes/regularisers/build.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/usr/bin/env bash - -echo build.sh CIL_VERSION: $CIL_VERSION -#if [ -z "$CIL_VERSION" ]; then -# echo "Need to set CIL_VERSION" -# exit 1 -#fi -#export CIL_VERSION=0.9.1 - - - -mkdir ${SRC_DIR}/build -cp -rv ${RECIPE_DIR}/../../Core/ ${SRC_DIR}/build -mkdir ${SRC_DIR}/build/build -cd ${SRC_DIR}/build/build -cmake -G "Unix Makefiles" -DLIBRARY_LIB="${CONDA_PREFIX}/lib" -DLIBRARY_INC="${CONDA_PREFIX}" -DCMAKE_INSTALL_PREFIX="${PREFIX}" ../Core - -make -j2 VERBOSE=1 -make install diff --git a/recipes/regularisers/meta.yaml b/recipes/regularisers/meta.yaml deleted file mode 100644 index 3ffcd1d..0000000 --- a/recipes/regularisers/meta.yaml +++ /dev/null @@ -1,27 +0,0 @@ -package: - name: cil_regulariser - version: {{ environ['CIL_VERSION'] }} - - -build: - preserve_egg_dir: False - script_env: - - CIL_VERSION - -requirements: - build: - - cmake >=3.1 - - vc 14 # [win and py36] - - vc 14 # [win and py35] - - vc 9 # [win and py27] - - run: - - vc 14 # [win and py36] - - vc 14 # [win and py35] - - vc 9 # [win and py27] - - -about: - home: http://www.ccpi.ac.uk - license: Apache v2.0 - summary: Regulariser package from CCPi |