Skip to content

Commit

Permalink
change the build/compile options for conda build
Browse files Browse the repository at this point in the history
  • Loading branch information
rmrao committed Jul 9, 2019
1 parent 13795c1 commit 1406667
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ CMAKE_PLATFORM_FLAGS+={-DCMAKE_TOOLCHAIN_FILE="${RECIPE_DIR}/cross-linux.cmake"}
git submodule init
git submodule update
cd ./build
cmake .. -DBUILD_PYTHON=TRUE -DWITH_MKL=FALSE -DCMAKE_INSTALL_PREFIX=${PREFIX} ${CMAKE_PLATFORM_FLAGS[@]} ${SRC_DIR} -DCUDA_TOOLKIT_ROOT_DIR=${CUDA_TOOLKIT_ROOT_DIR}
cmake .. -DBUILD_PYTHON=TRUE -DWITH_MKL=FALSE -DCMAKE_INSTALL_PREFIX=${PREFIX} ${CMAKE_PLATFORM_FLAGS[@]} ${SRC_DIR} -DCUDA_TOOLKIT_ROOT_DIR=${CUDA_TOOLKIT_ROOT_DIR} -DCMAKE_C_COMPILER=gcc-4.9 -DCMAKE_CXX_COMPILER=g++-4.9
pwd
make
cd python/
Expand Down
8 changes: 3 additions & 5 deletions meta.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% set name = "tsnecuda" %}
{% set version = "2.0.0" %}
{% set version = "2.1.0" %}

package:
name: '{{ name|lower }}'
Expand All @@ -15,25 +15,23 @@ build:

requirements:
build:
- {{ compiler('cxx') }}
# - {{ compiler('cxx') }}
- python
# - gcc_49
- gcc_49
- cmake
- setuptools
host:
- python
- openblas
- setuptools
- numpy >=1.14.1
- libgfortran
- libopenblas
- libgcc-ng
- libstdcxx-ng
run:
- python
- openblas
- numpy >=1.14.1
- libgfortran
- libopenblas
- libgcc-ng
- libstdcxx-ng
Expand Down

0 comments on commit 1406667

Please sign in to comment.