Skip to content

Commit

Permalink
[build-only] add Ceph-flavoured build to cernbox-revad make target
Browse files Browse the repository at this point in the history
  • Loading branch information
glpatcern committed Nov 5, 2024
1 parent 1a51ab7 commit c71d5a1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

# Ignore builds
cmd/revad/revad
cmd/revad/revad-ceph
cmd/revad/revad.pid
cmd/reva/reva
cmd/revad/main/main
Expand Down
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,12 @@ gaia:

.PHONY: cernbox-revad
cernbox-revad: gaia
gaia build --with github.com/cernbox/reva-plugins --with github.com/cs3org/reva=$(shell pwd) -o ./cmd/revad/revad
gaia build --with github.com/cernbox/reva-plugins --with github.com/cs3org/reva=$(shell pwd) --debug -o ./cmd/revad/revad
gaia build --tags ceph --with github.com/cernbox/reva-plugins --with github.com/cs3org/reva=$(shell pwd) --debug -o ./cmd/revad/revad-ceph

.PHONY: revad-ceph
revad-ceph:
go build -ldflags "$(BUILD_FLAGS)" -tags ceph -o ./cmd/revad/revad ./cmd/revad/main
go build -ldflags "$(BUILD_FLAGS)" -tags ceph --debug -o ./cmd/revad/revad ./cmd/revad/main

.PHONY: reva
reva:
Expand Down

0 comments on commit c71d5a1

Please sign in to comment.