Skip to content

Commit

Permalink
Add homebrew-based build instructions for apple silicon
Browse files Browse the repository at this point in the history
  • Loading branch information
zatkins-work committed Jun 28, 2024
1 parent d10ee1c commit 60c916a
Show file tree
Hide file tree
Showing 2 changed files with 166 additions and 223 deletions.
128 changes: 128 additions & 0 deletions scripts/spack/configs/macos_sonoma_aarch64/spack.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@

spack:
# add package specs to the `specs` list
view: true
concretizer:
unify: true
packages:
all:
compiler: [clang, gcc]
providers:
blas: [netlib-lapack]
lapack: [netlib-lapack]
mpi: [openmpi]
mpi:
buildable: false
openmpi:
buildable: false
externals:
- spec: [email protected]_1
prefix: /opt/homebrew
netlib-lapack:
buildable: false
externals:
- spec: [email protected]
prefix: /opt/homebrew/opt/lapack
autoconf:
buildable: false
externals:
- spec: [email protected]
prefix: /opt/homebrew
automake:
buildable: false
externals:
- spec: [email protected]
prefix: /opt/homebrew
bzip2:
buildable: false
externals:
- spec: [email protected]
prefix: /opt/homebrew/opt/bzip2
cmake:
version: [3.29.6]
buildable: false
externals:
- spec: [email protected]
prefix: /opt/homebrew
gettext:
buildable: false
externals:
- spec: [email protected]
prefix: /opt/homebrew
graphviz:
buildable: false
externals:
- spec: [email protected]
prefix: /opt/homebrew
libtool:
buildable: false
externals:
- spec: [email protected]
prefix: /opt/homebrew
libx11:
buildable: false
externals:
- spec: [email protected]
prefix: /opt/homebrew
llvm:
version: [18.1.8]
buildable: false
externals:
- spec: [email protected]
prefix: /opt/homebrew/opt/llvm
m4:
buildable: false
externals:
- spec: [email protected]
prefix: /opt/homebrew/opt/m4
perl:
buildable: false
externals:
- spec: [email protected]~cpanm+opcode+open+shared+threads
prefix: /usr
pkg-config:
buildable: false
externals:
- spec: [email protected]_3
prefix: /opt/homebrew
python:
buildable: false
externals:
- spec: [email protected]+bz2+crypt+ctypes+dbm+lzma+nis+pyexpat~pythoncmd+readline+sqlite3+ssl~tkinter+uuid+zlib
prefix: /opt/homebrew/opt/python
tar:
buildable: false
externals:
- spec: [email protected]
prefix: /usr
readline:
buildable: false
externals:
- spec: [email protected]
prefix: /opt/homebrew
unzip:
buildable: false
externals:
- spec: [email protected]
prefix: /usr
zlib:
buildable: false
externals:
- spec: [email protected]
prefix: /opt/homebrew

compilers:
- compiler:
spec: clang@=18.1.8
paths:
cc: /opt/homebrew/opt/llvm/bin/clang
cxx: /opt/homebrew/opt/llvm/bin/clang++
f77: /opt/homebrew/bin/gfortran-14
fc: /opt/homebrew/bin/gfortran-14
flags: {}
operating_system: sonoma
target: aarch64
modules: []
environment: {}
extra_rpaths:
- /opt/homebrew/lib/gcc/14
Loading

0 comments on commit 60c916a

Please sign in to comment.