Skip to content

Commit

Permalink
tooling: Do not build vtd plugin by default
Browse files Browse the repository at this point in the history
  • Loading branch information
cassava committed Feb 2, 2021
1 parent 24af5fe commit c1d8c19
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions Makefile.all
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,10 @@ CONAN_OPTIONS :=
WITH_ENGINE := 1

## WITH_VTD
## Usage: make WITH_VTD=0 <targets>
## Default: 1
## Usage: make WITH_VTD=1 <targets>
## Default: 0
##
WITH_VTD := 1
WITH_VTD := 0

## BUILD_TESTS
## Usage: make BUILD_TESTS=0 package
Expand Down Expand Up @@ -139,9 +139,9 @@ ALL_PKGS := $(filter-out engine, ${ALL_PKGS})
CONAN_OPTIONS += -o cloe:with_engine=False
endif

ifeq (${WITH_VTD},0)
ifeq (${WITH_VTD},1)
ALL_PKGS := $(filter-out plugins/vtd, ${ALL_PKGS})
CONAN_OPTIONS += -o cloe:with_vtd=False
CONAN_OPTIONS += -o cloe:with_vtd=True
endif

ifeq (${BUILD_TESTS},0)
Expand Down
2 changes: 1 addition & 1 deletion conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class Cloe(ConanFile):
default_options = {
"test": True,
"pedantic": True,
"with_vtd": True,
"with_vtd": False,
"with_engine": True,
}
generators = "cmake"
Expand Down

0 comments on commit c1d8c19

Please sign in to comment.