summaryrefslogtreecommitdiff
path: root/Wrappers/Python/conda-recipe
diff options
context:
space:
mode:
authorEdoardo Pasca <edo.paskino@gmail.com>2018-01-29 15:46:04 +0000
committerEdoardo Pasca <edo.paskino@gmail.com>2018-01-30 12:03:59 +0000
commit25c43ebd60c141bacf3ff9fd9c5e2f357bc5e4b6 (patch)
tree4ffc8f08d9dcdfbceb068ca4c2a1fc19527610cd /Wrappers/Python/conda-recipe
parentfd7236f721017a6e8c082f01545e6b5aaf4c2cac (diff)
finds boost libraries during wrappers build (win)
finds and set the correct name for the boost libraries. Builds GPU wrapper if CUDA is found.
Diffstat (limited to 'Wrappers/Python/conda-recipe')
-rw-r--r--Wrappers/Python/conda-recipe/bld.bat7
-rw-r--r--Wrappers/Python/conda-recipe/build.sh6
-rw-r--r--Wrappers/Python/conda-recipe/meta.yaml1
3 files changed, 10 insertions, 4 deletions
diff --git a/Wrappers/Python/conda-recipe/bld.bat b/Wrappers/Python/conda-recipe/bld.bat
index fe3ddae..850905c 100644
--- a/Wrappers/Python/conda-recipe/bld.bat
+++ b/Wrappers/Python/conda-recipe/bld.bat
@@ -8,7 +8,10 @@ ROBOCOPY /E "%RECIPE_DIR%\..\.." "%SRC_DIR%\ccpi"
ROBOCOPY /E "%RECIPE_DIR%\..\..\..\Core" "%SRC_DIR%\Core"
cd %SRC_DIR%\ccpi\Python
-%PYTHON% setup.py build_ext
+:: issue cmake to create setup.py
+cmake .
+
+%PYTHON% setup-regularizers.py build_ext
if errorlevel 1 exit 1
-%PYTHON% setup.py install
+%PYTHON% setup-regularizers.py install
if errorlevel 1 exit 1
diff --git a/Wrappers/Python/conda-recipe/build.sh b/Wrappers/Python/conda-recipe/build.sh
index aaf9a69..9ea4161 100644
--- a/Wrappers/Python/conda-recipe/build.sh
+++ b/Wrappers/Python/conda-recipe/build.sh
@@ -11,7 +11,9 @@ cd $SRC_DIR/ccpi/Python
echo "$SRC_DIR/ccpi/Python"
-$PYTHON setup.py build_ext
-$PYTHON setup.py install
+cmake .
+
+$PYTHON setup-regularizers.py build_ext
+$PYTHON setup-regularizers.py install
diff --git a/Wrappers/Python/conda-recipe/meta.yaml b/Wrappers/Python/conda-recipe/meta.yaml
index c451b37..8b58738 100644
--- a/Wrappers/Python/conda-recipe/meta.yaml
+++ b/Wrappers/Python/conda-recipe/meta.yaml
@@ -21,6 +21,7 @@ requirements:
- cil_regularizer
- vc 14 # [win and py35]
- vc 9 # [win and py27]
+ - cmake
run:
- python ==2.7 # [py27]