forked from rapidsai/cudf
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request rapidsai#14 from sklam/condarecipe
Add conda recipes
- Loading branch information
Showing
6 changed files
with
105 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
CMAKE_COMMON_VARIABLES=" -DCMAKE_INSTALL_PREFIX=$PREFIX -DCMAKE_BUILD_TYPE=Release" | ||
|
||
|
||
if [ -n "$MACOSX_DEPLOYMENT_TARGET" ]; then | ||
# C++11 requires 10.9 | ||
# but cudatoolkit 8 is build for 10.11 | ||
export MACOSX_DEPLOYMENT_TARGET=10.11 | ||
fi | ||
|
||
# Use CMake-based build procedure | ||
mkdir build | ||
cd build | ||
# configure | ||
cmake $CMAKE_COMMON_VARIABLES .. | ||
# build | ||
make 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# Usage: | ||
# conda build -c defaults -c conda-forge . | ||
package: | ||
name: libgdf | ||
version: {{ environ.get('GIT_DESCRIBE_TAG', '0.0.0.dev').lstrip('v') }} | ||
|
||
source: | ||
git_url: ../.. | ||
|
||
build: | ||
number: {{ environ.get('GIT_DESCRIBE_NUMBER', 0) }} | ||
|
||
requirements: | ||
# use channel: | ||
# - defaults | ||
# - conda-forge | ||
build: | ||
- cmake | ||
- flatbuffers | ||
|
||
test: | ||
commands: | ||
- test -f $PREFIX/include/gdf/gdf.h # [unix or osx] | ||
- test -f $PREFIX/lib/libgdf.dylib # [osx] | ||
|
||
about: | ||
home: http://gpuopenanalytics.com/ | ||
license: Apache | ||
# license_file: LICENSE | ||
summary: GPU Dataframe core library |
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,19 @@ | ||
# CMAKE_COMMON_VARIABLES=" -DCMAKE_INSTALL_PREFIX=$PREFIX -DCMAKE_BUILD_TYPE=Release" | ||
|
||
|
||
# if [ -n "$MACOSX_DEPLOYMENT_TARGET" ]; then | ||
# # C++11 requires 10.9 | ||
# # but cudatoolkit 8 is build for 10.11 | ||
# export MACOSX_DEPLOYMENT_TARGET=10.11 | ||
# fi | ||
|
||
# Use CMake-based build procedure | ||
mkdir build | ||
cd build | ||
# configure | ||
cmake .. | ||
# build | ||
make copy_python | ||
# install | ||
python setup.py install --single-version-externally-managed --record=record.txt | ||
|
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,32 @@ | ||
package: | ||
name: libgdf_cffi | ||
version: {{ environ.get('GIT_DESCRIBE_TAG', '0.0.0.dev').lstrip('v') }} | ||
|
||
source: | ||
git_url: ../.. | ||
|
||
build: | ||
number: {{ environ.get('GIT_DESCRIBE_NUMBER', 0) }} | ||
|
||
requirements: | ||
# use channel: | ||
# - defaults | ||
build: | ||
- cmake | ||
- python x.x | ||
- cffi | ||
- setuptools | ||
run: | ||
- libgdf | ||
- python x.x | ||
- cffi | ||
|
||
test: | ||
commands: | ||
- python -c "import libgdf_cffi" | ||
|
||
about: | ||
home: http://gpuopenanalytics.com/ | ||
license: Apache | ||
# license_file: LICENSE | ||
summary: GPU Dataframe core library |
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