Skip to content

Commit 0961cab

Browse files
committed
BLD: caching update 2
1 parent 257217f commit 0961cab

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

ci/install.sh

+6-4
Original file line numberDiff line numberDiff line change
@@ -145,13 +145,15 @@ if [ -n "$FULL_DEPS" ]; then
145145
fi
146146

147147

148-
# build and install pandas
148+
# set the compiler cache to work
149+
export PATH=/usr/lib/ccache:/usr/lib64/ccache:$PATH
150+
which gcc
151+
152+
# build pandas
149153
time python setup.py sdist
150154
pip uninstall cython -y
151155

152-
export PATH=/usr/lib/ccache:/usr/lib64/ccache:$PATH
153-
which gcc
154-
ccache -z
156+
# install pandas
155157
time pip install $(find dist | grep gz | head -n 1)
156158

157159
# restore cython (if not numpy building)

ci/prep_ccache.sh

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#!/bin/bash
22

33
if [ "$IRON_TOKEN" ]; then
4+
5+
# install the compiler cache
46
sudo apt-get $APT_ARGS install ccache p7zip-full
57
# iron_cache, pending py3 fixes upstream
68
pip install -I --allow-external --allow-insecure git+https://github.com/iron-io/iron_cache_python.git@8a451c7d7e4d16e0c3bedffd0f280d5d9bd4fe59#egg=iron_cache

0 commit comments

Comments
 (0)