-
Notifications
You must be signed in to change notification settings - Fork 60
Closed
Description
Using the latest master (0e6de24), and the default Xcode (installed automatically by OS X if you first type gcc into a terminal), this profile builds (among other things, gcc):
$ cat hd_base.yaml
extends:
- file: osx.yaml
packages:
launcher:
blas:
use: host-osx-framework-accelerate
lapack:
use: host-osx-framework-accelerate
mpi:
use: mpich
python:
link: shared
swig:
build_with: |
perl
ipython:
nose:
numpy:
sphinx:
sympy:
gmp:
matplotlib:
doxygen:
breathe:
gcc:
git:
perl:
pyliblzma:
Once the hd_base profile is built, obtain it's path by:
$ ll hd_base
lrwxr-xr-x 1 certik staff 48 May 1 09:46 hd_base@ -> /Users/certik/.hashdist/bld/profile/px524wdzacsz
and then use the following profile to build Hashstack (use the path from above in PROLOGUE):
extends:
- file: osx.yaml
parameters:
# First line is copied from osx.yaml (we cannot append to PROLOGUE yet)
PROLOGUE: |
export MACOSX_DEPLOYMENT_TARGET=$(sw_vers -productVersion | sed -E "s/([0-9]+\.[0-9]+).*/\1/"); export PATH="/Users/certik/.hashdist/bld/profile/px524wdzacsz/bin:$PATH"; export CC=gcc CXX=g++ FC=gfortran
packages:
launcher:
blas:
use: host-osx-framework-accelerate
lapack:
use: host-osx-framework-accelerate
mpi:
use: mpich
python:
link: shared
swig:
build_with: |
perl
ipython:
nose:
numpy:
sphinx:
sympy:
gmp:
doxygen:
breathe:
perl:
pyliblzma:
git:
disable_crypto: true
csympy:
You need #743 in order for this to build. Then it builds nicely.
I will keep updating this issue with the latest progress. Eventually we'll make it an example in our examples directory and close this.
Metadata
Metadata
Assignees
Labels
No labels