Skip to content

Commit 30150cb

Browse files
committed
Merge remote-tracking branch 'ssh/master'
2 parents b226d41 + d978b36 commit 30150cb

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+728
-287
lines changed

base/cmake_package.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ def configure(ctx, stage_args):
3434
else:
3535
conf_lines.append('-DCMAKE_BUILD_TYPE:STRING=Release')
3636

37+
if ctx.parameters['platform'] == 'Darwin':
38+
conf_lines.append('-DCMAKE_OSX_DEPLOYMENT_TARGET:STRING=""')
39+
3740
#cmake needs to be given all the dependency dirs as prefix paths
3841
#so that we search the hashdist directories before the system directories
3942
#CMake doesn't use the CPPFLAGS implicitly to find libraries

base/setuptools_package.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ build_stages:
2222
handler: bash
2323
bash: |
2424
${PYTHON} -c 'import setuptools; __file__="setup.py"; exec(open(__file__).read())' \
25+
${SETUPTOOLS_PACKAGE_EXTRA_OPTIONS} \
2526
install \
2627
--prefix=. --root=${ARTIFACT} \
2728
--single-version-externally-managed

examples/hd_base.Darwin.yaml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# This profile builds with the default clang compiler on Mac OS X 10.10
2+
# Yosemite. In particular it builds gcc (g++, gcc, gfortran). This profile can
3+
# then be used as a base for building the rest of Hashstack.
4+
5+
extends:
6+
- file: config.yaml
7+
8+
parameters:
9+
platform: Darwin
10+
fortran: false
11+
PATH: /usr/bin:/bin:/usr/sbin:/sbin
12+
PROLOGUE: |
13+
export MACOSX_DEPLOYMENT_TARGET=$(sw_vers -productVersion | sed -E "s/([0-9]+\.[0-9]+).*/\1/")
14+
15+
packages:
16+
17+
launcher:
18+
blas:
19+
use: host-osx-framework-accelerate
20+
lapack:
21+
use: host-osx-framework-accelerate
22+
mpi:
23+
use: mpich
24+
python:
25+
link: shared
26+
swig:
27+
build_with: |
28+
perl
29+
ipython:
30+
nose:
31+
numpy:
32+
sphinx:
33+
sympy:
34+
gmp:
35+
matplotlib:
36+
doxygen:
37+
breathe:
38+
gcc:
39+
git:
40+
perl:
41+
pyliblzma:

examples/proteus.Darwin.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ packages:
4444
debug: false
4545
petsc4py:
4646
with_conf: true
47+
pillow:
4748
pytables:
4849
sphinx:
4950
superlu:

examples/proteus.linux2.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ packages:
4343
debug: false
4444
petsc4py:
4545
with_conf: true
46+
pillow:
4647
pytables:
4748
sphinx:
4849
superlu:

pkgs/Tempita.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
extends: [setuptools_package]
2+
3+
dependencies:
4+
build: []
5+
run: []
6+
7+
sources:
8+
- key: tar.gz:ha4sxnyiueasqqm7ox5jcifg2lencnyb
9+
url: https://pypi.python.org/packages/source/T/Tempita/Tempita-0.5.3dev.tar.gz

pkgs/ansible.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ dependencies:
55
run: [paramiko, jinja2, yaml]
66

77
sources:
8-
- key: tar.gz:2n6ajm5lz2nqg2tmqmi7zszwbrolypwi
9-
url: https://pypi.python.org/packages/source/a/ansible/ansible-1.8.4.tar.gz
8+
- key: tar.gz:wimt7wneaynlmjh2m4yrpfsbtj2z3ydl
9+
url: https://pypi.python.org/packages/source/a/ansible/ansible-1.9.0.1.tar.gz
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
extends: [setuptools_package]
2+
3+
sources:
4+
- key: tar.gz:a5aq475qtkvxxwxv4ymn4zwd3lee4lr5
5+
url: https://pypi.python.org/packages/source/b/backports.ssl_match_hostname/backports.ssl_match_hostname-3.4.0.2.tar.gz

pkgs/bddc.yaml

Lines changed: 30 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,42 @@ dependencies:
33
build: [mpi, lapack, mumps, blopex, parmetis, scalapack]
44

55
sources:
6-
- url: https://github.com/certik/bddc.git
7-
key: git:3d6cfa120682be5925861c022bd3a3f2c5d77940
6+
- key: git:acd093697417f49ec856b69e2d8b442e5adbbe85
7+
url: https://github.com/certik/bddc.git
8+
9+
defaults:
10+
# Build in Debug mode (debug symbols, bounds checks, ...)
11+
debug: false
812

913
build_stages:
1014

15+
- when: debug
16+
name: debug-flags
17+
after: prologue
18+
before: make-configure
19+
handler: bash
20+
bash: |
21+
FFLAGS="-g -C -Wall -fbounds-check"
22+
CFLAGS="-g -Wall"
23+
24+
- when: not debug
25+
name: debug-flags
26+
after: prologue
27+
before: make-configure
28+
handler: bash
29+
bash: |
30+
FFLAGS="-C -Wall -O3 -march=native -ffast-math -funroll-loops"
31+
CFLAGS="-Wall -O3 -march=native -ffast-math -funroll-loops"
32+
1133
- name: make-configure
1234
after: prologue
1335
handler: bash
1436
bash: |
1537
cp make.inc.example make.inc
1638
make \
1739
BDDCML_ROOT=$ARTIFACT \
40+
BDDCML_MPFFLAGS="$FFLAGS" \
41+
BDDCML_MPCFLAGS="$CFLAGS" \
1842
BDDCML_INCPARMETIS=-I$PARMETIS_DIR/include \
1943
BDDCML_LIBPARMETIS="-L$PARMETIS_DIR/lib -Wl,-rpath=${PARMETIS_DIR}/lib -lparmetis" \
2044
BDDCML_INCMETIS= \
@@ -27,7 +51,9 @@ build_stages:
2751
BDDCML_LIBSCALAPACK="-L$SCALAPACK_DIR/lib -Wl,-rpath=${SCALAPACK_DIR}/lib -lscalapack" \
2852
BDDCML_LIBLAPACK="-L$LAPACK_DIR/lib -Wl,-rpath=${LAPACK_DIR}/lib -llapack" \
2953
BDDCML_LIBBLAS="-lblas" \
30-
BDDCML_LIBBLACS=
31-
mkdir -p $ARTIFACT/bin
54+
BDDCML_LIBBLACS= \
55+
-j 1 # The BDDC's makefile system doesn't work in parallel
56+
mkdir -p $ARTIFACT/bin $ARTIFACT/include
57+
cp src/bddcml_interface_fortran.mod $ARTIFACT/include/
3258
cd examples
3359
cp bddcml_global bddcml_local poisson_on_cube $ARTIFACT/bin/

pkgs/boost/boost.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ build_stages:
9191
after: bjam
9292
handler: bash
9393
bash: |
94-
for lib in ${ARTIFACT}/lib/*.so; do
94+
for lib in ${ARTIFACT}/lib/*.so.*; do
9595
${PATCHELF} --set-rpath ${ARTIFACT}/lib:${BZIP2_DIR}/lib:${ZLIB_DIR}/lib ${lib}
9696
done
9797

0 commit comments

Comments
 (0)