-
Notifications
You must be signed in to change notification settings - Fork 30
/
.cirrus.yml
27 lines (26 loc) · 1009 Bytes
/
.cirrus.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
macos_instance:
image: ghcr.io/cirruslabs/macos-ventura-base:latest
macos_M1_native_apple_silicon_py310_task:
script: |
brew install python@3.10
brew install python-tk@3.10
/opt/homebrew/bin/python3.10 -m venv ~/py_310
source ~/py_310/bin/activate
python -m pip install --upgrade pip
python -m pip install --upgrade pytest lxml matplotlib packaging humanize
brew install automake libtool binutils
mkdir -p /tmp/darshan_install
export DARSHAN_INSTALL_PATH=/tmp/darshan_install
export DYLD_FALLBACK_LIBRARY_PATH=/tmp/darshan_install/lib
git submodule update --init
./prepare.sh
cd darshan-util
mkdir build && cd build
../configure --prefix=$DARSHAN_INSTALL_PATH --enable-shared --enable-apxc-mod --enable-apmpi-mod
make
make install
cd ../pydarshan
python -m pip install .
python -m pip install git+https://github.com/darshan-hpc/darshan-logs.git@main
cd /tmp
python -m pytest -W error::FutureWarning --pyargs darshan