Skip to content

Commit

Permalink
Merge branch 'master' into jsonrep
Browse files Browse the repository at this point in the history
  • Loading branch information
fredboudon authored Nov 17, 2020
2 parents 4c54e51 + 14a2656 commit 7146232
Show file tree
Hide file tree
Showing 7 changed files with 62 additions and 61 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ Now, you can build, then install PlantGL :
cmake .. -DCMAKE_INSTALL_PREFIX=${CONDA_PREFIX}
# Windows -> Visual Studio 2015 is required
cmake .. -G "Visual Studio 14 2015 Win64" -T host=x64 -DCMAKE_INSTALL_PREFIX=%CONDA_PREFIX%
cmake .. -G "NMake Makefiles" -DCMAKE_INSTALL_PREFIX=%LIBRARY_PREFIX% ..
cmake --build . --target install --config Release
Expand Down
15 changes: 6 additions & 9 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,15 @@ platform:
- x64

environment:
CONDA_RECIPE: conda
CONDA_VERSION: 3

matrix:
# Add here environement variables to control the Travis CI build
- CONDA_RECIPE: conda
CONDA_VERSION: 3
CONDA_PY: 37
- CONDA_RECIPE: conda
CONDA_VERSION: 3
CONDA_PY: 38
- CONDA_PY: 37
- CONDA_PY: 38
CONDA_NPY: 116
- CONDA_RECIPE: conda
CONDA_VERSION: 3
CONDA_PY: 39
- CONDA_PY: 39
CONDA_NPY: 119

install:
Expand Down
5 changes: 5 additions & 0 deletions build-util/compile-osx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ cmake -DCMAKE_INSTALL_PREFIX=${CONDA_PREFIX} \
-DOPENGL_gl_LIBRARY=/Users/fboudon/Develop/SDK/MacOSX10.9.sdk/System/Library/Frameworks/OpenGL.framework \
-DOPENGL_glu_LIBRARY=/Users/fboudon/Develop/SDK/MacOSX10.9.sdk/System/Library/Frameworks/OpenGL.framework \
-DBoost_DEBUG=ON \
-DCMAKE_IGNORE_PATH=/opt/local/lib \
-LAH ..

#cmake -DCMAKE_BUILD_TYPE=Release -DBoost_INCLUDE_DIR=/opt/local/include ..
Expand All @@ -15,3 +16,7 @@ make
make install
cd ..
python setup.py install

{

}
39 changes: 20 additions & 19 deletions build-util/plantgl-devel-win.yaml
Original file line number Diff line number Diff line change
@@ -1,29 +1,30 @@
name: plantgl-devel
channels:
- local
- defaults
- conda-forge
- openalea
- fredboudon
- msys2
- defaults
dependencies:
- python
- boost
- qt =5
- setuptools
- cmake
- numpy
- boost <=1.72
- qt
- pyqt
- ipython
- qtconsole
- pyopengl
- pyqglviewer
- nose
- m2-bison [win]
- m2-flex [win]
- libpng
- zlib
- qhull
- cgal-cpp
- gmp
- mpfr
- eigen
- ann
- menuinst
- patch
- setuptools
- openalea.deploy
- cmake >=3.12.0
- menuinst [win]
- ipython
- pyopengl
- pyqglviewer
- pytest
- m2-bison
- m2-flex
- scipy
- matplotlib
- matplotlib-base
40 changes: 19 additions & 21 deletions build-util/plantgl-devel.yaml
Original file line number Diff line number Diff line change
@@ -1,31 +1,29 @@
name: plantgl-devel
channels:
- local
- conda-forge
- fredboudon
- defaults
#- conda-forge
- openalea
- ethan13310
dependencies:
- python =3.7
- python
- setuptools
- cmake
- numpy
- boost
- qt =5
- qt
- pyqt
- ipython
- qtconsole
- pyopengl
#- pyqglviewer
- nose
- bison [unix]
- flex [unix]
- gmp [unix]
- mpfr [unix]
- cgal [unix]
- libpng
- zlib
- qhull
- cgal-cpp
- gmp
- mpfr
- eigen
- ann
- patch
- setuptools
- openalea.deploy
- cmake >=3.12.0
- ipython
- pyopengl
- pyqglviewer
- pytest
- bison
- flex
- scipy
- matplotlib
- matplotlib-base
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
@@ -1 +1 @@
conda build . -c conda-forge -c fredboudon --python=3.8 --numpy=1.16 | tee build.log
conda build . -c conda-forge -c fredboudon --python=3.7 --numpy=1.11 | tee build.log
20 changes: 10 additions & 10 deletions conda/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ requirements:

build:
- python {{PY_VER}}
- binutils_impl_linux-64 # [linux]
- binutils_impl_linux-64 # [linux]
- {{ compiler('cxx') }}
- bison # [unix]
- flex # [unix]
Expand All @@ -50,15 +50,15 @@ requirements:
- cmake
- pkg-config # [linux]
- make # [unix]
- {{ cdt('mesa-libgl-devel') }} # [linux]
- {{ cdt('mesa-dri-drivers') }} # [linux]
- {{ cdt('libxext') }} # [linux]
- {{ cdt('libselinux') }} # [linux]
- {{ cdt('libxdamage') }} # [linux]
- {{ cdt('libxfixes') }} # [linux]
- {{ cdt('libxxf86vm') }} # [linux]
- {{ cdt('libxcb') }} # [linux]
- {{ cdt('expat-devel') }} # [linux]
- {{ cdt('mesa-libgl-devel') }} # [linux]
- {{ cdt('mesa-dri-drivers') }} # [linux]
- {{ cdt('libxext') }} # [linux]
- {{ cdt('libselinux') }} # [linux]
- {{ cdt('libxdamage') }} # [linux]
- {{ cdt('libxfixes') }} # [linux]
- {{ cdt('libxxf86vm') }} # [linux]
- {{ cdt('libxcb') }} # [linux]
- {{ cdt('expat-devel') }} # [linux]

run:
- python {{PY_VER}}
Expand Down

0 comments on commit 7146232

Please sign in to comment.