-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathpixi.toml
More file actions
48 lines (42 loc) · 1.24 KB
/
pixi.toml
File metadata and controls
48 lines (42 loc) · 1.24 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
36
37
38
39
40
41
42
43
44
45
46
47
48
[workspace]
channels = ["conda-forge"]
name = "PeriDEM"
platforms = ["linux-64", "osx-arm64"]
version = "v0.2.1"
[tasks.build]
description = "Build PeriDEM from local source"
cmd = """
cmake -DEnable_Documentation=OFF \
-DEnable_Tests=ON \
-DEnable_High_Load_Tests=OFF \
-DDisable_Docker_MPI_Tests=ON \
-DVTK_DIR="$CONDA_PREFIX" \
-DMETIS_DIR="$CONDA_PREFIX" \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX="$CONDA_PREFIX" \
-S . \
-B build && \
cmake build -LH && \
cmake --build build --clean-first --parallel "$(nproc --ignore=2)"
"""
[tasks.ctest]
description = "Run tests with ctest"
cmd = "ctest --verbose --test-dir ./build/"
[tasks.install-peridem]
description = "Install PeriDEM under CMAKE_INSTALL_PREFIX defined in build"
cmd = "cmake --install build"
[tasks.start]
description = "Build and install PeriDEM"
depends-on = ["build", "install-peridem"]
[tasks.test]
description = "Do a clean build of PeriDEM and run ctest tests"
depends-on = ["build", "ctest"]
[dependencies]
cxx-compiler = ">=1.11.0,<2"
cmake = ">=4.2.1,<5"
make = ">=4.4.1,<5"
vtk = ">=9.5.2,<10"
yaml-cpp = ">=0.8.0,<0.9"
metis = ">=5.2.1,<6"
openmpi = ">=5.0.8,<6"
gmsh = ">=4.15.0,<5" # for tests