Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
LbScripts
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
LHCb Core Software
LbScripts
Merge requests
!12
You need to sign in or sign up before continuing.
add make target 'ganga-input-sandbox' to lb-dev satellite projects
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
add make target 'ganga-input-sandbox' to lb-dev satellite projects
clemenci/LbScripts:LBCORE-1010
into
master
Overview
0
Commits
6
Changes
Merged
Marco Clemencic
requested to merge
clemenci/LbScripts:LBCORE-1010
into
master
9 years ago
Overview
0
Commits
6
Changes
-
Expand
Fixes
LBCORE-1010
.
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
d8160441
6 commits,
9 years ago
+
106
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
Search (e.g. *.vue) (Ctrl+P)
LbConfiguration/data/Makefile-cmt.mk
+
23
−
0
Options
@@ -123,3 +123,26 @@ purge: clean_docs
ifneq ($(container),)
-include $(container)/cmt/Custom.mk
endif
################################################################################
# Ganga integration
################################################################################
ganga-input-sandbox:
$(MAKE)
$(RM) -r build.$(CMTCONFIG)/ganga/$(cmt_project)
for s in cmt CMakeLists.txt $(packages) InstallArea/$(CMTCONFIG) ; do \
if [ -d $$s ] ; then \
mkdir -p build.$(CMTCONFIG)/ganga/$(cmt_project)/$$s && \
cp -a $$s/. build.$(CMTCONFIG)/ganga/$(cmt_project)/$$s/. ; \
elif [ -f $$s ] ; then \
mkdir -p build.$(CMTCONFIG)/ganga/$(cmt_project)/$$(dirname $$s) && \
cp -a $$s build.$(CMTCONFIG)/ganga/$(cmt_project)/$$s ; \
fi ; \
done
echo '#!/bin/sh' > build.$(CMTCONFIG)/ganga/run
echo 'exec lb-run --user-area $$(cd $$(dirname $$0) && pwd) $(subst _, ,$(cmt_project)) "$$@"' >> build.$(CMTCONFIG)/ganga/run
chmod a+x build.$(CMTCONFIG)/ganga/run
tar -c -z -f build.$(CMTCONFIG)/ganga/input-sandbox.tgz -C build.$(CMTCONFIG)/ganga \
--exclude .svn --exclude .git --exclude '*.[ao]' --exclude manifest.xml \
run $(cmt_project)
$(RM) -r build.$(CMTCONFIG)/ganga/$(cmt_project)
Loading