-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpixi.toml
More file actions
43 lines (36 loc) · 1.95 KB
/
pixi.toml
File metadata and controls
43 lines (36 loc) · 1.95 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
[workspace]
authors = ["Seth Stadick <seth_stadick@bio-rad.com>"]
channels = [
"https://conda.modular.com/max-nightly",
"https://conda.modular.com/max",
"https://repo.prefix.dev/modular-community",
"https://prefix.dev/pixi-build-backends",
"conda-forge",
]
platforms = ["osx-arm64", "linux-64", "linux-aarch64"]
preview = ["pixi-build"]
[package]
name = "ish"
version = "1.2.2"
license = "Apache-2.0"
[package.build]
backend = { name = "pixi-build-rattler-build", version = "0.1.*" }
[tasks]
build = "pixi run mojo build -D ISH_LOG_LEVEL=info --march native -o ish main.mojo"
build_generic = "pixi run mojo build -D ISH_SIMD_TARGET=baseline -D ISH_LOG_LEVEL=info -o ish main.mojo"
debug = "pixi run mojo build -D ISH_LOG_LEVEL=debug --debug-level line-tables --march native -o ish main.mojo"
pkglib = "pixi run mojo package ./ishlib"
testlib = "pixi run mojo test tests -I . --co && pixi run mojo test tests -I ."
# Bench the gpu fun in ish using Bench
build-bench-gpu = "pixi run mojo build -D ISH_LOG_LEVEL=timing --march native -I . -o bench-gpu ./benchmarking/ish_bench_aligner_gpu_only.mojo"
# Bench any algorithm using internal timings
build-bench = "pixi run mojo build -D SIMD_MOD=1 --march native -I . -o ish-aligner ./benchmarking/ish_bench_aligner.mojo"
build-bench-128 = "pixi run mojo build -D SIMD_MOD=4 --march native -I . -o ish-aligner-128 ./benchmarking/ish_bench_aligner.mojo"
build-bench-256 = "pixi run mojo build -D SIMD_MOD=2 --march native -I . -o ish-aligner-256 ./benchmarking/ish_bench_aligner.mojo"
build-bench-512 = "pixi run mojo build -D SIMD_MOD=1 --march native -I . -o ish-aligner-512 ./benchmarking/ish_bench_aligner.mojo"
build-bench-gpu-all = "pixi run mojo build -D ISH_LOG_LEVEL=timing -D SIMD_MOD=1 --march native -I . -o ish-aligner-gpu ./benchmarking/ish_bench_aligner_gpu.mojo"
[dependencies]
modular = "=25.4.0"
rattler-build = "*"
# extramojo = { git = "https://github.com/ExtraMojo/ExtraMojo.git" }
extramojo = "=0.15.0"