File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11TOP = ../..
2- DEPLOY_CONF := $(TOP ) /configure/DEPLOY .conf
2+ BUILD_CONF := $(TOP ) /configure/BUILD .conf
33PVACCESS_CONSTANTS_CPP_TEMPLATE := $(TOP ) /src/pvaccess/pvaccess.constants.cpp.template
44SPHINX_CONF := $(TOP ) /documentation/sphinx/conf.py
55
@@ -25,7 +25,7 @@ USR_LDFLAGS += $(USR_LDFLAGS_$(T_A))
2525# Set our library install location; /$(T_A) will be added
2626INSTALL_LOCATION_LIB = $(INSTALL_LOCATION ) /lib/python/$(PYTHON_VERSION )
2727
28- PVA_PY_VERSION =$(shell cat $(DEPLOY_CONF ) | grep PVA_PY_VERSION | cut -f2 -d'=')
28+ PVA_PY_VERSION =$(shell cat $(BUILD_CONF ) | grep PVA_PY_VERSION | cut -f2 -d'=')
2929ifeq ($(PVA_PY_VERSION ) ,)
3030 PVA_PY_VERSION =$(shell git rev-parse --short HEAD)
3131endif
@@ -180,7 +180,7 @@ include $(TOP)/configure/RULES
180180# ----------------------------------------
181181# ADD RULES AFTER THIS LINE
182182
183- pvaccess.constants.cpp : $(PVACCESS_CONSTANTS_CPP_TEMPLATE ) $(DEPLOY_CONF )
183+ pvaccess.constants.cpp : $(PVACCESS_CONSTANTS_CPP_TEMPLATE ) $(BUILD_CONF )
184184 eval " cat ${PVACCESS_CONSTANTS_CPP_TEMPLATE} | sed 's?PVA_PY_VERSION?${PVA_PY_VERSION} ?g' > pvaccess.constants.cpp"
185185 eval " cat ${SPHINX_CONF} | sed 's?version =.*?version = \" ${PVA_PY_VERSION} \" ?g' | sed 's?release =.*?release = \" ${PVA_PY_VERSION} \" ?g' > ${SPHINX_CONF} .2 && mv ${SPHINX_CONF} .2 ${SPHINX_CONF} "
186186
Original file line number Diff line number Diff line change 11
22TOP = ../../..
3- DEPLOY_CONF = $(TOP ) /configure/DEPLOY .conf
4- EPICS_BASE_VERSION =$(shell cat $(DEPLOY_CONF ) | grep EPICS_BASE_VERSION | cut -f2 -d'=')
5- BUILD_NUMBER =$(shell cat $(DEPLOY_CONF ) | grep BUILD_NUMBER | cut -f2 -d'=')
3+ BUILD_CONF = $(TOP ) /configure/BUILD .conf
4+ EPICS_BASE_VERSION =$(shell cat $(BUILD_CONF ) | grep EPICS_BASE_VERSION | cut -f2 -d'=')
5+ BUILD_NUMBER =$(shell cat $(BUILD_CONF ) | grep BUILD_NUMBER | cut -f2 -d'=')
66PACKAGE = epics-base
77CONDA_LIST_FLAGS := $(CONDA_ENV_FLAGS )
88CONDA_ENV_FLAGS += -y
Original file line number Diff line number Diff line change 11
22TOP = ../../..
3- DEPLOY_CONF = $(TOP ) /configure/DEPLOY .conf
4- BOOST_VERSION =$(shell cat $(DEPLOY_CONF ) | grep BOOST_VERSION | cut -f2 -d'=')
3+ BUILD_CONF = $(TOP ) /configure/BUILD .conf
4+ BOOST_VERSION =$(shell cat $(BUILD_CONF ) | grep BOOST_VERSION | cut -f2 -d'=')
55BOOST_DOWNLOAD_VERSION =$(shell echo $(BOOST_VERSION ) | sed 's?\.?_?g')
6- BUILD_NUMBER =$(shell cat $(DEPLOY_CONF ) | grep BUILD_NUMBER | cut -f2 -d'=')
6+ BUILD_NUMBER =$(shell cat $(BUILD_CONF ) | grep BUILD_NUMBER | cut -f2 -d'=')
77PACKAGE = pvapy-boost
88CONDA_ENV_FLAGS += -y
99
Original file line number Diff line number Diff line change 11
22TOP = ../../..
3- DEPLOY_CONF = $(TOP ) /configure/DEPLOY .conf
4- PVA_PY_VERSION =$(shell cat $(DEPLOY_CONF ) | grep PVA_PY_VERSION | cut -f2 -d'=')
5- EPICS_BASE_VERSION =$(shell cat $(DEPLOY_CONF ) | grep EPICS_BASE_VERSION | cut -f2 -d'=')
6- BOOST_VERSION =$(shell cat $(DEPLOY_CONF ) | grep BOOST_VERSION | cut -f2 -d'=')
3+ BUILD_CONF = $(TOP ) /configure/BUILD .conf
4+ PVA_PY_VERSION =$(shell cat $(BUILD_CONF ) | grep PVA_PY_VERSION | cut -f2 -d'=')
5+ EPICS_BASE_VERSION =$(shell cat $(BUILD_CONF ) | grep EPICS_BASE_VERSION | cut -f2 -d'=')
6+ BOOST_VERSION =$(shell cat $(BUILD_CONF ) | grep BOOST_VERSION | cut -f2 -d'=')
77ifeq ($(PVA_PY_VERSION ) ,)
88 PVA_PY_VERSION =$(shell git rev-parse --short HEAD)
99endif
10- PVA_PY_GIT_VERSION =$(shell cat $(DEPLOY_CONF ) | grep PVA_PY_GIT_VERSION | cut -f2 -d'=')
11- BUILD_NUMBER =$(shell cat $(DEPLOY_CONF ) | grep BUILD_NUMBER | cut -f2 -d'=')
10+ PVA_PY_GIT_VERSION =$(shell cat $(BUILD_CONF ) | grep PVA_PY_GIT_VERSION | cut -f2 -d'=')
11+ BUILD_NUMBER =$(shell cat $(BUILD_CONF ) | grep BUILD_NUMBER | cut -f2 -d'=')
1212PVA_PY_YAML_TEMPLATE ?= meta.yaml.template
1313
1414PACKAGE = pvapy
Original file line number Diff line number Diff line change 11
22TOP = ../../..
3- DEPLOY_CONF = $(TOP ) /configure/DEPLOY .conf
4- EPICS_BASE_VERSION =$(shell cat $(DEPLOY_CONF ) | grep EPICS_BASE_VERSION | cut -f2 -d'=')
3+ BUILD_CONF = $(TOP ) /configure/BUILD .conf
4+ EPICS_BASE_VERSION =$(shell cat $(BUILD_CONF ) | grep EPICS_BASE_VERSION | cut -f2 -d'=')
55
66default : install
77
Original file line number Diff line number Diff line change @@ -8,12 +8,12 @@ PREFIX=${PREFIX:-$DEFAULT_PREFIX}
88BUILD_DIR=$TOP /build
99EPICS_BUILD_DIR=$BUILD_DIR /epics
1010EPICS_EXECUTABLES=" caget cainfo camonitor caput caRepeater p2p pvcall pvget pvinfo pvlist pvmonitor pvput softIoc softIocPVA"
11- DEPLOY_CONF =$TOP /../../../configure/DEPLOY .conf
12- if [ ! -f $DEPLOY_CONF ]; then
13- echo " $DEPLOY_CONF not found"
11+ BUILD_CONF =$TOP /../../../configure/BUILD .conf
12+ if [ ! -f $BUILD_CONF ]; then
13+ echo " $BUILD_CONF not found"
1414 exit 1
1515fi
16- . $DEPLOY_CONF
16+ . $BUILD_CONF
1717
1818OPT_EPICS_DIR=opt/epics-${EPICS_BASE_VERSION}
1919LOCAL_EPICS_DIR=$PREFIX /$OPT_EPICS_DIR
Original file line number Diff line number Diff line change 11
22TOP = ../../..
3- DEPLOY_CONF = $(TOP ) /configure/DEPLOY .conf
4- BOOST_VERSION =$(shell cat $(DEPLOY_CONF ) | grep BOOST_VERSION | cut -f2 -d'=')
3+ BUILD_CONF = $(TOP ) /configure/BUILD .conf
4+ BOOST_VERSION =$(shell cat $(BUILD_CONF ) | grep BOOST_VERSION | cut -f2 -d'=')
55BOOST_DOWNLOAD_VERSION =$(shell echo $(BOOST_VERSION ) | sed 's?\.?_?g')
66
77default : install
Original file line number Diff line number Diff line change @@ -7,12 +7,12 @@ DEFAULT_PREFIX=$TOP/.. && cd $DEFAULT_PREFIX && DEFAULT_PREFIX=`pwd`
77PREFIX=${PREFIX:- $DEFAULT_PREFIX }
88BUILD_DIR=$TOP /build
99BOOST_HOST_ARCH=` uname | tr [A-Z] [a-z]` -` uname -m`
10- DEPLOY_CONF =$TOP /../../../configure/DEPLOY .conf
11- if [ ! -f $DEPLOY_CONF ]; then
12- echo " $DEPLOY_CONF not found"
10+ BUILD_CONF =$TOP /../../../configure/BUILD .conf
11+ if [ ! -f $BUILD_CONF ]; then
12+ echo " $BUILD_CONF not found"
1313 exit 1
1414fi
15- . $DEPLOY_CONF
15+ . $BUILD_CONF
1616
1717OPT_BOOST_DIR=opt/boost-python-${BOOST_VERSION}
1818LOCAL_BOOST_DIR=$PREFIX /$OPT_BOOST_DIR
Original file line number Diff line number Diff line change 11
22TOP = ../../..
3- DEPLOY_CONF = ${CURDIR}/../../../configure/DEPLOY .conf
4- PVA_PY_VERSION =$(shell cat $(DEPLOY_CONF ) | grep PVA_PY_VERSION | cut -f2 -d'=')
3+ BUILD_CONF = ${CURDIR}/../../../configure/BUILD .conf
4+ PVA_PY_VERSION =$(shell cat $(BUILD_CONF ) | grep PVA_PY_VERSION | cut -f2 -d'=')
55
66default : install
77
Original file line number Diff line number Diff line change @@ -6,12 +6,12 @@ TOP=`dirname $0` && cd $TOP && TOP=`pwd`
66DEFAULT_PREFIX=$TOP /.. && cd $DEFAULT_PREFIX && DEFAULT_PREFIX=` pwd`
77PREFIX=${PREFIX:- $DEFAULT_PREFIX }
88BUILD_DIR=$TOP /build
9- DEPLOY_CONF =$TOP /../../../configure/DEPLOY .conf
10- if [ ! -f $DEPLOY_CONF ]; then
11- echo " $DEPLOY_CONF not found"
9+ BUILD_CONF =$TOP /../../../configure/BUILD .conf
10+ if [ ! -f $BUILD_CONF ]; then
11+ echo " $BUILD_CONF not found"
1212 exit 1
1313fi
14- . $DEPLOY_CONF
14+ . $BUILD_CONF
1515
1616if [ -z " $PVA_PY_VERSION " ]; then
1717 PVA_PY_VERSION=local
You can’t perform that action at this time.
0 commit comments