summaryrefslogtreecommitdiffstats
path: root/recipe/bld.bat
diff options
context:
space:
mode:
authorKazantsev <daniil.kazantsev@diamond.ac.uk>2019-03-11 12:09:44 +0000
committerKazantsev <daniil.kazantsev@diamond.ac.uk>2019-03-11 12:09:44 +0000
commitfadb3682233a74ec7ffeb89b46b686483e382228 (patch)
tree1c092d13cd4bef16ddfad7264b6acdc7dfdbac96 /recipe/bld.bat
parente2208bfc2ed540065bef2e8e12d914d873464da7 (diff)
downloadregularization-fadb3682233a74ec7ffeb89b46b686483e382228.tar.gz
regularization-fadb3682233a74ec7ffeb89b46b686483e382228.tar.bz2
regularization-fadb3682233a74ec7ffeb89b46b686483e382228.tar.xz
regularization-fadb3682233a74ec7ffeb89b46b686483e382228.zip
fixes conda build for windows
Diffstat (limited to 'recipe/bld.bat')
-rw-r--r--recipe/bld.bat9
1 files changed, 5 insertions, 4 deletions
diff --git a/recipe/bld.bat b/recipe/bld.bat
index 6c84355..9925a8a 100644
--- a/recipe/bld.bat
+++ b/recipe/bld.bat
@@ -4,17 +4,18 @@ exit 1
)
mkdir "%SRC_DIR%\ccpi"
-ROBOCOPY /E "%RECIPE_DIR%\..\.." "%SRC_DIR%\ccpi"
-ROBOCOPY /E "%RECIPE_DIR%\..\..\..\Core" "%SRC_DIR%\Core"
+ROBOCOPY /E "%RECIPE_DIR%\.." "%SRC_DIR%\ccpi"
+ROBOCOPY /E "%RECIPE_DIR%\..\src\Core" "%SRC_DIR%\src\Core"
::cd %SRC_DIR%\ccpi\Python
cd %SRC_DIR%
:: issue cmake to create setup.py
-cmake -G "NMake Makefiles" %RECIPE_DIR%\..\..\..\ -DBUILD_PYTHON_WRAPPERS=ON -DCONDA_BUILD=ON -DBUILD_CUDA=OFF -DCMAKE_BUILD_TYPE="Release" -DLIBRARY_LIB="%CONDA_PREFIX%\lib" -DLIBRARY_INC="%CONDA_PREFIX%" -DCMAKE_INSTALL_PREFIX="%PREFIX%\Library"
+cmake -G "NMake Makefiles" %RECIPE_DIR%\..\ -DBUILD_PYTHON_WRAPPERS=ON -DCONDA_BUILD=ON -DBUILD_CUDA=ON -DCMAKE_BUILD_TYPE="Release" -DLIBRARY_LIB="%CONDA_PREFIX%\lib" -DLIBRARY_INC="%CONDA_PREFIX%" -DCMAKE_INSTALL_PREFIX="%PREFIX%\Library"
+
::%PYTHON% setup-regularisers.py build_ext
::if errorlevel 1 exit 1
::%PYTHON% setup-regularisers.py install
::if errorlevel 1 exit 1
nmake install
-if errorlevel 1 exit 1 \ No newline at end of file
+if errorlevel 1 exit 1