Skip to content
This repository has been archived by the owner on Jun 24, 2020. It is now read-only.

Commit

Permalink
Several portability changes
Browse files Browse the repository at this point in the history
Added compilers and boost explicit paths, using
new version of VTK which depends on mesa (see
ContinuumIO/anaconda-issues#483 (comment))
  • Loading branch information
astrojuanlu committed Oct 20, 2015
1 parent 98fdeae commit d53af6e
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 7 deletions.
14 changes: 12 additions & 2 deletions dolfin/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,31 @@
mkdir build
cd build

CC=$PREFIX/bin/cc
CXX=$PREFIX/bin/c++

export LIBRARY_PATH=$PREFIX/lib
export INCLUDE_PATH=$PREFIX/include

export BLAS_DIR=$LIBRARY_PATH
export AMD_DIR=$SP_DIR/petsc
export UMFPACK_DIR=$SP_DIR/petsc

cmake .. \
-DCMAKE_C_COMPILER=$CC \
-DCMAKE_CXX_COMPILER=$CXX \
\
-DCMAKE_INSTALL_PREFIX=$PREFIX \
-DCMAKE_INCLUDE_PATH=$INCLUDE_PATH \
-DCMAKE_LIBRARY_PATH=$LIBRARY_PATH \
\
-DBoost_INCLUDE_DIR=$INCLUDE_PATH \
-DBoost_LIBRARY_DIRS=$LIBRARY_PATH \
-DBoost_FILESYSTEM_LIBRARY=$LIBRARY_PATH/libboost_filesystem.so \
\
-DMPI_C_LIBRARIES=$LIBRARY_PATH/libmpich.so \
-DMPI_C_INCLUDE_PATH=$INCLUDE_PATH \
-DMPI_CXX_LIBRARIES=$LIBRARY_PATH/libmpichcxx.so \
-DMPI_CXX_INCLUDE_PATH=$INCLUDE_PATH \
-DMPI_Fortran_LIBRARIES=$LIBRARY_PATH/libmpichf90.so \
-DMPI_Fortran_INCLUDE_PATH=$INCLUDE_PATH

make install
10 changes: 5 additions & 5 deletions dolfin/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ source:
md5: 35cb4baf7ab4152a40fb7310b34d5800

build:
number: 4
number: 5

requirements:
build:
Expand All @@ -19,23 +19,23 @@ requirements:
- libxml2
- swig ==3.0.7
- numpy
- vtk <=5.10.1
- vtk
- qt
- ffc ==1.6.0
- ply
- boost
- eigen3
- petsc <=3.6.2
- petsc4py <=3.6.0
- slepc <=3.5.4
- slepc <=3.6.2

run:
- python
- mkl
- libxml2
- swig ==3.0.7
- numpy
- vtk <=5.10.1
- vtk
- qt
- ffc ==1.6.0
- ufl ==1.6.0
Expand All @@ -44,7 +44,7 @@ requirements:
- eigen3
- petsc <=3.6.2
- petsc4py <=3.6.0
- slepc <=3.5.4
- slepc <=3.6.2

test:
imports:
Expand Down

0 comments on commit d53af6e

Please sign in to comment.