Skip to content

Commit

Permalink
OpenMP support for parallel trees execution
Browse files Browse the repository at this point in the history
  • Loading branch information
mwojcikowski committed Nov 19, 2016
1 parent a537956 commit f79a2f1
Show file tree
Hide file tree
Showing 8 changed files with 17,729 additions and 1,880 deletions.
23 changes: 17 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,27 @@
sudo: false
language: python
python:
- "2.7"
- "3.5"
language: c
compiler:
- gcc
- clang
os:
- osx
- linux
env:
matrix:
- CONDA_PY=2.7
- CONDA_PY=3.5
before_install:
- wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
- ulimit -n 2048
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then CONDA_FLAVOUR='Linux'; else CONDA_FLAVOUR='MacOSX'; fi;
- wget http://repo.continuum.io/miniconda/Miniconda-latest-${CONDA_FLAVOUR}-x86_64.sh -O miniconda.sh;
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- conda update --yes conda
- conda create --name test_env --yes python=$TRAVIS_PYTHON_VERSION
- conda create --name test_env --yes python=$CONDA_PY
- source activate test_env
- if [[ "$CC" == "gcc" && "$TRAVIS_OS_NAME" == "osx" ]]; then CC=gcc-4.9; CXX=g++-4.9; fi;
- conda install --yes scipy nose scikit-learn joblib six
- $CC --version
install:
- python setup.py build_ext --inplace
- pip install coverage codecov
Expand Down
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ install:
- conda install -q six numpy scikit-learn joblib nose
- conda install -q -c mwojcikowski mingwpy dlfcn
- pip install coverage codecov
- set "CXX=gcc -pthread"
- set "CXX=g++ -pthread"
- python setup.py build_ext --inplace --compiler=mingw32 -llibdl

build: false
Expand Down
Loading

0 comments on commit f79a2f1

Please sign in to comment.