File tree Expand file tree Collapse file tree 6 files changed +16
-7
lines changed Expand file tree Collapse file tree 6 files changed +16
-7
lines changed Original file line number Diff line number Diff line change @@ -35,15 +35,24 @@ PROFILE ?= release
35
35
# they run for different forks.
36
36
FORKS =phase0 altair merge
37
37
38
+ # Extra flags for Cargo
39
+ CARGO_INSTALL_EXTRA_FLAGS? =
40
+
38
41
# Builds the Lighthouse binary in release (optimized).
39
42
#
40
43
# Binaries will most likely be found in `./target/release`
41
44
install :
42
- cargo install --path lighthouse --force --locked --features " $( FEATURES) " --profile " $( PROFILE) "
45
+ cargo install --path lighthouse --force --locked \
46
+ --features " $( FEATURES) " \
47
+ --profile " $( PROFILE) " \
48
+ $(CARGO_INSTALL_EXTRA_FLAGS )
43
49
44
50
# Builds the lcli binary in release (optimized).
45
51
install-lcli :
46
- cargo install --path lcli --force --locked --features " $( FEATURES) " --profile " $( PROFILE) "
52
+ cargo install --path lcli --force --locked \
53
+ --features " $( FEATURES) " \
54
+ --profile " $( PROFILE) " \
55
+ $(CARGO_INSTALL_EXTRA_FLAGS )
47
56
48
57
# The following commands use `cross` to build a cross-compile.
49
58
#
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ clap_utils = { path = "../common/clap_utils" }
36
36
hyper = " 0.14.4"
37
37
lighthouse_version = { path = " ../common/lighthouse_version" }
38
38
hex = " 0.4.2"
39
- slasher = { path = " ../slasher" }
39
+ slasher = { path = " ../slasher" , default-features = false }
40
40
monitoring_api = { path = " ../common/monitoring_api" }
41
41
sensitive_url = { path = " ../common/sensitive_url" }
42
42
http_api = { path = " http_api" }
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ fork_choice = { path = "../../consensus/fork_choice" }
53
53
task_executor = { path = " ../../common/task_executor" }
54
54
derivative = " 2.1.1"
55
55
itertools = " 0.10.0"
56
- slasher = { path = " ../../slasher" }
56
+ slasher = { path = " ../../slasher" , default-features = false }
57
57
eth2 = { path = " ../../common/eth2" }
58
58
strum = { version = " 0.24.0" , features = [" derive" ] }
59
59
logging = { path = " ../../common/logging" }
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ time = "0.3.5"
35
35
directory = {path = " ../../common/directory" }
36
36
http_api = { path = " ../http_api" }
37
37
http_metrics = { path = " ../http_metrics" }
38
- slasher = { path = " ../../slasher" }
38
+ slasher = { path = " ../../slasher" , default-features = false }
39
39
slasher_service = { path = " ../../slasher/service" }
40
40
monitoring_api = {path = " ../../common/monitoring_api" }
41
41
execution_layer = { path = " ../execution_layer" }
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ malloc_utils = { path = "../common/malloc_utils" }
55
55
directory = { path = " ../common/directory" }
56
56
unused_port = { path = " ../common/unused_port" }
57
57
database_manager = { path = " ../database_manager" }
58
- slasher = { path = " ../slasher" }
58
+ slasher = { path = " ../slasher" , default-features = false }
59
59
60
60
[dev-dependencies ]
61
61
tempfile = " 3.1.0"
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ beacon_chain = { path = "../../beacon_node/beacon_chain" }
9
9
directory = { path = " ../../common/directory" }
10
10
lighthouse_network = { path = " ../../beacon_node/lighthouse_network" }
11
11
network = { path = " ../../beacon_node/network" }
12
- slasher = { path = " .." }
12
+ slasher = { path = " .." , default-features = false }
13
13
slog = " 2.5.2"
14
14
slot_clock = { path = " ../../common/slot_clock" }
15
15
state_processing = { path = " ../../consensus/state_processing" }
You can’t perform that action at this time.
0 commit comments