mirror of
https://github.com/apache/arrow.git
synced 2026-10-29 00:56:31 +08:00
Install parquet-cpp via conda
This commit is contained in:
1 parent
5d4929ad0a
commit
b505feba76
3 files changed
+31
-21
No files matched your search
@@ -2,6 +2,10 @@
|
||||
|
||||
set -e
|
||||
|
||||
source $TRAVIS_BUILD_DIR/ci/travis_install_conda.sh
|
||||
conda install -y --channel apache/channel/dev parquet-cpp
|
||||
export PARQUET_HOME=$MINICONDA
|
||||
|
||||
: ${CPP_BUILD_DIR=$TRAVIS_BUILD_DIR/cpp-build}
|
||||
|
||||
mkdir $CPP_BUILD_DIR
|
||||
|
||||
@@ -2,27 +2,7 @@
|
||||
|
||||
set -e
|
||||
|
||||
if [ $TRAVIS_OS_NAME == "linux" ]; then
|
||||
MINICONDA_URL="https://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh"
|
||||
else
|
||||
MINICONDA_URL="https://repo.continuum.io/miniconda/Miniconda-latest-MacOSX-x86_64.sh"
|
||||
fi
|
||||
|
||||
wget -O miniconda.sh $MINICONDA_URL
|
||||
MINICONDA=$TRAVIS_BUILD_DIR/miniconda
|
||||
bash miniconda.sh -b -p $MINICONDA
|
||||
export PATH="$MINICONDA/bin:$PATH"
|
||||
conda update -y -q conda
|
||||
conda info -a
|
||||
|
||||
conda config --set show_channel_urls yes
|
||||
conda config --add channels conda-forge
|
||||
conda config --add channels apache
|
||||
|
||||
conda install --yes conda-build jinja2 anaconda-client
|
||||
|
||||
# faster builds, please
|
||||
conda install -y nomkl
|
||||
source $TRAVIS_BUILD_DIR/ci/travis_install_conda.sh
|
||||
|
||||
# Build libarrow
|
||||
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
if [ $TRAVIS_OS_NAME == "linux" ]; then
|
||||
MINICONDA_URL="https://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh"
|
||||
else
|
||||
MINICONDA_URL="https://repo.continuum.io/miniconda/Miniconda-latest-MacOSX-x86_64.sh"
|
||||
fi
|
||||
|
||||
wget -O miniconda.sh $MINICONDA_URL
|
||||
export MINICONDA=$TRAVIS_BUILD_DIR/miniconda
|
||||
bash miniconda.sh -b -p $MINICONDA
|
||||
export PATH="$MINICONDA/bin:$PATH"
|
||||
conda update -y -q conda
|
||||
conda info -a
|
||||
|
||||
conda config --set show_channel_urls yes
|
||||
conda config --add channels conda-forge
|
||||
conda config --add channels apache
|
||||
|
||||
conda install --yes conda-build jinja2 anaconda-client
|
||||
|
||||
# faster builds, please
|
||||
conda install -y nomkl
|
||||
|
||||
Reference in new issue
Block a user