Commit 7201e142 authored by Michael Ott's avatar Michael Ott

Don't fetch the OPA libraries when they are already installed via RPM. Add the...

Don't fetch the OPA libraries when they are already installed via RPM. Add the OPA plugin to the list of plugins to be built by default.
parent 78c87c65
......@@ -3,7 +3,7 @@ DCDBDEPSPATH ?= $(DCDBBASEPATH)/deps
DCDBDEPLOYPATH ?= $(DCDBBASEPATH)/install
# dcdbpusher plugins to be built
PLUGINS = procfs pdu sysfs ipmi bacnet snmp gpfsmon msr tester
PLUGINS = sysfs perfevent ipmi pdu bacnet snmp procfs tester gpfsmon opa msr
# data analytics plugins to be built
OPERATORS = aggregator smoothing regressor clustering job_aggregator testeroperator filesink smucngperf persystsql
......
......@@ -4,6 +4,10 @@ CXXFLAGS += -DBOOST_NETWORK_ENABLE_HTTPS \
-I../common/include \
-I$(DCDBDEPLOYPATH)/include
ifneq (,$(wildcard /usr/include/opamgt))
CXXFLAGS += -I/usr/include/opamgt
endif
LIBS = -L$(DCDBDEPLOYPATH)/lib/ \
-ldl \
-lmosquitto \
......
......@@ -72,7 +72,9 @@ ifneq (,$(findstring snmp,$(PLUGINS)))
DISTFILESPATHS += net-snmp-$(NET-SNMP_VERSION)
endif
ifneq (,$(findstring opa,$(PLUGINS)))
ifneq (,$(findstring not installed, $(shell rpm -q opa-libopamgt-devel)))
DISTFILESPATHS += IntelOPA-Basic.SLES124-x86_64.$(OPASTACK_VERSION)
endif
endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment