From fadb3682233a74ec7ffeb89b46b686483e382228 Mon Sep 17 00:00:00 2001 From: Kazantsev Date: Mon, 11 Mar 2019 12:09:44 +0000 Subject: fixes conda build for windows --- recipe/bld.bat | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'recipe/bld.bat') 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 -- cgit v1.2.3