The expiration time for new job artifacts in CI/CD pipelines is now 30 days (GitLab default). Previously generated artifacts in already completed jobs will not be affected by the change. The latest artifacts for all jobs in the latest successful pipelines will be kept. More information: https://gitlab.lrz.de/help/user/admin_area/settings/continuous_integration.html#default-artifacts-expiration

config.mk 1.27 KB
Newer Older
1
DCDBBASEPATH ?= $(realpath $(dir $(lastword $(MAKEFILE_LIST)))/..)
Michael Ott's avatar
Michael Ott committed
2
3
DCDBDEPSPATH ?= $(DCDBBASEPATH)/deps
DCDBDEPLOYPATH ?= $(DCDBBASEPATH)/install
4

5
# dcdbpusher plugins to be built
6
PLUGINS = sysfs ipmi pdu bacnet snmp procfs tester gpfsmon msr rest
7

8
# data analytics plugins to be built
9
OPERATORS = aggregator smoothing regressor classifier clustering cssignatures job_aggregator testeroperator filesink smucngperf persystsql coolingcontrol healthchecker
10

Michael Ott's avatar
Michael Ott committed
11
DEFAULT_VERSION = 0.4
12
GIT_VERSION = $(shell git describe --tags 2>/dev/null|sed -e 's/-\([0-9]*\)/.\1/'|tr -d '\n'; if ! git diff-index --quiet HEAD --; then echo "~"; fi)
13
VERSION := $(if $(GIT_VERSION),$(GIT_VERSION),$(DEFAULT_VERSION))
Michael Ott's avatar
Michael Ott committed
14

15
16
17
18
19
CXXFLAGS = -std=c++11 -O2 -g -Wall -fmessage-length=0 \
           -DBOOST_DATE_TIME_POSIX_TIME_STD_CONFIG \
           -DBOOST_LOG_DYN_LINK -DVERSION=\"$(VERSION)\" \
           -Wno-unused-function \
           -Wno-unused-variable
20
21
FULL_CC = $(shell which $(CC))
FULL_CXX = $(shell which $(CXX))
22

Michael Ott's avatar
Michael Ott committed
23
OS = $(shell uname -s)
24
25
MAKETHREADS ?= $(if $(findstring $(shell uname),Darwin),$(shell sysctl machdep.cpu.thread_count | cut -b 27-),\
               $(if $(findstring $(shell uname),Linux),$(shell cat /proc/cpuinfo | grep processor | wc -l),4))
Alessio Netti's avatar
Alessio Netti committed
26
27
28
29
               
ifneq ($(OS),Darwin)
	PLUGINS += perfevent
endif
30