Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions conda/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
#!/bin/sh

NPROC=`nproc`

git checkout tags/v0.87.5

mkdir build

cd build

cmake \
-DCMAKE_INSTALL_PREFIX="${PREFIX}" \
-DCMAKE_CXX_COMPILER="${PREFIX}/bin/g++" \
-DCMAKE_C_COMPILER="${PREFIX}/bin/gcc" \
-DCMAKE_Fortran_COMPILER="${PREFIX}/bin/gfortran" \
-DEL_USE_64BIT_INTS=ON \
-DEL_HAVE_QUADMATH=ON \
-DCMAKE_BUILD_TYPE=Release \
-DEL_HYBRID=OFF \
-DBUILD_SHARED_LIBS=ON \
-DMATH_LIBS="-L${PREFIX}/lib -lopenblas -lm" \
-DINSTALL_PYTHON_PACKAGE=ON \
-DEL_DISABLE_VALGRIND=ON \
-DEL_DISABLE_PARMETIS=ON \
..


make -j $NPROC

make install
41 changes: 41 additions & 0 deletions conda/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
package:
name: libelemental
version: "0.87.5"

source:
git_url: https://github.com/elemental/Elemental.git

build:
rpaths:
- lib/
- lib64/

extra:
channels:
- defaults
- conda-forge

requirements:
build:
- gcc >=4.8.5
- python >=2.7,<3
- openblas
- mpich2
- mpc
- git
- cmake >=2.8

run:
- libgcc
- python >=2.7,<3
- openblas
- mpich2
- mpc
- numpy
- matplotlib
- networkx

about:
home: http://libelemental.org
license: New BSD license
summary: 'C++ library for distributed memory linear algebra and optimization'