- We will now be building a 64-bit version of the awips2-notification rpm - Updated qpid-devel in nativeLib to match the version of qpid we are using - Added 64-bit libraries to thrift and qpid in nativeLib - The notification executables are now built from source out of nativeLib - Updated build-notification.sh for compatibility with automated builds Change-Id: I4d014e64a014010caa6a89e17ff3edb44000d396 Former-commit-id:7fb4e993e6
[formerly660a9b615f
] [formerly7fb4e993e6
[formerly660a9b615f
] [formerlyf39489c44c
[formerly 0c579409321e8be6ea9bf2c98c44769fcdf28dcc]]] Former-commit-id:f39489c44c
Former-commit-id:8579adf932
[formerlyc44c4bd061
] Former-commit-id:f256955776
56 lines
1.1 KiB
Bash
56 lines
1.1 KiB
Bash
#!/bin/bash
|
|
|
|
# Ensure that we have the required access.
|
|
touch /awips2/python/lib/python2.7/site-packages
|
|
RC=$?
|
|
if [ ${RC} -ne 0 ]; then
|
|
exit 1
|
|
fi
|
|
touch /awips2/python/bin
|
|
RC=$?
|
|
if [ ${RC} -ne 0 ]; then
|
|
exit 1
|
|
fi
|
|
|
|
# this script will install the python setuptools site-package on a build machine. it will be used
|
|
# by pupynere and/or shapely
|
|
|
|
# contants
|
|
__SETUP_TOOLS=setuptools
|
|
__SETUP_TOOLS_TAR=setuptools-0.6c11.tar.gz
|
|
__SETUP_TOOLS_UNTARRED=setuptools-0.6c11
|
|
|
|
# arguments:
|
|
# 1) workspace
|
|
# 2) python packages directory
|
|
# 3) build root - temporary directory
|
|
|
|
WORKSPACE="${1}"
|
|
PYTHON_PACKAGES="${2}"
|
|
BUILD_ROOT="${3}"
|
|
|
|
cp -v ${PYTHON_PACKAGES}/${__SETUP_TOOLS}/${__SETUP_TOOLS_TAR} \
|
|
${BUILD_ROOT}
|
|
if [ $? -ne 0 ]; then
|
|
exit 1
|
|
fi
|
|
pushd . > /dev/null 2>&1
|
|
cd ${BUILD_ROOT}
|
|
tar -xvf ${__SETUP_TOOLS_TAR}
|
|
if [ $? -ne 0 ]; then
|
|
exit 1
|
|
fi
|
|
cd ${__SETUP_TOOLS_UNTARRED}
|
|
source /etc/profile.d/awips2Python.sh
|
|
if [ $? -ne 0 ]; then
|
|
exit 1
|
|
fi
|
|
/awips2/python/bin/python setup.py build
|
|
if [ $? -ne 0 ]; then
|
|
exit 1
|
|
fi
|
|
/awips2/python/bin/python setup.py install
|
|
if [ $? -ne 0 ]; then
|
|
exit 1
|
|
fi
|
|
popd > /dev/null 2>&1
|