File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 85
85
if : matrix.os == 'macos-12'
86
86
run : |
87
87
brew install ccache gcc@12 llvm boost fftw hdf5 open-mpi openblas
88
- pip3 install mako numpy scipy mpi4py
89
- pip3 install -r requirements.txt
88
+ mkdir $HOME/.venv
89
+ python3 -m venv $HOME/.venv/my_python
90
+ source $HOME/.venv/my_python/bin/activate
91
+ pip install mako numpy scipy mpi4py
92
+ pip install -r requirements.txt
93
+ echo "VIRTUAL_ENV=$VIRTUAL_ENV" >> $GITHUB_ENV
94
+ echo "PATH=$PATH" >> $GITHUB_ENV
90
95
91
96
- name : add clang cxxflags
92
97
if : ${{ contains(matrix.cxx, 'clang') }}
Original file line number Diff line number Diff line change @@ -89,6 +89,7 @@ for (int i = 0; i < osxPlatforms.size(); i++) {
89
89
" LD_LIBRARY_PATH=$hdf5 /lib" ,
90
90
" PYTHONPATH=$installDir /lib/python3.9/site-packages" ,
91
91
" CMAKE_PREFIX_PATH=$venv /lib/cmake/triqs" ,
92
+ " VIRTUAL_ENV=$venv " ,
92
93
" OMP_NUM_THREADS=2" ]) {
93
94
deleteDir()
94
95
/* note: this is installing into the parent (triqs) venv (install dir), which is thus shared among apps and so not be completely safe */
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ if(PythonSupport OR (NOT IS_SUBPROJECT AND Build_Documentation))
52
52
external_dependency (Cpp2Py
53
53
GIT_REPO https://github.com/TRIQS/cpp2py
54
54
VERSION 2.0
55
- GIT_TAG master
55
+ GIT_TAG unstable
56
56
BUILD_ALWAYS
57
57
EXCLUDE_FROM_ALL
58
58
)
You can’t perform that action at this time.
0 commit comments