Skip to content
This repository has been archived by the owner on Apr 10, 2024. It is now read-only.

Commit

Permalink
conda create with env path
Browse files Browse the repository at this point in the history
Change-Id: I73d8cbfa3760942a0f737afcb1c123fc7db39cb6
  • Loading branch information
wesm committed Oct 17, 2016
1 parent af44d4d commit 5986e72
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions scripts/circleci_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ CONDARC
)

ENV_NAME=pandas-test
ENV_PATH=/root/pandas-test
REQUIREMENTS="numpy cython cmake boost arrow-cpp pytz python-dateutil"

cat << EOF | docker run -i \
Expand All @@ -37,7 +38,7 @@ echo "$config" > ~/.condarc
# A lock sometimes occurs with incomplete builds. The lock file is stored in build_artefacts.
conda clean --lock
conda create -y -q -n $ENV_NAME python=3.5
conda create -y -q -p $ENV_PATH -n $ENV_NAME python=3.5
source activate $ENV_NAME
conda install --yes --quiet conda-forge-build-setup
Expand All @@ -48,8 +49,8 @@ conda install -y -q $REQUIREMENTS
mkdir test-build
cd test-build
export ARROW_HOME=~/.conda/envs/$ENV_NAME
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:~/.conda/envs/$ENV_NAME/lib
export ARROW_HOME=$ENV_PATH
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ENV_PATH/lib
cmake /root_dir || exit 1
make -j4 || exit 1
Expand Down

0 comments on commit 5986e72

Please sign in to comment.