-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Procstat build: support compilation in lbv2 build system.
1. Use specific container for compiling Procstat without being depend on dockerize. 2. Add lbv2 for lbyaml v2 support. This change coexist with current build system (dockerize and lb-build) Signed-off-by: Maor Vanmak <[email protected]>
- Loading branch information
Showing
2 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
include $(WORKSPACE_TOP)/common/Makefile.env | ||
|
||
all: build | ||
|
||
LBGO_CONTAINER_VERSION = $(shell component-tool version --repo=lb_containers --type=$(BUILD_TYPE) lbcpp) | ||
|
||
build: | ||
run_in_container -i lbcpp:${LBGO_CONTAINER_VERSION} -c "${MAKE} -f Makefile.lb $@" | ||
|
||
install: | ||
run_in_container -i lbcpp:latest -c "${MAKE} -f Makefile.lb $@" | ||
|
||
checkin: | ||
run_in_container -i lbcpp:latest -c "${MAKE} -f Makefile.lb $@" | ||
|
||
clean: | ||
run_in_container -i lbcpp:latest -c "${MAKE} -f Makefile.lb $@" | ||
|
||
.PHONY: clean checkin build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
procstat: | ||
procstat: | ||
build: | ||
- make -f Makefile.container all | ||
install: | ||
- make -f Makefile.container install | ||
deps: | ||
- file://src |