@@ -4,11 +4,9 @@ name = "PeriDEM"
44platforms = [" linux-64" , " osx-arm64" ]
55version = " v0.2.1"
66
7- # Currently can't install, only build?
8- # c.f. https://github.com/prashjha/PeriDEM/blob/8f73cbd12fbf8d483bb46670661f9f2641d03c37/README.md?plain=1#L264
97[tasks .build ]
8+ description = " Build PeriDEM from local source"
109cmd = """
11- rm -rf build && \
1210cmake -DEnable_Documentation=OFF \
1311 -DEnable_Tests=ON \
1412 -DEnable_High_Load_Tests=OFF \
@@ -20,16 +18,31 @@ cmake -DEnable_Documentation=OFF \
2018 -S . \
2119 -B build && \
2220cmake build -LH && \
23- cmake --build build --clean-first --parallel "$(nproc --ignore=2)" && \
24- ctest --verbose --test-dir build/
21+ cmake --build build --clean-first --parallel "$(nproc --ignore=2)"
2522"""
2623
24+ [tasks .ctest ]
25+ description = " Run tests with ctest"
26+ cmd = " ctest --verbose --test-dir ./build/"
27+
28+ [tasks .install-peridem ]
29+ description = " Install PeriDEM under CMAKE_INSTALL_PREFIX defined in build"
30+ cmd = " cmake --install build"
31+
32+ [tasks .start ]
33+ description = " Build and install PeriDEM"
34+ depends-on = [" build" , " install-peridem" ]
35+
36+ [tasks .test ]
37+ description = " Do a clean build of PeriDEM and run ctest tests"
38+ depends-on = [" build" , " ctest" ]
39+
2740[dependencies ]
2841cxx-compiler = " >=1.11.0,<2"
29- cmake = " <4 "
42+ cmake = " >=4.2.1,<5 "
3043make = " >=4.4.1,<5"
3144vtk = " >=9.5.2,<10"
3245yaml-cpp = " >=0.8.0,<0.9"
3346metis = " >=5.2.1,<6"
3447openmpi = " >=5.0.8,<6"
35- gmsh = " >=4.13.1 ,<5" # for tests
48+ gmsh = " >=4.15.0 ,<5" # for tests
0 commit comments