File tree Expand file tree Collapse file tree 1 file changed +24
-13
lines changed Expand file tree Collapse file tree 1 file changed +24
-13
lines changed Original file line number Diff line number Diff line change @@ -47,37 +47,48 @@ jobs:
4747 if : ${{ contains(matrix.os, 'ubuntu') }}
4848 run : >
4949 sudo apt-get update &&
50+ sudo apt-get install lsb-release wget software-properties-common &&
5051 sudo apt-get install
5152 ccache
52- clang-15
53- g++-12
53+ clang
54+ g++
5455 hdf5-tools
5556 libblas-dev
56- libc++-15- dev
57- libc++abi-15- dev
58- libomp-15- dev
57+ libc++-dev
58+ libc++abi-dev
59+ libomp-dev
5960 libhdf5-dev
6061 liblapack-dev
6162 libopenmpi-dev
6263 openmpi-bin
6364 openmpi-common
6465 openmpi-doc
66+ pandoc
6567 python3
6668 python3-pip
67- doxygen &&
68- pip3 install myst-parser linkify-it-py &&
69- pip3 install sphinx==5.3.0 sphinx-rtd-theme
69+ python3-sphinx
70+ python3-sphinx-rtd-theme
71+ python3-nbsphinx
72+ python3-myst-parser
73+ python3-linkify-it
74+ doxygen
7075
71- - name : Install homebrew dependencies
72- if : ${{ contains(matrix.os, 'macos') }}
76+ - name : Set up virtualenv
7377 run : |
74- brew install ccache gcc@12 llvm hdf5 open-mpi openblas
7578 mkdir $HOME/.venv
76- python3 -m venv $HOME/.venv/my_python
79+ python3 -m venv --system-site-packages $HOME/.venv/my_python
7780 source $HOME/.venv/my_python/bin/activate
78- pip install mako
7981 echo "VIRTUAL_ENV=$VIRTUAL_ENV" >> $GITHUB_ENV
82+ echo "PATH=$PATH" >> $GITHUB_ENV
83+
84+ - name : Install homebrew dependencies
85+ if : ${{ contains(matrix.os, 'macos') }}
86+ run : |
87+ brew update
88+ brew install ccache gcc llvm hdf5 open-mpi openblas
89+ pip install mako
8090 echo "PATH=$(brew --prefix llvm)/bin:$(brew --prefix gcc)/bin:$PATH" >> $GITHUB_ENV
91+ echo "PYTHONPATH=$(brew --prefix llvm)/lib/python3.13/site-packages" >> $GITHUB_ENV
8192
8293 - name : Add clang CXXFLAGS
8394 if : ${{ contains(matrix.cxx, 'clang') }}
You can’t perform that action at this time.
0 commit comments