Skip to content

Commit 1996523

Browse files
committed
wb | make: isolate profile names from Makefile
1 parent 0e11bf9 commit 1996523

File tree

2 files changed

+27
-59
lines changed

2 files changed

+27
-59
lines changed

Makefile

Lines changed: 4 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -74,65 +74,10 @@ ps: ## Plain-text list of profiles
7474
##
7575
## Profile-based cluster shells (autogenerated targets)
7676
##
77-
PROFILES_BASE := default default-p2p plutus plutus-secp-ecdsa plutus-secp-schnorr oldtracing idle tracer-only
78-
PROFILES_FAST := fast fast-solo fast-p2p fast-plutus fast-notracer fast-oldtracing faststartup-24M
79-
PROFILES_CI_TEST := ci-test ci-test-p2p ci-test-plutus ci-test-notracer ci-test-rtview ci-test-dense10 ci-test-hydra
80-
PROFILES_CI_BENCH := ci-bench ci-bench-p2p ci-bench-plutus ci-bench-plutus-secp-ecdsa ci-bench-plutus-secp-schnorr ci-bench-notracer ci-bench-rtview ci-bench-lmdb ci-bench-drep
81-
PROFILES_CI_BENCH += ci-bench-plutusv3-blst ci-bench-plutus24
82-
PROFILES_TRACE_BENCH := trace-bench trace-bench-notracer trace-bench-oldtracing trace-bench-rtview
83-
PROFILES_TRACE_FULL := trace-full trace-full-rtview
84-
PROFILES_EPOCHTRANS := epoch-transition
85-
PROFILES_PLUTUSCALL := plutuscall-loop-plain plutuscall-secp-ecdsa-plain plutuscall-secp-schnorr-plain
86-
PROFILES_PLUTUSCALL += plutuscall-loop-half plutuscall-secp-ecdsa-half plutuscall-secp-schnorr-half
87-
PROFILES_PLUTUSCALL += plutuscall-loop-double plutuscall-secp-ecdsa-double plutuscall-secp-schnorr-double
88-
PROFILES_MODEL := model-value model-secp-ecdsa-plain model-secp-ecdsa-half model-secp-ecdsa-double
89-
PROFILES_MODEL += model-value-test
90-
PROFILES_10 := 10 10-p2p 10-plutus 10-notracer
91-
PROFILES_6 := 6-dense 6-dense-rtsprof 6-dense-1h 6-dense-1h-rtsprof 6-dense-4h 6-dense-4h-rtsprof
92-
PROFILES_FORGE_STRESS := forge-stress forge-stress-p2p forge-stress-plutus forge-stress-plutus-solo forge-stress-notracer forge-stress-large forge-stress-solo forge-stress-solo-xs
93-
PROFILES_FORGE_STRESS_PRE := forge-stress-pre forge-stress-pre-plutus forge-stress-pre-notracer forge-stress-pre-solo forge-stress-pre-solo-xl forge-stress-pre-solo-xs
94-
PROFILES_FORGE_STRESS_RTS := forge-stress-pre-rtsA4m forge-stress-pre-rtsA64m forge-stress-pre-rtsN3 forge-stress-pre-rtsA4mN3 forge-stress-pre-rtsA64mN3 forge-stress-pre-rtsxn
95-
PROFILES_CHAINSYNC := chainsync-early-byron chainsync-early-byron-notracer chainsync-early-byron-oldtracing
96-
PROFILES_CHAINSYNC += chainsync-early-alonzo chainsync-early-alonzo-notracer chainsync-early-alonzo-oldtracing chainsync-early-alonzo-p2p
97-
PROFILES_VENDOR := dish dish-plutus dish-10M dish-10M-plutus
98-
# The dedicated P&T Nomad cluster on AWS
99-
# Cloud version of "default", "ci-test" and "ci-bench" plus value (52+explorer)
100-
# Not all local profiles are compatible or tested (yet) with a cloud runs
101-
PROFILES_NOMAD_PERF := default-nomadperf ci-test-nomadperf ci-bench-nomadperf value-nomadperf oldtracing-nomadperf ci-test-oldtracing-nomadperf ci-bench-oldtracing-nomadperf value-oldtracing-nomadperf
102-
PROFILES_NOMAD_PERF += plutus-nomadperf plutus24-nomadperf fast-nomadperf latency-nomadperf
103-
PROFILES_NOMAD_PERF += plutusv3-blst-nomadperf plutusv3-blst-half-nomadperf plutusv3-blst-double-nomadperf
104-
PROFILES_NOMAD_PERF += plutus-secp-ecdsa-nomadperf plutus-secp-schnorr-nomadperf
105-
PROFILES_NOMAD_PERF_DREP := value-drep1k-nomadperf value-drep2k-nomadperf value-drep10k-nomadperf value-drep100k-nomadperf
106-
PROFILES_NOMAD_PERF_DREP += plutus-drep1k-nomadperf plutus-drep2k-nomadperf plutus-drep10k-nomadperf plutus-drep100k-nomadperf
107-
PROFILES_NOMAD_PERF_NOP2P := default-nomadperf-nop2p oldtracing-nomadperf-nop2p ci-test-nomadperf-nop2p ci-bench-nomadperf-nop2p
108-
PROFILES_NOMAD_PERF_NOP2P += value-nomadperf-nop2p value-oldtracing-nomadperf-nop2p plutus-nomadperf-nop2p fast-nomadperf-nop2p
109-
PROFILES_NOMAD_PERFSSD := value-nomadperfssd fast-nomadperfssd latency-nomadperfssd
110-
# single node profiles on the NomadSSD cluster on AWS
111-
PROFILES_UTXOSCALE_SOLO := utxoscale-solo-24M64G-nomadperfssd utxoscale-solo-12M64G-nomadperfssd utxoscale-solo-12M16G-nomadperfssd
112-
113-
LOCAL_PROFILES += $(PROFILES_BASE)
114-
LOCAL_PROFILES += $(PROFILES_FAST)
115-
LOCAL_PROFILES += $(PROFILES_CI_TEST)
116-
LOCAL_PROFILES += $(PROFILES_CI_BENCH)
117-
LOCAL_PROFILES += $(PROFILES_TRACE_BENCH)
118-
LOCAL_PROFILES += $(PROFILES_TRACE_FULL)
119-
LOCAL_PROFILES += $(PROFILES_EPOCHTRANS)
120-
LOCAL_PROFILES += $(PROFILES_PLUTUSCALL)
121-
LOCAL_PROFILES += $(PROFILES_MODEL)
122-
LOCAL_PROFILES += $(PROFILES_10)
123-
LOCAL_PROFILES += $(PROFILES_FORGE_STRESS)
124-
LOCAL_PROFILES += $(PROFILES_FORGE_STRESS_PRE)
125-
LOCAL_PROFILES += $(PROFILES_FORGE_STRESS_RTS)
126-
LOCAL_PROFILES += $(PROFILES_CHAINSYNC)
127-
LOCAL_PROFILES += $(PROFILES_VENDOR)
128-
CLOUD_PROFILES += $(PROFILES_NOMAD_PERF)
129-
CLOUD_PROFILES += $(PROFILES_NOMAD_PERF_DREP)
130-
CLOUD_PROFILES += $(PROFILES_NOMAD_PERF_NOP2P)
131-
CLOUD_PROFILES += $(PROFILES_NOMAD_PERFSSD)
132-
CLOUD_PROFILES += $(PROFILES_UTXOSCALE_SOLO)
133-
134-
135-
## Note: to enable a shell for a profile, just add its name (one of names from 'make ps') to SHELL_PROFILES
77+
## wb_profiles.mk is autogenerated by `cardano-profile lib-make`. It contains all known profile families and flavours (minus the era, backend and shell type suffixes).
78+
## After adding or removing profile definitions in `cardano-profile`, you'll probably want to also commit a regenerated version of that file.
79+
##
80+
include wb_profiles.mk
13681

13782
$(eval $(call define_profile_targets, $(LOCAL_PROFILES)))
13883
$(eval $(call define_profile_targets_nomadcloud,$(CLOUD_PROFILES)))

wb_profiles.mk

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
PROFILES_EMPTY := fast-solo fast fast-p2p fast-oldtracing fast-notracer fast-plutus ci-test ci-test-rtview ci-test-notracer ci-test-p2p ci-test-plutus trace-bench trace-bench-rtview trace-bench-oldtracing trace-bench-notracer trace-full trace-full-rtview default default-p2p oldtracing plutus plutus-secp-ecdsa plutus-secp-schnorr epoch-transition
2+
PROFILES_MINIATURE := ci-bench ci-bench-lmdb ci-bench-rtview ci-bench-p2p ci-bench-notracer ci-bench-drep ci-bench-plutus ci-bench-plutus24 ci-bench-plutus-secp-ecdsa ci-bench-plutus-secp-schnorr ci-bench-plutusv3-blst 10 10-p2p 10-notracer 10-plutus 6-dense 6-dense-rtsprof 6-dense-1h 6-dense-1h-rtsprof 6-dense-4h 6-dense-4h-rtsprof
3+
PROFILES_FORGE_STRESS := forge-stress-solo-xs forge-stress-solo forge-stress-plutus-solo forge-stress-pre-solo-xs forge-stress-pre-solo forge-stress-pre-solo-xl forge-stress forge-stress-notracer forge-stress-p2p forge-stress-plutus forge-stress-pre forge-stress-pre-rtsA4m forge-stress-pre-rtsA64m forge-stress-pre-rtsN3 forge-stress-pre-rtsA4mN3 forge-stress-pre-rtsA64mN3 forge-stress-pre-rtsxn forge-stress-pre-notracer forge-stress-pre-plutus forge-stress-large
4+
PROFILES_PLUTUSCALL := plutuscall-loop-plain plutuscall-loop-half plutuscall-loop-double plutuscall-secp-ecdsa-plain plutuscall-secp-ecdsa-half plutuscall-secp-ecdsa-double plutuscall-secp-schnorr-plain plutuscall-secp-schnorr-half plutuscall-secp-schnorr-double
5+
PROFILES_MODEL := model-secp-ecdsa-double model-secp-ecdsa-half model-secp-ecdsa-plain model-value model-value-test
6+
PROFILES_K3 := k3-3ep-5kTx-10000kU-1300kD-64kbs-fixed-loaded k3-3ep-9kTx-10000kU-1300kD-64kbs-5tps-fixed-loaded k3-3ep-18kTx-10000kU-1300kD-64kbs-10tps-fixed-loaded k3-3ep-22kTx-10000kU-1300kD-64kbs-fixed-loaded
7+
PROFILES_SCENARIOS := chainsync-early-byron chainsync-early-byron-notracer chainsync-early-byron-oldtracing chainsync-early-alonzo chainsync-early-alonzo-notracer chainsync-early-alonzo-p2p chainsync-early-alonzo-oldtracing devops idle latency-nomadperf latency-nomadperfssd tracer-only
8+
PROFILES_LEGACY := ci-test-dense10 dish dish-10M dish-plutus dish-10M-plutus
9+
PROFILES_SCALING := faststartup-24M
10+
PROFILES_NOMAD_PERF := value-nomadperf value-nomadperf-nop2p value-drep1k-nomadperf value-drep2k-nomadperf value-drep10k-nomadperf value-drep100k-nomadperf value-oldtracing-nomadperf value-oldtracing-nomadperf-nop2p value-volt-nomadperf plutus-nomadperf plutus-nomadperf-nop2p plutus-drep1k-nomadperf plutus-drep2k-nomadperf plutus-drep10k-nomadperf plutus-drep100k-nomadperf plutus24-nomadperf plutus-secp-ecdsa-nomadperf plutus-secp-schnorr-nomadperf plutusv3-blst-nomadperf plutusv3-blst-double-nomadperf plutusv3-blst-half-nomadperf plutus-volt-nomadperf fast-nomadperf fast-nomadperf-nop2p ci-test-nomadperf ci-test-nomadperf-nop2p ci-test-oldtracing-nomadperf default-nomadperf-nop2p default-nomadperf oldtracing-nomadperf oldtracing-nomadperf-nop2p ci-bench-nomadperf ci-bench-nomadperf-nop2p ci-bench-oldtracing-nomadperf
11+
PROFILES_NOMAD_PERFSSD := utxoscale-solo-12M16G-nomadperfssd utxoscale-solo-12M64G-nomadperfssd utxoscale-solo-24M64G-nomadperfssd fast-nomadperfssd value-nomadperfssd
12+
13+
LOCAL_PROFILES += $(PROFILES_EMPTY)
14+
LOCAL_PROFILES += $(PROFILES_MINIATURE)
15+
LOCAL_PROFILES += $(PROFILES_FORGE_STRESS)
16+
LOCAL_PROFILES += $(PROFILES_PLUTUSCALL)
17+
LOCAL_PROFILES += $(PROFILES_MODEL)
18+
LOCAL_PROFILES += $(PROFILES_K3)
19+
LOCAL_PROFILES += $(PROFILES_SCENARIOS)
20+
LOCAL_PROFILES += $(PROFILES_LEGACY)
21+
LOCAL_PROFILES += $(PROFILES_SCALING)
22+
CLOUD_PROFILES += $(PROFILES_NOMAD_PERF)
23+
CLOUD_PROFILES += $(PROFILES_NOMAD_PERFSSD)

0 commit comments

Comments
 (0)