Skip to content

Commit

Permalink
Update to ROOT v6.20.04_1 and previously used approach of downloading…
Browse files Browse the repository at this point in the history
… the tar ball
  • Loading branch information
clelange authored and AndreasAlbert committed Apr 30, 2020
1 parent 121bef9 commit bbca301
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,14 @@ jobs:
- uses: actions/checkout@v2
- name: Test with pytest
run: |
ROOT_VERSION=6.20.04_1
brew update
brew install root
# brew cask uninstall --force oclint
# brew upgrade python cmake libpng libtiff
# brew install --force ossp-uuid davix fftw fontconfig gd graphviz gsl lz4 tbb xrootd
# curl -O https://clange.web.cern.ch/clange/root-v6.18.00.tar.gz
# tar xzf root-v6.18.00.tar.gz
# mkdir -p /usr/local/Cellar/root
# mv 6.18.00 /usr/local/Cellar/root/
ROOT_CELLAR=$(brew --cellar root)
ROOT_PATH=${ROOT_CELLAR}/$(ls ${ROOT_CELLAR})
cd ${ROOT_PATH}
brew install fontconfig gd gettext libffi glib jasper netpbm gts graphviz gsl libxml2 openblas numpy tbb xrootd
curl -O https://clange.web.cern.ch/clange/root-v${ROOT_VERSION}.tar.gz
tar xzf root-v${ROOT_VERSION}.tar.gz
mkdir -p /usr/local/Cellar/root
mv ${ROOT_VERSION} /usr/local/Cellar/root/
cd /usr/local/Cellar/root/${ROOT_VERSION}
export PATH=${PWD}/bin:${PATH}
export PYTHONPATH=${PWD}/lib/root:${PYTHONPATH}
export LD_LIBRARY_PATH=${PWD}/lib/root:${LD_LIBRARY_PATH}
Expand Down

0 comments on commit bbca301

Please sign in to comment.