-
Notifications
You must be signed in to change notification settings - Fork 916
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor travisci tooling for new libcudf and build processes
- Loading branch information
Keith Kraus
committed
Nov 8, 2018
1 parent
9b078a4
commit 5c43f8d
Showing
21 changed files
with
103 additions
and
154 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
$PYTHON setup.py build_ext --inplace | ||
$PYTHON setup.py install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.