From 5c43f8d4b0967e0af388d2b2ac0091693b7a7071 Mon Sep 17 00:00:00 2001 From: Keith Kraus Date: Thu, 8 Nov 2018 12:05:00 -0500 Subject: [PATCH] Refactor travisci tooling for new libcudf and build processes --- .travis.yml | 22 +++--- conda/environments/builddocs_py35.yml | 8 +-- conda/environments/testing_py35.yml | 2 +- conda/recipes/cudf/build.sh | 1 + conda/recipes/cudf/meta.yaml | 10 ++- conda/recipes/{libgdf => libcudf}/build.sh | 2 +- conda/recipes/{libgdf => libcudf}/meta.yaml | 20 ++++-- .../{libgdf_cffi => libcudf_cffi}/build.sh | 6 +- .../{libgdf_cffi => libcudf_cffi}/meta.yaml | 11 +-- cpp/.travis.yml | 69 ------------------- travisci/{ => cudf}/build_cudf.sh | 2 +- travisci/{ => cudf}/upload-anaconda.sh | 2 +- travisci/libcudf/build_libcudf.sh | 13 ++++ travisci/libcudf/build_libcudf_cffi.sh | 13 ++++ .../install-cuda-trusty.sh | 0 .../install-env-libcudf.sh} | 4 +- .../{libgdf => libcudf}/upload-anaconda.sh | 0 travisci/libcudf/upload.sh | 23 +++++++ travisci/libgdf/build_libgdf.sh | 13 ---- travisci/libgdf/build_libgdf_cffi.sh | 13 ---- travisci/libgdf/upload.sh | 23 ------- 21 files changed, 103 insertions(+), 154 deletions(-) rename conda/recipes/{libgdf => libcudf}/build.sh (97%) rename conda/recipes/{libgdf => libcudf}/meta.yaml (67%) rename conda/recipes/{libgdf_cffi => libcudf_cffi}/build.sh (91%) rename conda/recipes/{libgdf_cffi => libcudf_cffi}/meta.yaml (83%) delete mode 100644 cpp/.travis.yml rename travisci/{ => cudf}/build_cudf.sh (71%) rename travisci/{ => cudf}/upload-anaconda.sh (83%) create mode 100755 travisci/libcudf/build_libcudf.sh create mode 100755 travisci/libcudf/build_libcudf_cffi.sh rename travisci/{libgdf => libcudf}/install-cuda-trusty.sh (100%) rename travisci/{libgdf/install-env-libgdf.sh => libcudf/install-env-libcudf.sh} (91%) rename travisci/{libgdf => libcudf}/upload-anaconda.sh (100%) create mode 100755 travisci/libcudf/upload.sh delete mode 100755 travisci/libgdf/build_libgdf.sh delete mode 100755 travisci/libgdf/build_libgdf_cffi.sh delete mode 100755 travisci/libgdf/upload.sh diff --git a/.travis.yml b/.travis.yml index 92cf1523a91..d9897201c81 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,14 +14,14 @@ env: matrix: include: - - env: CUDA=9.2.148_396.37 PYTHON=3.5 LABEL_MAIN=1 BUILD_CUDF=1 BUILD_LIBGDF=1 BUILD_CFFI=1 + - env: CUDA=9.2.148_396.37 PYTHON=3.5 LABEL_MAIN=1 BUILD_CUDF=1 BUILD_LIBCUDF=1 BUILD_CFFI=1 - env: CUDA=9.2.148_396.37 PYTHON=3.6 LABEL_MAIN=1 BUILD_CUDF=1 BUILD_CFFI=1 - - env: CUDA=10.0.130_410.48 PYTHON=3.5 BUILD_LIBGDF=1 BUILD_CFFI=1 + - env: CUDA=10.0.130_410.48 PYTHON=3.5 BUILD_LIBCUDF=1 BUILD_CFFI=1 - env: CUDA=10.0.130_410.48 PYTHON=3.6 BUILD_CFFI=1 before_install: - # install build environment for libgdf - - source ./travisci/libgdf/install-env-libgdf.sh + # install build environment for libcudf + - source ./travisci/libcudf/install-env-libcudf.sh # install miniconda - travis_retry wget --progress=dot:mega https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh - chmod +x miniconda.sh @@ -39,15 +39,15 @@ script: # check conda versions - conda list # build ligdf - - source ./travisci/libgdf/build_libgdf.sh - # build libgdf_cffi - - source ./travisci/libgdf/build_libgdf_cffi.sh - # upload libgdf and libgdf_cffi - - source ./travisci/libgdf/upload.sh + - source ./travisci/libcudf/build_libcudf.sh + # build libcudf_cffi + - source ./travisci/libcudf/build_libcudf_cffi.sh + # upload libcudf and libcudf_cffi + - source ./travisci/libcudf/upload.sh # build cudf - - source ./travisci/build_cudf.sh + - source ./travisci/cudf/build_cudf.sh - flake8 after_success: # upload cudf - - source ./travisci/upload-anaconda.sh + - source ./travisci/cudf/upload-anaconda.sh diff --git a/conda/environments/builddocs_py35.yml b/conda/environments/builddocs_py35.yml index c158a83c89f..bb96ffcd029 100644 --- a/conda/environments/builddocs_py35.yml +++ b/conda/environments/builddocs_py35.yml @@ -1,18 +1,18 @@ name: builddocs_py35 channels: +- mikewendt - nvidia - rapidsai -- conda-forge - numba -- mikewendt +- conda-forge - defaults dependencies: - python=3.5.* - pytest - cudatoolkit=9.2 - nvdriver=396.44 -- libgdf=0.2.0.* -- libgdf_cffi=0.2.0.* +- libcudf=0.2.0.* +- libcudf_cffi=0.2.0.* - numba>=0.40.0dev - nvstrings - pandas=0.20.* diff --git a/conda/environments/testing_py35.yml b/conda/environments/testing_py35.yml index 9a53dda7be9..0365b2c42e3 100644 --- a/conda/environments/testing_py35.yml +++ b/conda/environments/testing_py35.yml @@ -1,9 +1,9 @@ name: pycudf_testing_py35 channels: +- rapidsai - nvidia - numba - conda-forge -- rapidsai - defaults dependencies: - python=3.5.* diff --git a/conda/recipes/cudf/build.sh b/conda/recipes/cudf/build.sh index 5a5aeeb48b4..1eb4db28d58 100644 --- a/conda/recipes/cudf/build.sh +++ b/conda/recipes/cudf/build.sh @@ -1 +1,2 @@ +$PYTHON setup.py build_ext --inplace $PYTHON setup.py install diff --git a/conda/recipes/cudf/meta.yaml b/conda/recipes/cudf/meta.yaml index c21e02871b7..ac3d57f8d05 100644 --- a/conda/recipes/cudf/meta.yaml +++ b/conda/recipes/cudf/meta.yaml @@ -17,6 +17,12 @@ build: - CUDF_BUILD_NO_GPU_TEST requirements: + # use channel: + # - rapidsai + # - nvidia + # - numba + # - conda-forge + # - defaults build: - python - setuptools @@ -25,8 +31,8 @@ requirements: run: - python - setuptools - - libgdf 0.2.0.* - - libgdf_cffi 0.2.0.* + - libcudf 0.2.0.* + - libcudf_cffi 0.2.0.* - pandas 0.20.* - numba>=0.40.0dev - nvstrings diff --git a/conda/recipes/libgdf/build.sh b/conda/recipes/libcudf/build.sh similarity index 97% rename from conda/recipes/libgdf/build.sh rename to conda/recipes/libcudf/build.sh index 40a2756ebaa..c6513af15c2 100644 --- a/conda/recipes/libgdf/build.sh +++ b/conda/recipes/libcudf/build.sh @@ -10,7 +10,7 @@ fi # Cleanup local git git clean -xdf # Change directory for build process -cd libgdf +cd cpp # Use CMake-based build procedure mkdir build cd build diff --git a/conda/recipes/libgdf/meta.yaml b/conda/recipes/libcudf/meta.yaml similarity index 67% rename from conda/recipes/libgdf/meta.yaml rename to conda/recipes/libcudf/meta.yaml index 27148b67575..9f5bca5179e 100644 --- a/conda/recipes/libgdf/meta.yaml +++ b/conda/recipes/libcudf/meta.yaml @@ -6,7 +6,7 @@ {% set git_revision_count=environ.get('GIT_DESCRIBE_NUMBER', 0) %} {% set cuda_version='.'.join(environ.get('CUDA', 'unknown').split('.')[:2]) %} package: - name: libgdf + name: libcudf version: {{ version }} source: @@ -22,9 +22,10 @@ build: requirements: # use channel: - # - defaults - # - conda-forge # - rapidsai + # - nvidia + # - conda-forge + # - defaults build: - cmake 3.12 - nvstrings @@ -34,11 +35,18 @@ requirements: test: commands: - - test -f $PREFIX/include/gdf/gdf.h # [unix or osx] - - test -f $PREFIX/lib/libgdf.dylib # [osx] + - test -f $PREFIX/include/cudf.h + - test -f $PREFIX/include/cudf/convert_types.h + - test -f $PREFIX/include/cudf/functions.h + - test -f $PREFIX/include/cudf/io_functions.h + - test -f $PREFIX/include/cudf/io_types.h + - test -f $PREFIX/include/cudf/types.h + - test -f $PREFIX/lib/libcudf.so + - test -f $PREFIX/lib/librmm.so + about: home: http://rapids.ai/ license: Apache-2.0 # license_file: LICENSE - summary: cuDF-libgdf library + summary: libcudf library diff --git a/conda/recipes/libgdf_cffi/build.sh b/conda/recipes/libcudf_cffi/build.sh similarity index 91% rename from conda/recipes/libgdf_cffi/build.sh rename to conda/recipes/libcudf_cffi/build.sh index 4281e6b00bc..aacc6ed888f 100644 --- a/conda/recipes/libgdf_cffi/build.sh +++ b/conda/recipes/libcudf_cffi/build.sh @@ -10,14 +10,14 @@ # Cleanup local git git clean -xdf # Change directory for build process -cd libgdf +cd cpp # Use CMake-based build procedure mkdir build cd build # configure cmake .. # build -make -j$CPU_COUNT copy_python +make -j$CPU_COUNT python_cffi # install +cd python python setup.py install --single-version-externally-managed --record=record.txt - diff --git a/conda/recipes/libgdf_cffi/meta.yaml b/conda/recipes/libcudf_cffi/meta.yaml similarity index 83% rename from conda/recipes/libgdf_cffi/meta.yaml rename to conda/recipes/libcudf_cffi/meta.yaml index 23bb495ce5a..5529283275b 100644 --- a/conda/recipes/libgdf_cffi/meta.yaml +++ b/conda/recipes/libcudf_cffi/meta.yaml @@ -7,7 +7,7 @@ {% set cuda_version='.'.join(environ.get('CUDA', 'unknown').split('.')[:2]) %} {% set py_version=environ.get('CONDA_PY', 35) %} package: - name: libgdf_cffi + name: libcudf_cffi version: {{ version }} source: @@ -23,6 +23,9 @@ build: requirements: # use channel: + # - rapidsai + # - nvidia + # - conda-forge # - defaults build: - cmake @@ -31,16 +34,16 @@ requirements: - setuptools - nvstrings run: - - libgdf {{ version }}.* + - libcudf {{ version }}.* - python x.x - cffi test: commands: - - python -c "import libgdf_cffi" + - python -c "import libcudf_cffi" about: home: http://rapids.ai/ license: Apache-2.0 # license_file: LICENSE - summary: cuDF-libgdf_cffi library + summary: libcudf_cffi library diff --git a/cpp/.travis.yml b/cpp/.travis.yml deleted file mode 100644 index 950852926e4..00000000000 --- a/cpp/.travis.yml +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright (c) 2018, NVIDIA CORPORATION. - -dist: trusty -sudo: required -language: cpp - -git: - depth: false - -branches: - only: - - master -env: - global: - secure: "EHU4ahNqfqSaT+VQ3cc3MRpHgfIg/K+NUXszlsVzbFgDR43LJD61QavtPMzNM73eVZRzvgRD39yYgHjDF6ZhQ4OpSEGzBiNEzAjKLqnl1JWd7V7/L31OiDsJMwweksrWINoKLPzikr2mOecsWGmRJYcLfYeJZcGlf67PuCN6DI2Un/pYXzblKfU2dVg8bP+HdWrnXTT6u4abnjCU+4kwc+kl9NJzLI1Zk5pSDuLkgRbiF90lImofYh8GfjyUhiz1Hnq+TjKOToLNOLxXMuM6NFxAIsdFfNkklXaz/mhQom3ZYfMlkjwWz/vJ0BKk554bq4mfL71yBzgydvprSppI0qfHtEvVIR2OJy9HnPvOiHdh7aL1qOojC00zjj39PyIx8M61ovpOvJOVD0c2/vBr6Et5JGastULJq2ItzHyP6UNn4oZtinmXV061sNSOepVjEstHMLVytP87cmiMMiBeDncFV/Sl3y5w1l7rGFVn4lNr2XDMl0u+WnDbZ9n57qneAweeoYkS0tBDdcVzfhv6+RJd129NNtgJtk4fWkh387kOeAOPz+uqu6GNFgXRT/zmRI8sttMkyjSBQeKLTGkCDrboqlU1DZ2lyORiQ3P2yOdNeBTkDJFvdntYduHM7tzhTFUOoVaOn0aFK+zE+AwLkw1JJEvi4g1tVI+iKuDZd/Y=" - -matrix: - include: - - env: CUDA=9.2.148_396.37 - - env: CUDA=9.2.148_396.37 BUILD_CFFI=1 PYTHON=3.6 - - env: CUDA=9.2.148_396.37 BUILD_CFFI=1 PYTHON=3.5 - -before_install: - # install libboost - - sudo apt-get update -q - - sudo apt-get install -y libboost-all-dev - # install libcuda - - echo "deb http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1404/x86_64/ /" | sudo tee -a /etc/apt/sources.list.d/cuda.list - - sudo apt-key adv --fetch-keys http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1404/x86_64/7fa2af80.pub - - sudo apt-get update -q - - sudo apt-get install -y --no-install-recommends cuda-drivers=396.44-1 libcuda1-396 - # install gcc-5 - - echo "deb http://archive.ubuntu.com/ubuntu/ xenial main restricted" | sudo tee -a /etc/apt/sources.list - - echo "deb http://archive.ubuntu.com/ubuntu/ xenial-updates main restricted" | sudo tee -a /etc/apt/sources.list - - echo "deb http://security.ubuntu.com/ubuntu/ xenial-security main restricted" | sudo tee -a /etc/apt/sources.list - - sudo apt-get update -q - - sudo apt-get install -y gcc-5 g++-5 cpp-5 libisl15 libmpfr4 libstdc++-5-dev libgcc-5-dev libc6-dev - # set gcc/g++ paths - - export CC=/usr/bin/gcc-5 - - export CXX=/usr/bin/g++-5 - # install cuda - - source ./travisci/install-cuda-trusty.sh - # install miniconda - - travis_retry wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh - - chmod +x miniconda.sh - - ./miniconda.sh -b - - export PATH=$HOME/miniconda3/bin:$PATH - -install: - # check - - $CC --version - - $CXX --version - - nvcc --version - - conda --version - # install conda build and cmake - - conda install conda-build anaconda-client conda-verify cmake=3.12 --yes - -script: - # Activate root environment for cmake - - source activate root - # check conda versions - - conda list - # build ligdf - - source ./travisci/build_libgdf.sh - # build libgdf_cffi - - source ./travisci/build_libgdf_cffi.sh - -after_success: - - source ./travisci/upload.sh diff --git a/travisci/build_cudf.sh b/travisci/cudf/build_cudf.sh similarity index 71% rename from travisci/build_cudf.sh rename to travisci/cudf/build_cudf.sh index 8246d9cffcf..51d69287bd2 100755 --- a/travisci/build_cudf.sh +++ b/travisci/cudf/build_cudf.sh @@ -3,5 +3,5 @@ set -e if [ "$BUILD_CUDF" == "1" ]; then echo "Building cudf" export CUDF_BUILD_NO_GPU_TEST=1 - travis_retry conda build conda-recipes/cudf -c rapidsai -c nvidia -c numba -c conda-forge -c defaults --python=$PYTHON + travis_retry conda build conda/recipes/cudf -c rapidsai -c nvidia -c numba -c conda-forge -c defaults --python=$PYTHON fi diff --git a/travisci/upload-anaconda.sh b/travisci/cudf/upload-anaconda.sh similarity index 83% rename from travisci/upload-anaconda.sh rename to travisci/cudf/upload-anaconda.sh index 3972a1a141d..0e9aa05abb9 100755 --- a/travisci/upload-anaconda.sh +++ b/travisci/cudf/upload-anaconda.sh @@ -5,7 +5,7 @@ set -e if [ "$BUILD_CUDF" == "1" ]; then - export UPLOADFILE=`conda build conda-recipes/cudf -c defaults -c conda-forge -c numba -c rapidsai/label/dev --python=$PYTHON --output` + export UPLOADFILE=`conda build conda/recipes/cudf -c rapidsai -c nvidia -c numba -c conda-forge -c defaults --python=$PYTHON --output` SOURCE_BRANCH=master test -e ${UPLOADFILE} diff --git a/travisci/libcudf/build_libcudf.sh b/travisci/libcudf/build_libcudf.sh new file mode 100755 index 00000000000..6e2fd0e58fa --- /dev/null +++ b/travisci/libcudf/build_libcudf.sh @@ -0,0 +1,13 @@ +set -e + +# Patch tests for CUDA 10 skipping hash_map +## See https://github.com/rapidsai/libgdf/pull/149 +if [ ${CUDA:0:4} == '10.0' ]; then + echo "CUDA 10 detected, removing hash_map tests" + sed -i.bak 's/ConfigureTest(HASH_MAP_TEST "${HASH_MAP_TEST_SRC}")/#ConfigureTest(HASH_MAP_TEST "${HASH_MAP_TEST_SRC}")/g' ./cpp/modules/tests/CMakeLists.txt +fi + +if [ "$BUILD_LIBCUDF" == '1' -o "$BUILD_CFFI" == '1' ]; then + echo "Building libcudf" + travis_retry conda build conda/recipes/libcudf -c rapidsai -c nvidia -c numba -c conda-forge -c defaults +fi diff --git a/travisci/libcudf/build_libcudf_cffi.sh b/travisci/libcudf/build_libcudf_cffi.sh new file mode 100755 index 00000000000..4979dd72b4a --- /dev/null +++ b/travisci/libcudf/build_libcudf_cffi.sh @@ -0,0 +1,13 @@ +set -e + +# Patch tests for CUDA 10 skipping hash_map +## See https://github.com/rapidsai/libgdf/pull/149 +if [ ${CUDA:0:4} == '10.0' ]; then + echo "CUDA 10 detected, removing hash_map tests" + sed -i.bak 's/ConfigureTest(HASH_MAP_TEST "${HASH_MAP_TEST_SRC}")/#ConfigureTest(HASH_MAP_TEST "${HASH_MAP_TEST_SRC}")/g' ./cpp/modules/tests/CMakeLists.txt +fi + +if [ "$BUILD_CFFI" == '1' ]; then + echo "Building cudf_cpp_cffi" + travis_retry conda build conda/recipes/libcudf_cffi -c rapidsai -c nvidia -c numba -c conda-forge -c defaults --python=${PYTHON} +fi diff --git a/travisci/libgdf/install-cuda-trusty.sh b/travisci/libcudf/install-cuda-trusty.sh similarity index 100% rename from travisci/libgdf/install-cuda-trusty.sh rename to travisci/libcudf/install-cuda-trusty.sh diff --git a/travisci/libgdf/install-env-libgdf.sh b/travisci/libcudf/install-env-libcudf.sh similarity index 91% rename from travisci/libgdf/install-env-libgdf.sh rename to travisci/libcudf/install-env-libcudf.sh index cef14f6425c..fd85c35ede6 100644 --- a/travisci/libgdf/install-env-libgdf.sh +++ b/travisci/libcudf/install-env-libcudf.sh @@ -3,7 +3,7 @@ # Copyright (c) 2018, NVIDIA CORPORATION. set -e -if [ "$BUILD_LIBGDF" == "1" -o "$BUILD_CFFI" == "1" ]; then +if [ "$BUILD_LIBCUDF" == "1" -o "$BUILD_CFFI" == "1" ]; then # install libboost sudo apt-get update -q sudo apt-get install -y libboost-all-dev @@ -22,7 +22,7 @@ if [ "$BUILD_LIBGDF" == "1" -o "$BUILD_CFFI" == "1" ]; then export CC=/usr/bin/gcc-5 export CXX=/usr/bin/g++-5 # install cuda - source ./travisci/libgdf/install-cuda-trusty.sh + source ./travisci/libcudf/install-cuda-trusty.sh # check versions $CC --version $CXX --version diff --git a/travisci/libgdf/upload-anaconda.sh b/travisci/libcudf/upload-anaconda.sh similarity index 100% rename from travisci/libgdf/upload-anaconda.sh rename to travisci/libcudf/upload-anaconda.sh diff --git a/travisci/libcudf/upload.sh b/travisci/libcudf/upload.sh new file mode 100755 index 00000000000..dc13eb26f0a --- /dev/null +++ b/travisci/libcudf/upload.sh @@ -0,0 +1,23 @@ +#!/bin/bash +# +# Copyright (c) 2018, NVIDIA CORPORATION. + +set -e + +function upload() { + echo "UPLOADFILE = ${UPLOADFILE}" + test -e ${UPLOADFILE} + source ./travisci/libcudf/upload-anaconda.sh +} + +if [ "$BUILD_LIBCUDF" == "1" ]; then + # Upload libcudf + export UPLOADFILE=`conda build conda/recipes/libcudf -c defaults -c conda-forge --output` + upload +fi + +if [ "$BUILD_CFFI" == "1" ]; then + # Upload libcudf_cffi + export UPLOADFILE=`conda build conda/recipes/libcudf_cffi -c defaults -c conda-forge --python=${PYTHON} --output` + upload +fi diff --git a/travisci/libgdf/build_libgdf.sh b/travisci/libgdf/build_libgdf.sh deleted file mode 100755 index 1f83cfd4a2c..00000000000 --- a/travisci/libgdf/build_libgdf.sh +++ /dev/null @@ -1,13 +0,0 @@ -set -e - -# Patch tests for CUDA 10 skipping hash_map -## See https://github.com/rapidsai/libgdf/pull/149 -if [ ${CUDA:0:4} == '10.0' ]; then - echo "CUDA 10 detected, removing hash_map tests" - sed -i.bak 's/add_subdirectory(hash_map)/#add_subdirectory(hash_map)/g' ./libgdf/src/tests/CMakeLists.txt -fi - -if [ "$BUILD_LIBGDF" == '1' -o "$BUILD_CFFI" == '1' ]; then - echo "Building libgdf" - travis_retry conda build conda-recipes/libgdf -c rapidsai -c nvidia -c numba -c conda-forge -c defaults -fi diff --git a/travisci/libgdf/build_libgdf_cffi.sh b/travisci/libgdf/build_libgdf_cffi.sh deleted file mode 100755 index 07edb9e8478..00000000000 --- a/travisci/libgdf/build_libgdf_cffi.sh +++ /dev/null @@ -1,13 +0,0 @@ -set -e - -# Patch tests for CUDA 10 skipping hash_map -## See https://github.com/rapidsai/libgdf/pull/149 -if [ ${CUDA:0:4} == '10.0' ]; then - echo "CUDA 10 detected, removing hash_map tests" - sed -i.bak 's/add_subdirectory(hash_map)/#add_subdirectory(hash_map)/g' ./libgdf/src/tests/CMakeLists.txt -fi - -if [ "$BUILD_CFFI" == '1' ]; then - echo "Building libgdf_cffi" - travis_retry conda build conda-recipes/libgdf_cffi -c rapidsai -c nvidia -c numba -c conda-forge -c defaults --python=${PYTHON} -fi diff --git a/travisci/libgdf/upload.sh b/travisci/libgdf/upload.sh deleted file mode 100755 index 8f90d653759..00000000000 --- a/travisci/libgdf/upload.sh +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/bash -# -# Copyright (c) 2018, NVIDIA CORPORATION. - -set -e - -function upload() { - echo "UPLOADFILE = ${UPLOADFILE}" - test -e ${UPLOADFILE} - source ./travisci/libgdf/upload-anaconda.sh -} - -if [ "$BUILD_LIBGDF" == "1" ]; then - # Upload libgdf - export UPLOADFILE=`conda build conda-recipes/libgdf -c defaults -c conda-forge --output` - upload -fi - -if [ "$BUILD_CFFI" == "1" ]; then - # Upload libgdf_cffi - export UPLOADFILE=`conda build conda-recipes/libgdf_cffi -c defaults -c conda-forge --python=${PYTHON} --output` - upload -fi