Skip to content

Commit 8c64e27

Browse files
committed
make: extract compile tags
Add a new COMPILE_TAGS environment variable that includes all the basic set of tags that lit requires in order for compilation to succeed. Let LND_RELEASE_TAGS then extend these flags. This will let us expand the testing_flags.mk file later without needing to use the LND_RELEASE_TAGS variable there.
1 parent ebdc6ef commit 8c64e27

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

make/compile_flags.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
COMPILE_TAGS = autopilotrpc signrpc walletrpc chainrpc invoicesrpc watchtowerrpc neutrinorpc peersrpc

make/release_flags.mk

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
include make/compile_flags.mk
2+
13
# Create a globally-consistent, build-input identifier.
24
VERSION_TAG = $(shell git describe --abbrev=40 --broken --tags --always)
35
VERSION_CHECK = @$(call print, "Building master with date version tag")
@@ -21,7 +23,7 @@ linux-armv7 \
2123
linux-arm64 \
2224
windows-amd64
2325

24-
LND_RELEASE_TAGS = litd autopilotrpc signrpc walletrpc chainrpc invoicesrpc watchtowerrpc neutrinorpc peersrpc
26+
LND_RELEASE_TAGS = litd $(COMPILE_TAGS)
2527

2628
# By default we will build all systems. But with the 'sys' tag, a specific
2729
# system can be specified. This is useful to release for a subset of

make/testing_flags.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ITEST_FLAGS =
1+
ITEST_FLAGS =
22

33
# Define the integration test.run filter if the icase argument was provided.
44
ifneq ($(icase),)

0 commit comments

Comments
 (0)