From dfb94f4b3920fd7e726758126ea6a7b624483b21 Mon Sep 17 00:00:00 2001 From: Jeongseok Lee Date: Wed, 13 Mar 2024 19:57:16 -0700 Subject: [PATCH] [pixi] Make numpy as dep --- pixi.toml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/pixi.toml b/pixi.toml index f8952e3d5b820..da47056fcbc84 100644 --- a/pixi.toml +++ b/pixi.toml @@ -31,6 +31,7 @@ pagmo = ">=2.19.0,<2.20" glfw = ">=3.4,<4" glew = ">=2.1.0,<2.2" pyopengl = ">=3.1.6,<3.2" +numpy = ">=1.26.4,<1.27" [build-dependencies] cmake = "3.22.*" @@ -42,7 +43,6 @@ setuptools = ">=69.1.1,<69.2" black = ">=24.2.0,<24.3" isort = ">=5.13.2,<5.14" pip = ">=24.0,<25" -numpy = ">=1.26.4,<1.27" [target.linux-64.dependencies] freeglut = ">=3.2.2,<3.3" @@ -59,6 +59,9 @@ build_dartpy = { cmd = "cmake --build build -j --target dartpy", depends_on = [ test = { cmd = "ctest --test-dir build --rerun-failed --output-on-failure", depends_on = [ "build", ] } +test_dartpy = { cmd = "cmake --build build -j4 --target pytest", depends_on = [ + "configure", +] } test_all = { cmd = "cmake --build build -j4 --target ALL", depends_on = [ "configure", ] } @@ -77,6 +80,9 @@ build_dartpy = { cmd = "cmake --build build -j --target dartpy", depends_on = [ test = { cmd = "ctest --test-dir build --rerun-failed --output-on-failure", depends_on = [ "build", ] } +test_dartpy = { cmd = "cmake --build build -j4 --target pytest", depends_on = [ + "configure", +] } test_all = { cmd = "cmake --build build -j4 --target ALL", depends_on = [ "configure", ] } @@ -95,6 +101,9 @@ build_dartpy = { cmd = "cmake --build build -j --target dartpy", depends_on = [ test = { cmd = "ctest --test-dir build --rerun-failed --output-on-failure", depends_on = [ "build", ] } +test_dartpy = { cmd = "cmake --build build -j4 --target pytest", depends_on = [ + "configure", +] } test_all = { cmd = "cmake --build build -j4 --target ALL", depends_on = [ "configure", ] } @@ -116,6 +125,9 @@ build_dartpy = { cmd = "cmake --build build -j --target dartpy", depends_on = [ test = { cmd = "ctest --test-dir build --build-config Release --rerun-failed --output-on-failure", depends_on = [ "build", ] } +test_dartpy = { cmd = "cmake --build build --config Release -j4 --target pytest", depends_on = [ + "configure", +] } test_all = { cmd = "cmake --build build --config Release -j4 --target ALL", depends_on = [ "configure", ] }