File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ extends : [cmake_package]
2+ dependencies :
3+ build : [mpi, parmetis, zoltan]
4+
5+ sources :
6+ - key : git:1d2f5438d3dff3f1120649577bb2a05f9ac8c556
7+ url : https://github.com/SCOREC/core.git
8+
9+ defaults :
10+ relocatable : false
11+
12+ build_stages :
13+
14+ - name : setup_builddir
15+ after : prologue
16+ handler : bash
17+ bash : |
18+ mkdir -p _build
19+ cd _build
20+
21+ - name : configure
22+ extra : [
23+ ' -DCMAKE_C_COMPILER=${MPICC}' ,
24+ ' -DCMAKE_CXX_COMPILER=${MPICXX}' ,
25+ ' -DENABLE_ZOLTAN=ON' ,
26+ ' -DMETIS_LIBRARY=${PARMETIS_DIR}/lib/libmetis.so' ,
27+ ' -DPARMETIS_LIBRARY=${PARMETIS_DIR}/lib/libparmetis.so' ,
28+ ' -DPARMETIS_INCLUDE_DIR=${PARMETIS_DIR}/include' ,
29+ ' -DZOLTAN_LIBRARY=${ZOLTAN_DIR}/lib/libzoltan.a' ,
30+ ' -DZOLTAN_INCLUDE_DIR=${ZOLTAN_DIR}/include' ,
31+ ' -DBUILD_SHARED_LIBS=True' ,
32+ ' -DSIM_MPI=mpich2' ,
33+ ]
34+
Original file line number Diff line number Diff line change 1+ extends : [autotools_package]
2+ dependencies :
3+ build : [mpi, {{build_with}}]
4+
5+ sources :
6+ - key : tar.gz:lpoumvepxhdtwis3xtz5ebwfldbrrszj
7+ url : http://www.cs.sandia.gov/~kddevin/Zoltan_Distributions/zoltan_distrib_v3.8.tar.gz
8+
9+ defaults :
10+ # include/Makefile.export.zoltan.macros
11+ relocatable : false
12+
13+ build_stages :
14+
15+ - name : setup_builddir
16+ after : prologue
17+ handler : bash
18+ bash : |
19+ mkdir -p _build
20+ cd _build
21+
22+ - name : setEnv
23+ after : setup_builddir
24+ handler : bash
25+ bash : |
26+ export MPI_DIR=$(dirname $(dirname $MPICC) )
27+ export LD_LIBRARY_PATH=${MPI_DIR}/lib
28+
29+ - name : configure
30+ after : setEnv
31+ configure_path : " .."
32+ extra : ['--with-cflags=-fPIC', '--with-cxxflags=-fPIC']
You can’t perform that action at this time.
0 commit comments