Skip to content

Commit

Permalink
Updated meta.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidMChan committed Apr 23, 2021
1 parent 770ae32 commit ad646a0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions conda/tsnecuda/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ set -e
set -x

CMAKE_PLATFORM_FLAGS+=(-DCMAKE_TOOLCHAIN_FILE="${RECIPE_DIR}/cross-linux.cmake")
cmake -B _build . -DCMAKE_INSTALL_PREFIX=${PREFIX} ${CMAKE_PLATFORM_FLAGS[@]}
cmake -B _build . -DCMAKE_INSTALL_PREFIX=${PREFIX} ${CMAKE_PLATFORM_FLAGS[@]} ${SRC_DIR}
make -C _build -j $CPU_COUNT

cd _build/python/
$PREFIX/bin/python3 setup.py install --single-version-externally-managed --record=record.txt --prefix=$PREFIX
$PYTHON setup.py install --single-version-externally-managed --record=record.txt --prefix=$PREFIX
7 changes: 4 additions & 3 deletions conda/tsnecuda/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ source:

build:
number: {{ number }}
noarch_python: True

outputs:
- name: tsnecuda
Expand All @@ -29,17 +30,17 @@ outputs:
- {{ compiler('cxx') }}
- make
- git
- python >=3.6
- python
- libxml2
host:
- conda
- cmake >=3.20
- setuptools
- mkl-devel >=2018
- blas =*=mkl
- cudatoolkit-dev {{ cudatoolkit }}
- cudatoolkit {{ cudatoolkit }}
- faiss-gpu ==1.6.5
- python >=3.6
- python
- numpy >=1.14
- gflags
- gtest
Expand Down

0 comments on commit ad646a0

Please sign in to comment.