forked from pmem/pmdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NVML: support compilation in lbv2 build system.
1. Use specific container for compile nvme instead dockerize. 2. Add lbv2 for lbyaml v2 support. 3. Fix some errors with newer GCC shutoff flags and change defaults This change coexist with current build system (dockerize and lb-build) Signed-off-by: Maor Vanmak <[email protected]>
- Loading branch information
Showing
3 changed files
with
25 additions
and
3 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,9 @@ | ||
include $(WORKSPACE_TOP)/lb_containers/Makefile.container | ||
|
||
|
||
TARGETS := $(shell make -f Makefile.lb list_flat) | ||
|
||
$(TARGETS): proto_container | ||
${Q}run_in_container -i lbproto:${LBPROTO_CONTAINER_VERSION} -- ${MAKE} -f Makefile.lb 'EXTRA_CFLAGS=-Wno-maybe-uninitialized -Wno-switch-outside-range -fPIC -Wno-array-parameter' $@ -j10 | ||
|
||
.PHONY: $(TARGETS) |
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
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 @@ | ||
nvml: | ||
pmem-sdk: | ||
build: | ||
- make -f Makefile.container all | ||
install: | ||
- make -f Makefile.container install | ||
deps: | ||
- file://. |