Skip to content

Commit 3f675af

Browse files
committed
Merge branch 'mac_fixes' into stable/proteus
2 parents 01d4546 + 6f41242 commit 3f675af

File tree

16 files changed

+113
-88
lines changed

16 files changed

+113
-88
lines changed

examples/proteus.darwin.yaml

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ extends:
1212
- file: osx_clt.yaml
1313

1414

15-
# The packages list specifies all the packages that you
15+
# The packages list specifies all the packages that you
1616
# require installed. <#> will ensure that all packages
1717
# and their dependencies are installed when you build this
1818
# profile.
@@ -25,6 +25,7 @@ packages:
2525
version: '2.1'
2626
python:
2727
host: false
28+
link: shared
2829
build_with: |
2930
3031
blas:
@@ -33,7 +34,7 @@ packages:
3334
use: host-osx-framework-accelerate
3435
daetk:
3536
mpi:
36-
use: mpich
37+
use: openmpi
3738
mpi4py:
3839
nose:
3940
hdf5:
@@ -44,22 +45,23 @@ packages:
4445
ipython:
4546
matplotlib:
4647
petsc:
47-
version: 3.6.1
48+
version: 3.7.5
4849
build_with: |
49-
parmetis
50+
parmetis, cmake, suitesparse
5051
download: |
51-
superlu
52+
superlu, superlu_dist
5253
coptflags: -O2
5354
link: shared
5455
debug: false
5556
disable_fortran: true
5657
petsc4py:
57-
version: 3.6.0
58+
version: 3.7.0
5859
with_conf: true
5960
pillow:
6061
pytables:
62+
scorec:
6163
sphinx:
62-
superlu:
64+
#superlu:
6365
sympy:
6466
tetgen:
6567
triangle:
@@ -73,9 +75,12 @@ packages:
7375
python-netcdf4:
7476
h5py:
7577
ode:
78+
openblas:
7679
jupyter:
7780
functools:
7881
use: host-functools
7982
yaml:
8083
pytest:
81-
pytest-xdist:
84+
pytest-xdist:
85+
boost:
86+
toolset: darwin

osx_clt.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,5 @@ parameters:
55
platform: Darwin
66
fortran: false
77
PATH: /usr/bin:/bin:/usr/sbin:/sbin
8+
PROLOGUE: |
9+
export MACOSX_DEPLOYMENT_TARGET=$(sw_vers -productVersion | sed -E "s/([0-9]+\.[0-9]+).*/\1/")

pkgs/boost/boost.yaml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ dependencies:
77
build: [bzip2, mpi, zlib, {{build_with}}]
88

99
sources:
10-
- key: tar.bz2:oj5jgizc3fbipnrkxmn5fvaxepxminlk
11-
url: http://downloads.sourceforge.net/boost/boost_1_59_0.tar.bz2
10+
- key: tar.bz2:nbvp774ytlberd3zvf5zi6ppxhzkxlqd
11+
url: http://downloads.sourceforge.net/boost/boost_1_60_0.tar.bz2
1212

1313
build_stages:
1414
- name: bootstrap
@@ -17,14 +17,6 @@ build_stages:
1717
bash: |
1818
./bootstrap.sh --with-toolset={{toolset}} --prefix=${ARTIFACT}
1919
20-
- name: boost_1_55_fix_warnings
21-
before: bjam
22-
after: bootstrap
23-
handler: bash
24-
files: [boost_1_55_fix_warnings.patch]
25-
bash: |
26-
patch -p2 < _hashdist/boost_1_55_fix_warnings.patch
27-
2820
- name: set-address_model
2921
before: bjam
3022
handler: bash

pkgs/cmake.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ dependencies:
44
build: [zlib, bzip2, curl, openssl, libidn, expat, ncurses]
55

66
sources:
7-
- key: tar.gz:3j6mgtq44hmc4z5dfkyidqbmfbcvgtgy
8-
url: https://cmake.org/files/v3.4/cmake-3.4.2.tar.gz
7+
- key: tar.gz:zzozcyjznydfagya4uutg6brkcuhymyi
8+
url: https://cmake.org/files/v3.8/cmake-3.8.1.tar.gz
99

1010
build_stages:
1111
- when: platform == 'Darwin'

pkgs/doxygen/doxygen.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ sources:
77
- key: tar.gz:chw522awd5akqmsoig2jnhncxz67neew
88
url: https://github.com/doxygen/doxygen/archive/Release_1_8_13.tar.gz
99

10-
build_stages:
11-
- when: platform == 'Darwin'
12-
name: patch
13-
before: configure
14-
files: [libiconv_plug.patch]
15-
handler: bash
16-
bash: |
17-
patch -up1 < _hashdist/libiconv_plug.patch
10+
#build_stages:
11+
# - when: platform == 'Darwin'
12+
# name: patch
13+
# before: configure
14+
# files: [libiconv_plug.patch]
15+
# handler: bash
16+
# bash: |
17+
# patch -up1 < _hashdist/libiconv_plug.patch

pkgs/h5py.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ build_stages:
1414
before: install
1515
handler: bash
1616
bash: |
17-
export HDF5_VERSION='1.8.16'
17+
export HDF5_VERSION='1.8.13'
1818
export CC=${MPICC}
1919
export SETUPTOOLS_PACKAGE_EXTRA_OPTIONS="configure --mpi"
20+
#export HDF5_VERSION='1.8.16'

pkgs/hdf5/hdf5.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@ dependencies:
33
build: [mpi, zlib, szip]
44

55
sources:
6-
- key: tar.bz2:covk4w5bbnyhjhxbogebnjfux7vnrf6c
7-
url: http://www.hdfgroup.org/ftp/HDF5/releases/hdf5-1.8.16/src/hdf5-1.8.16.tar.bz2
8-
6+
- key: tar.bz2:yl22ieqqpk5g7gp5pjfj3nwol5p4qfy6
7+
url: https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.8.13/src/hdf5-1.8.13.tar.bz2
98
defaults:
109
# /bin/h5pcc contains hard-coded path
1110
relocatable: false
@@ -24,8 +23,8 @@ build_stages:
2423
after: configure
2524
before: make
2625
bash: |
27-
for f in {test,testpar,tools/*,perform,hl/*,hl/*/*}/Makefile
28-
do
26+
for f in {test,testpar,tools/*,perform,hl/*,hl/*/*}/Makefile
27+
do
2928
sed -i 's/CCLD = $(CC)/CCLD = $(CC) -static/g' $f
3029
done
3130
@@ -37,6 +36,7 @@ build_stages:
3736
'--enable-shared',
3837
'--enable-production=yes',
3938
'--enable-parallel=yes',
39+
'--enable-largefile=yes',
4040
'--with-default-api-version=v18']
4141

4242
- when: machine == 'CrayXE6'
@@ -49,6 +49,7 @@ build_stages:
4949
'--enable-shared',
5050
'--enable-production=yes',
5151
'--enable-parallel=yes',
52+
'--enable-largefile=yes',
5253
'--with-default-api-version=v18',
5354
'--with-pic']
5455

pkgs/mpich.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ build_stages:
1010
- when: not fortran
1111
name: configure
1212
mode: update
13-
extra: ['--disable-f77', '--disable-fc']
13+
extra: ['--disable-f77', '--disable-fc', '--disable-fortran']
1414

1515
sources:
1616
- key: tar.gz:a54gpgtlne6xw7fp6n77tuufnxbl7rit

pkgs/openmpi.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
extends: [autotools_package]
22

33
sources:
4-
- url: http://www.open-mpi.org/software/ompi/v1.6/downloads/openmpi-1.6.5.tar.bz2
5-
key: tar.bz2:7y33voe3l3zdjyfmqlohtaucykvqreal
4+
- url: https://www.open-mpi.org/software/ompi/v1.10/downloads/openmpi-1.10.6.tar.bz2
5+
key: tar.bz2:mvqgdbfaqsqo3jqqfma6li3kr4bnggk5
66

77
defaults:
88
# lib/openmpi/mca_carto_auto_detect.la contains hard-coded path

pkgs/parmetis/parmetis.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ defaults:
1111
# lib/libmetis.so contains hard-coded path
1212
relocatable: false
1313
# Skip build-time tests (not recommended)
14-
without_check: false
14+
without_check: platform != "Darwin"
1515

1616
build_stages:
1717
- name: setup_builddir

0 commit comments

Comments
 (0)