Commit 507b43de authored by cpomies's avatar cpomies
Browse files

Reorganisation of jenkins script

parent ef81aa8b
......@@ -10,89 +10,10 @@
# or submit itself to any jurisdiction. #
###############################################################################
# Clean LD_LIBRARY_PATH of /gcc/ entries
# (see comment on issue LBCORE-109 http://cern.ch/go/PLQ7)
export LD_LIBRARY_PATH=$(echo $LD_LIBRARY_PATH | tr : \\n | grep -v /gcc/ | tr \\n :)
utils=$(dirname $0)/utils
# Set common environment
set_config=1
. $(dirname $0)/common.sh
. lbn-rsync-get-config
lbn-rsync-get-sources
exit 0
day=$(date +%a)
timestamp=$(date -I)
deploybase=$(dirname /data/${ARTIFACTS_DIR})
# special hack to get a dev version of the CMake configuration files
export CMAKE_PREFIX_PATH=/afs/cern.ch/work/m/marcocle/workspace/LbScripts/LbUtils/cmake:$CMAKE_PREFIX_PATH
# ensure that the distcc lock directory exists
if [ -n "$DISTCC_DIR" ] ; then
mkdir -pv $DISTCC_DIR
fi
# ensure that Coverity is on the PATH
if [ -e /build/coverity/static-analysis/bin ] ; then
export PATH=/build/coverity/static-analysis/bin:/build/coverity:$PATH
fi
config_file=${ARTIFACTS_DIR}/slot-config.json
if [ "${os_label}" = "coverity" ] ; then
coverity_opt='--coverity'
# Coverity builds to not need to trigger tests
with_tests=no
fi
if [ "$JENKINS_MOCK" != "true" ] ; then
# create moving symlinks in the artifacts deployment directory (ASAP)
# (ignore errors, see <https://its.cern.ch/jira/browse/LBCORE-153>)
ssh buildlhcb.cern.ch "mkdir -pv ${deploybase} ; ln -svfT ${slot_build_id} ${deploybase}/${day} ; ln -svfT ${slot_build_id} ${deploybase}/${timestamp}" || true
submit_opt="--submit --flavour ${flavour}"
rsync_opt="--rsync-dest buildlhcb.cern.ch:${deploybase}/${slot_build_id}"
fi
# Notify the system of the builds that need to be tested.
if [ "${with_tests}" != "no" ] ; then
lbn-list-expected-builds --slot-build-id ${slot_build_id} --build-id "${slot}.${slot_build_id}" --artifacts-dir "${ARTIFACTS_DIR}" --platforms "${platform}" -o expected_builds.json ${config_file}
if [ "$JENKINS_MOCK" != "true" ] ; then
datadir=${JENKINS_HOME}/nightlies/${flavour}/running_builds
scp expected_builds.json buildlhcb.cern.ch:${datadir}/expected_builds.${slot}.${slot_build_id}.${platform}.json
fi
fi
time lbn-build --no-distcc --verbose --jobs 8 --timeout 18000 --build-id "${slot}.${slot_build_id}" --artifacts-dir "${ARTIFACTS_DIR}" --clean ${submit_opt} ${rsync_opt} ${coverity_opt} ${config_file}
if [ "${flavour}" = "release" ] ; then
# Prepare the RPMs
time lbn-rpm --verbose --build-id "${slot}.${slot_build_id}" --artifacts-dir "${ARTIFACTS_DIR}" ${config_file} --platform "${platform}"
fi
if [ "$JENKINS_MOCK" != "true" ] ; then
rsync --archive --whole-file --partial-dir=.rsync-partial.$(hostname).$$ --delay-updates --rsh=ssh "${ARTIFACTS_DIR}/" "buildlhcb.cern.ch:${deploybase}/${slot_build_id}"
fi
# if possible and requested, generate glimpse indexes and upload them to buildlhcb
if [ "${flavour}" = "release" -o -n "${run_indexer}" ] ; then
if which glimpseindex &> /dev/null ; then
# clean up the build dir before indexing
lbn-build --verbose --clean --build-id "${slot}.${slot_build_id}" --artifacts-dir "${ARTIFACTS_DIR}" --clean ${config_file}
time lbn-index --verbose --build-id "${slot}.${slot_build_id}" --artifacts-dir "${ARTIFACTS_DIR}" ${config_file}
if [ "${flavour}" = "release" ] ; then
time lbn-rpm --glimpse --verbose --build-id "${slot}.${slot_build_id}" --artifacts-dir "${ARTIFACTS_DIR}" ${config_file}
fi
if [ "$JENKINS_MOCK" != "true" ] ; then
rsync --archive --whole-file --partial-dir=.rsync-partial.$(hostname).$$ --delay-updates --rsh=ssh "${ARTIFACTS_DIR}/" "buildlhcb.cern.ch:${deploybase}/${slot_build_id}"
fi
fi
fi
if [ "$JENKINS_MOCK" != "true" ] ; then
# Clean up
rm -rf ${ARTIFACTS_DIR} build
fi
. $utils/set_common.sh --build
. $utils/get_config_file.sh
. $utils/get_sources.sh
. $utils/build_slot.sh
......@@ -10,63 +10,13 @@
# or submit itself to any jurisdiction. #
###############################################################################
# Set common environment
. $(dirname $0)/common.sh
if [ "$JENKINS_MOCK" != "true" -o ! -e configs ] ; then
# Get the slot configuration files from Subversion
lbn-get-configs
fi
if [ "${slot}" = "lhcb-release" ] ; then
if [ -z "${build_tool}" ] ; then
build_tool=cmt
fi
if [ -n "${platforms}" ] ; then
lbn-gen-release-config --build-tool="${build_tool}" --platforms="${platforms}" -o configs/${slot}.json --packages "${packages_list}" ${projects_list}
else
lbn-gen-release-config --build-tool="${build_tool}" -o configs/${slot}.json --packages "${packages_list}" ${projects_list}
fi
fi
# this allow to bypass the configurations in SVN
if [ -e slot-config.json ] ; then
cp -f -v slot-config.json configs/${slot}.json
fi
if [ -e configs/${slot}.json ] ; then
config_file=configs/${slot}.json
else
config_file=configs/configuration.xml#${slot}
fi
if [ "$JENKINS_MOCK" != "true" ] ; then
submit_opt="--submit --flavour ${flavour}"
fi
utils=$(dirname $0)/utils
if [ "${flavour}" = "release" ] ; then
ignore_error_opt=--no-ignore-checkout-errors
fi
lbn-checkout --verbose --build-id "${slot}.${slot_build_id}" --artifacts-dir "${ARTIFACTS_DIR}" ${submit_opt} ${ignore_error_opt} ${config_file}
# We need to copy the configuration at the end because
# StachCkeckout.py cleans the artifacts before starting
cp ${config_file%%#*} ${ARTIFACTS_DIR}
cp ${env_log} ${ARTIFACTS_DIR}
echo "$BUILD_URL" > ${ARTIFACTS_DIR}/checkout_job_url.txt
if [ "${flavour}" = "release" ] ; then
# Now preparing the RPM with the project source
time lbn-rpm --shared --verbose --build-id "${slot}.${slot_build_id}" --artifacts-dir "${ARTIFACTS_DIR}" ${config_file}
if [ -n "${packages_list}" ] ; then
time lbn-rpm --datapkg --verbose --build-id "${slot}.${slot_build_id}" --artifacts-dir "${ARTIFACTS_DIR}" ${config_file}
fi
fi
lbn-rsync-push-artifact
# Set common environment
. $utils/set_common.sh
. $utils/get_configs_folder.sh
. $utils/checkout_slot.sh
. $utils/push_artifact.sh
. $utils/check_preconditions.sh
lbn-check-preconditions --verbose ${config_file}
# Cleaning up
rm -rf tmp
......@@ -13,12 +13,9 @@
# hack because of a bug with non-writable home (this script is run by tomcat)
export HOME=$PWD
# Set common environment
. $(dirname $0)/common.sh
if [ "$JENKINS_MOCK" != "true" -o ! -e configs ] ; then
# Get the slot configuration files from Subversion
lbn-get-configs
fi
utils=$(dirname $0)/utils
lbn-enabled-slots --verbose 'slot-params-{0}.txt' ${slots}
\ No newline at end of file
# Set common environment
. ${utils}/set_common.sh
. ${utils}/get_configs_folder.sh
. ${utils}/extract_enabled_slots.sh
\ No newline at end of file
......@@ -10,12 +10,9 @@
# or submit itself to any jurisdiction. #
###############################################################################
# hack because of a bug with non-writable home (this script is run by tomcat)
export HOME=$PWD
utils=$(dirname $0)/utils
# Set common environment
. $(dirname $0)/common.sh
. lbn-rsync-get-config
lbn-preconditions --verbose ${config_file}
. $utils/set_common.sh
. $utils/get_config_file.sh
. $utils/execute_preconditions.sh
#!/bin/bash
###############################################################################
# (c) Copyright 2013 CERN #
# #
# This software is distributed under the terms of the GNU General Public #
# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING". #
# #
# In applying this licence, CERN does not waive the privileges and immunities #
# granted to it by virtue of its status as an Intergovernmental Organization #
# or submit itself to any jurisdiction. #
###############################################################################
if [ "$SET_COMMON" != "true" -o "$GET_CONFIG_FILE" != "true" -o "$GET_SOURCES" != "true" -o "$SET_SPECIAL_CONFIG" != "true" ] ; then
echo "ERROR : $0 need SET_COMMON, SET_SPECIAL_CONFIG, GET_SOURCES and GET_CONFIG_FILE set with true"
exit 1
fi
export LD_LIBRARY_PATH=$(echo $LD_LIBRARY_PATH | tr : \\n | grep -v /gcc/ | tr \\n :)
day=$(date +%a)
timestamp=$(date -I)
deploybase=$(dirname /data/${ARTIFACTS_DIR})
# special hack to get a dev version of the CMake configuration files
export CMAKE_PREFIX_PATH=/afs/cern.ch/work/m/marcocle/workspace/LbScripts/LbUtils/cmake:$CMAKE_PREFIX_PATH
# ensure that the distcc lock directory exists
if [ -n "$DISTCC_DIR" ] ; then
mkdir -pv $DISTCC_DIR
fi
# ensure that Coverity is on the PATH
if [ -e /build/coverity/static-analysis/bin ] ; then
export PATH=/build/coverity/static-analysis/bin:/build/coverity:$PATH
fi
config_file=${ARTIFACTS_DIR}/slot-config.json
if [ "${os_label}" = "coverity" ] ; then
coverity_opt='--coverity'
# Coverity builds to not need to trigger tests
with_tests=no
fi
if [ "$JENKINS_MOCK" != "true" ] ; then
# create moving symlinks in the artifacts deployment directory (ASAP)
# (ignore errors, see <https://its.cern.ch/jira/browse/LBCORE-153>)
ssh buildlhcb.cern.ch "mkdir -pv ${deploybase} ; ln -svfT ${slot_build_id} ${deploybase}/${day} ; ln -svfT ${slot_build_id} ${deploybase}/${timestamp}" || true
submit_opt="--submit --flavour ${flavour}"
rsync_opt="--rsync-dest buildlhcb.cern.ch:${deploybase}/${slot_build_id}"
fi
# Notify the system of the builds that need to be tested.
if [ "${with_tests}" != "no" ] ; then
lbn-list-expected-builds --slot-build-id ${slot_build_id} --build-id "${slot}.${slot_build_id}" --artifacts-dir "${ARTIFACTS_DIR}" --platforms "${platform}" -o expected_builds.json ${config_file}
if [ "$JENKINS_MOCK" != "true" ] ; then
datadir=${JENKINS_HOME}/nightlies/${flavour}/running_builds
scp expected_builds.json buildlhcb.cern.ch:${datadir}/expected_builds.${slot}.${slot_build_id}.${platform}.json
fi
fi
time lbn-build --no-distcc --verbose --jobs 8 --timeout 18000 --build-id "${slot}.${slot_build_id}" --artifacts-dir "${ARTIFACTS_DIR}" --clean ${submit_opt} ${rsync_opt} ${coverity_opt} ${config_file}
if [ "${flavour}" = "release" ] ; then
# Prepare the RPMs
time lbn-rpm --verbose --build-id "${slot}.${slot_build_id}" --artifacts-dir "${ARTIFACTS_DIR}" ${config_file} --platform "${platform}"
fi
if [ "$JENKINS_MOCK" != "true" ] ; then
rsync --archive --whole-file --partial-dir=.rsync-partial.$(hostname).$$ --delay-updates --rsh=ssh "${ARTIFACTS_DIR}/" "buildlhcb.cern.ch:${deploybase}/${slot_build_id}"
fi
# if possible and requested, generate glimpse indexes and upload them to buildlhcb
if [ "${flavour}" = "release" -o -n "${run_indexer}" ] ; then
if which glimpseindex &> /dev/null ; then
# clean up the build dir before indexing
lbn-build --verbose --clean --build-id "${slot}.${slot_build_id}" --artifacts-dir "${ARTIFACTS_DIR}" --clean ${config_file}
time lbn-index --verbose --build-id "${slot}.${slot_build_id}" --artifacts-dir "${ARTIFACTS_DIR}" ${config_file}
if [ "${flavour}" = "release" ] ; then
time lbn-rpm --glimpse --verbose --build-id "${slot}.${slot_build_id}" --artifacts-dir "${ARTIFACTS_DIR}" ${config_file}
fi
if [ "$JENKINS_MOCK" != "true" ] ; then
rsync --archive --whole-file --partial-dir=.rsync-partial.$(hostname).$$ --delay-updates --rsh=ssh "${ARTIFACTS_DIR}/" "buildlhcb.cern.ch:${deploybase}/${slot_build_id}"
fi
fi
fi
if [ "$JENKINS_MOCK" != "true" ] ; then
# Clean up
rm -rf ${ARTIFACTS_DIR} build
fi
#!/bin/sh
###############################################################################
# (c) Copyright 2013 CERN #
# #
# This software is distributed under the terms of the GNU General Public #
# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING". #
# #
# In applying this licence, CERN does not waive the privileges and immunities #
# granted to it by virtue of its status as an Intergovernmental Organization #
# or submit itself to any jurisdiction. #
###############################################################################
# Script to launch check_preconditions python script
if [ "$SET_COMMON" != "true" -o "$CONFIG_FILE_CHECKOUT" != "true" ] ; then
echo "ERROR : $0 need SET_COMMON and CONFIG_FILE_CHECKOUT set with true"
exit 1
fi
lbn-check-preconditions --verbose ${config_file_checkout}
\ No newline at end of file
#!/bin/sh
###############################################################################
# (c) Copyright 2013 CERN #
# #
# This software is distributed under the terms of the GNU General Public #
# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING". #
# #
# In applying this licence, CERN does not waive the privileges and immunities #
# granted to it by virtue of its status as an Intergovernmental Organization #
# or submit itself to any jurisdiction. #
###############################################################################
# Script to launch checkout python script
if [ "$SET_COMMON" != "true" -o "$GET_CONFIGS_FOLDER" != "true" ] ; then
echo "ERROR : $0 need SET_COMMON and GET_CONFIGS_FOLDER set with true"
exit 1
fi
if [ "${slot}" = "lhcb-release" ] ; then
if [ -z "${build_tool}" ] ; then
build_tool=cmt
fi
if [ -n "${platforms}" ] ; then
lbn-gen-release-config --build-tool="${build_tool}" --platforms="${platforms}" -o configs/${slot}.json --packages "${packages_list}" ${projects_list}
else
lbn-gen-release-config --build-tool="${build_tool}" -o configs/${slot}.json --packages "${packages_list}" ${projects_list}
fi
fi
# this allow to bypass the configurations in SVN
if [ -e slot-config.json ] ; then
cp -f -v slot-config.json configs/${slot}.json
fi
if [ -e configs/${slot}.json ] ; then
config_file_checkout=configs/${slot}.json
else
config_file_checkout=configs/configuration.xml#${slot}
fi
if [ "$JENKINS_MOCK" != "true" ] ; then
submit_opt="--submit --flavour ${flavour}"
fi
if [ "${flavour}" = "release" ] ; then
ignore_error_opt=--no-ignore-checkout-errors
fi
lbn-checkout --verbose --build-id "${slot}.${slot_build_id}" --artifacts-dir "${ARTIFACTS_DIR}" ${submit_opt} ${ignore_error_opt} ${config_file_checkout}
# We need to copy the configuration at the end because
# StachCkeckout.py cleans the artifacts before starting
cp ${config_file_checkout%%#*} ${ARTIFACTS_DIR}
cp ${env_log} ${ARTIFACTS_DIR}
echo "$BUILD_URL" > ${ARTIFACTS_DIR}/checkout_job_url.txt
if [ "${flavour}" = "release" ] ; then
# Now preparing the RPM with the project source
time lbn-rpm --shared --verbose --build-id "${slot}.${slot_build_id}" --artifacts-dir "${ARTIFACTS_DIR}" ${config_file_checkout}
if [ -n "${packages_list}" ] ; then
time lbn-rpm --datapkg --verbose --build-id "${slot}.${slot_build_id}" --artifacts-dir "${ARTIFACTS_DIR}" ${config_file_checkout}
fi
fi
rm -rf tmp
export config_file_checkout=${config_file_checkout}
export CONFIG_FILE_CHECKOUT=true
\ No newline at end of file
#!/bin/bash
###############################################################################
# (c) Copyright 2013 CERN #
# #
# This software is distributed under the terms of the GNU General Public #
# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING". #
# #
# In applying this licence, CERN does not waive the privileges and immunities #
# granted to it by virtue of its status as an Intergovernmental Organization #
# or submit itself to any jurisdiction. #
###############################################################################
if [ "$SET_COMMON" != "true" -o "$GET_CONFIG_FILE" != "true" ] ; then
echo "ERROR : $0 need SET_COMMON and GET_CONFIG_FILE set with true"
exit 1
fi
lbn-preconditions --verbose ${config_file}
\ No newline at end of file
#!/bin/sh
###############################################################################
# (c) Copyright 2013 CERN #
# #
# This software is distributed under the terms of the GNU General Public #
# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING". #
# #
# In applying this licence, CERN does not waive the privileges and immunities #
# granted to it by virtue of its status as an Intergovernmental Organization #
# or submit itself to any jurisdiction. #
###############################################################################
# Script to launch enabled_slots python script
if [ "$SET_COMMON" != "true" -o "$GET_CONFIGS_FOLDER" != "true" ] ; then
echo "ERROR : $0 need SET_COMMON and GET_CONFIGS_FOLDER set with true"
exit 1
fi
lbn-enabled-slots --verbose 'slot-params-{0}.txt' ${slots}
......@@ -10,10 +10,17 @@
# or submit itself to any jurisdiction. #
###############################################################################
if [ "$SET_COMMON" != "true" ] ; then
echo "ERROR : $0 need SET_COMMON set with true"
exit 1
fi
lbn-manage-rsync --verbose --get-config --source "${RSYNC_DIR}" --destination "${ARTIFACTS_DIR}"
if [ -e ${ARTIFACTS_DIR}/${slot}.json ] ; then
export config_file=${ARTIFACTS_DIR}/${slot}.json
else
export config_file=${ARTIFACTS_DIR}/configuration.xml#${slot}
fi
\ No newline at end of file
fi
export GET_CONFIG_FILE="true"
\ No newline at end of file
#!/bin/sh
###############################################################################
# (c) Copyright 2013 CERN #
# #
# This software is distributed under the terms of the GNU General Public #
# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING". #
# #
# In applying this licence, CERN does not waive the privileges and immunities #
# granted to it by virtue of its status as an Intergovernmental Organization #
# or submit itself to any jurisdiction. #
###############################################################################
# simple wrapper script to check out the current nightly slots configurations
if [ "$JENKINS_MOCK" != "true" -o ! -e configs ] ; then
# Get the slot configuration files from Subversion
lbn-get-configs
fi
export GET_CONFIGS_FOLDER=true
\ No newline at end of file
......@@ -10,4 +10,12 @@
# or submit itself to any jurisdiction. #
###############################################################################
lbn-manage-rsync --verbose --get-sources --source "${RSYNC_DIR}" --destination "${ARTIFACTS_DIR}"
\ No newline at end of file
if [ "$SET_COMMON" != "true" ] ; then
echo "ERROR : $0 need SET_COMMON set with true"
exit 1
fi
lbn-manage-rsync --verbose --get-sources --source "${RSYNC_DIR}" --destination "${ARTIFACTS_DIR}"
export GET_SOURCES="true"
\ No newline at end of file
......@@ -10,4 +10,9 @@
# or submit itself to any jurisdiction. #
###############################################################################
lbn-manage-rsync --verbose --source "${ARTIFACTS_DIR}" --destination "${RSYNC_DIR}"
if [ "$SET_COMMON" != "true" ] ; then
echo "ERROR : $0 need SET_COMMON set with true"
exit 1
fi
lbn-manage-rsync --verbose --source "${ARTIFACTS_DIR}" --destination "${RSYNC_DIR}"
\ No newline at end of file
#!/bin/bash
###############################################################################
# (c) Copyright 2013 CERN #
# #
# This software is distributed under the terms of the GNU General Public #
# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING". #
# #
# In applying this licence, CERN does not waive the privileges and immunities #
# granted to it by virtue of its status as an Intergovernmental Organization #
# or submit itself to any jurisdiction. #
###############################################################################
#
# Common set up for all the Jenkins scripts
#
special_config=false
for i in "$@" ; do
case "$i" in
"--build" )
special_config=true ;;
* )
echo "WARNING : Parameter $i unknow in $0"
esac
done
# default (backward-compatible) build flavour
if [ "${flavour}" == "" ] ; then
export flavour=nightly
fi
# initial environment seen by the Jenkins script
env_log=$(basename $0)${platform:+.}${platform}.env
printenv | sort > ${env_log}
# enforce C (POSIX) localization
export LC_ALL=C
# used by some tests to reduce the number of concurrent tests
export LHCB_NIGHTLY_MAX_THREADS=1
export ARTIFACTS_DIR=${ARTIFACTS_DIR:-artifacts/${flavour}/${slot}/${slot_build_id}}
mkdir -p ${ARTIFACTS_DIR}
export RSYNC_SERVER=${RSYNC_SERVER:-*********} # TODO
export RSYNC_WORKDIR=${RSYNC_WORKDIR:-*********} # TODO
export RSYNC_DIR=${RSYNC_DIR:-${RSYNC_SERVER}:${RSYNC_WORKDIR}/${flavour}/${slot}/${slot_build_id}}
export TMPDIR=${WORKSPACE}/tmp
mkdir -p ${TMPDIR}
cp ${env_log} ${ARTIFACTS_DIR}
echo ===================================================================
echo Worker Node: $NODE_NAME
echo Workspace: $WORKSPACE
echo Artifacts dir: $ARTIFACTS_DIR
echo ===================================================================
LbScriptsVersion=dev
# FIXME: workaround for LBCORE-769
if ( echo $platform | grep -q slc5 ) ; then
LbScriptsVersion=LBSCRIPTS_v8r3
fi
if [ "${special_config}" == "true" ] ; then
# FIXME: this is usually set by the "group login" script, but it is not
# called on lxbuild (it is needed to get the right ICC environment)
export GROUP_DIR=/afs/cern.ch/group/z5
export LOGIN_POST_SCRIPT=${GROUP_DIR}/post/login
# FIXME: LbLogin cannot handle the special CMTCONFIG "*-test"
. /afs/cern.ch/lhcb/software/releases/LBSCRIPTS/${LbScriptsVersion}/InstallArea/scripts/LbLogin.sh --no-cache -c ${platform/-test/-opt}
export CMTCONFIG=${platform}
# FIXME: path to the new gdb should be implicit in the build/run-time
# environment
# See https://its.cern.ch/jira/browse/LBCORE-151
export PATH=/afs/cern.ch/sw/lcg/external/gdb/7.6/$CMTOPT/bin:$PATH
# FIXME: we need to get the latest compilers wrappers until we release LbScripts
export PATH=/afs/cern.ch/work/m/marcocle/workspace/LbScripts/LbUtils/scripts:$PATH
else
. /afs/cern.ch/lhcb/software/releases/LBSCRIPTS/${LbScriptsVersion}/InstallArea/scripts/LbLogin.sh --no-cache
fi
# FIXME: with gcc49 we do not get the right Python with LbLogin
if (echo $CMTCONFIG | grep -q gcc49) ; then
export PATH=/afs/cern.ch/sw/lcg/releases/LCG_68/Python/2.7.6/x86_64-slc6-gcc48-opt/bin:$PATH
fi
# FIXME: on SLC5 LbScripts dev (LCG 68) does not get python (pick the system one)
if [ $(python -c 'import sys; print "%d%d" % sys.version_info[:2]') = 24 ] ; then
. SetupProject.sh LCGCMT 66 Python
fi
if klist -5 > /dev/null 2>&1 ; then
kinit -R
klist -5
fi
set -xe
. ./setup.sh
export SET_COMMON=true
if [ "${special_config}" == "true" ] ; then
export SET_SPECIAL_CONFIG=true
fi
\ No newline at end of file
Markdown is supported
0% or .