-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjustfile
More file actions
28 lines (22 loc) · 907 Bytes
/
justfile
File metadata and controls
28 lines (22 loc) · 907 Bytes
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
set shell := ["bash", "-cu"]
# Delete all cmake-build-
clear:
rm -rf cmake-build-*
# Baseline (no AVX) build
baseline:
cmake -S . -B cmake-build-baseline -DCMAKE_BUILD_TYPE=Release
cmake --build cmake-build-baseline --target protal -- -j$(nproc)
# AVX2 build
avx2:
cmake -S . -B cmake-build-avx2 -DCMAKE_BUILD_TYPE=Release
cmake --build cmake-build-avx2 --target protal_avx2 -- -j$(nproc)
# Baseline simulate_metagenomes build
simulate:
cmake -S . -B cmake-build-baseline -DCMAKE_BUILD_TYPE=Release
cmake --build cmake-build-baseline --target simulate_metagenomes -- -j$(nproc)
# Static baseline build (protal_static target)
static:
cmake -S . -B cmake-build-static -DCMAKE_BUILD_TYPE=Release
cmake --build cmake-build-static --target protal_static -- -j$(nproc)
# Build all targets, baseline avx2 static and simulate
build-all: clear baseline avx2 static simulate