From ad646a09e841faf2c9caac1efffcf39de60c0a62 Mon Sep 17 00:00:00 2001 From: DavidMChan Date: Fri, 23 Apr 2021 13:44:00 -0700 Subject: [PATCH] Updated meta.yaml --- conda/tsnecuda/build.sh | 4 ++-- conda/tsnecuda/meta.yaml | 7 ++++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/conda/tsnecuda/build.sh b/conda/tsnecuda/build.sh index 433b2c1..398b04d 100644 --- a/conda/tsnecuda/build.sh +++ b/conda/tsnecuda/build.sh @@ -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 diff --git a/conda/tsnecuda/meta.yaml b/conda/tsnecuda/meta.yaml index 1bb6ddf..2943e9d 100644 --- a/conda/tsnecuda/meta.yaml +++ b/conda/tsnecuda/meta.yaml @@ -16,6 +16,7 @@ source: build: number: {{ number }} + noarch_python: True outputs: - name: tsnecuda @@ -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