-
Notifications
You must be signed in to change notification settings - Fork 90
Expand file tree
/
Copy pathpixi.toml
More file actions
35 lines (27 loc) · 1.09 KB
/
pixi.toml
File metadata and controls
35 lines (27 loc) · 1.09 KB
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
28
29
30
31
32
33
34
35
[workspace]
name = "pestpp"
channels = ["conda-forge"]
platforms = ["win-64", "linux-64", "linux-aarch64", "osx-arm64", "osx-64"]
[dependencies]
# pestpp build dependencies
cmake = "*"
ninja = "*"
# test python dependencies
flopy = "*"
pyemu = "*"
[tasks]
# install
install-modflow = "get-modflow --repo executables $CONDA_PREFIX/bin"
# debug build
configure-debug = { cmd = "cmake -G Ninja -S . -B _build -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_COMPILER_WORKS=1", depends-on = ["clean-build"], outputs = ["_build"] }
build-debug = { cmd = "cmake --build _build", depends-on = ["configure-debug"] }
# release build
configure = { cmd = "cmake -G Ninja -S . -B _build -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER_WORKS=1", depends-on = ["clean-build"], outputs = ["_build"] }
build-release = { cmd = "cmake --build _build", depends-on = ["configure"] }
# generic build
build = { cmd = "cmake --build _build", inputs=["_build"] }
# clean build files
clean = { cmd = "cmake --build _build -t clean"}
clean-build = { cmd = "rm -rf _build" }
# test build
test = { cmd = "python basic_tests.py", cwd = "benchmarks" }