Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conda release setup #66

Merged
merged 8 commits into from
Nov 18, 2019
Merged

Conversation

AjayThorve
Copy link
Member

  • Added setup files and conda recipes

Comment on lines +127 to +128
cd ${REPODIR}/../cuDataShader
python setup.py install --single-version-externally-managed --record=record.txt
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would cd back to $REPODIR after this installation. I'm also unsure how this will act in a conda build environment, but we can leave it as is and see.

build.sh Outdated
# script, and that this script resides in the repo dir!
REPODIR=$(cd $(dirname $0); pwd)

VALIDARGS="clean cuXfilter -v -g -n --allgpuarch -h"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All lowercase args

build.sh Outdated
--allgpuarch - build for all supported GPU architectures
-h - print this text
"
CUXFILTER_BUILD_DIR=${REPODIR}/python/cuXfilter/build
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All lower case directories as well. Should change the python folder name to all lower in the repo as well.

ci/cpu/build.sh Outdated
################################################################################

logger "Build conda pkg for cuxfilter..."
source ci/cpu/cuxfilter/build_cuXfilter.sh
Copy link
Contributor

@dillon-cullinan dillon-cullinan Nov 15, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lowercase script names.

@@ -0,0 +1,15 @@
#!/usr/bin/env bash

#Upload cudf once per PYTHON
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cudf --> cuxfilter

Comment on lines 10 to 15
#Upload libcudf once per CUDA
if [[ "$PYTHON" == "3.6" ]]; then
export UPLOAD_LIBCUDF=1
else
export UPLOAD_LIBCUDF=0
fi
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This block is unneeded as you are python only.

ci/gpu/build.sh Outdated

cd $WORKSPACE/python/cuXfilter/tests
logger "Python py.test for cuXfilter..."
py.test --cache-clear --junitxml=${WORKSPACE}/junit-cuXfilter.xml -v --cov-config=.coveragerc --cov=cuXfilter --cov-report=xml:${WORKSPACE}/python/cuXfilter/cuXfilter-coverage.xml --cov-report term
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All of the -cov arguments should be removed, they require CodeCov integration to do anything. Everything up to the -v stays, the rest should be deleted.

# Copyright (c) 2018-2019, NVIDIA CORPORATION.

# This assumes the script is executed from the root of the repo directory
./build.sh cudf
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should build cuxfilter and cudatashader here. Also folder name to all lowercase.

- setuptools
run:
- python
- cudf=0.10
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- cudf=0.10
- cudf {{ minor_version }}

- renaming package/folder names to lowercase versions
- typos
- pytest command update to remove codecov as it's not integrated yet
@AjayThorve
Copy link
Member Author

AjayThorve commented Nov 15, 2019

Hey @dillon-cullinan, I have updated the files as per the requested changes. CuDatashader build path is still not all lowercase though, as the repo name itself is not all lower, and I believe I don't have the privileges to update that. Apart from that, I have updated everything else.

- nbsphinx
- numpydoc
- ipython
- altair
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we still need altair?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will remove it

@AjayThorve AjayThorve merged commit 315ba8b into rapidsai:branch-0.11 Nov 18, 2019
@jameslamb jameslamb mentioned this pull request Jun 18, 2024
rapids-bot bot pushed a commit that referenced this pull request Jun 24, 2024
Contributes to rapidsai/build-planning#31

Removes `.gitattributes` files.

These were added in #66 for use with `versioneer`. Per the `git` docs ([link](https://git-scm.com/docs/gitattributes#_export_subst)), setting the attribute `export-subst` on a file via a `.gitattributes` tell `git` to replace placeholders in the file with some `git` information.

This is no longer done in `_version.py` files in this project, and this project no longer uses `versioneer` (#497). `rapids-build-backend` handles storing git commit information in the published packages.

## Notes for Reviewers

For more details, see rapidsai/build-planning#31 (comment)

Authors:
  - James Lamb (https://github.com/jameslamb)

Approvers:
  - Mike Sarahan (https://github.com/msarahan)
  - Ajay Thorve (https://github.com/AjayThorve)

URL: #603
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants