Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Installer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
Show more breadcrumbs
cms-analysis
General
DasAnalysisSystem
Installer
Commits
2f21ff5b
Commit
2f21ff5b
authored
1 year ago
by
Louis Moureaux
Browse files
Options
Downloads
Patches
Plain Diff
Add general install script
parent
cb81b8e6
No related branches found
No related tags found
1 merge request
!11
CMakeLists to fetch TUnfold and ProtoDarwin
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+1
-5
1 addition, 5 deletions
.gitlab-ci.yml
install.sh
+33
-0
33 additions, 0 deletions
install.sh
with
34 additions
and
5 deletions
.gitlab-ci.yml
+
1
−
5
View file @
2f21ff5b
...
...
@@ -21,9 +21,5 @@ cmake:
script
:
-
source /cvmfs/cms.cern.ch/cmsset_default.sh
-
yum install -y cmake3 python3 zsh
-
scram project CMSSW_12_4_0
-
cd CMSSW_12_4_0; eval $(scram runtime -sh); cd -
-
(cd CMSSW_12_4_0; scram setup $OLDPWD/libgit2.xml)
-
cmake3 -B build
-
cmake3 --build build -v -j$(nproc)
-
./install.sh
This diff is collapsed.
Click to expand it.
install.sh
0 → 100755
+
33
−
0
View file @
2f21ff5b
#!/bin/sh
set
-e
BASE_DIR
=
$PWD
# Get a CMSSW if we don't have one
if
[
-z
$CMSSW_BASE
]
;
then
cmsrel CMSSW_12_4_0
cd
CMSSW_12_4_0
cmsenv
fi
# Set up libgit2
cd
$CMSSW_BASE
scram setup ../libgit2.xml
# Download and build supporting tools
cd
$BASE_DIR
cmake3
-B
.build
cmake3
--build
.build
-j
$(
nproc
)
cmake3
--build
.build
--target
install
-j8
# Set up scram tools in CMSSW
cd
$CMSSW_BASE
for
xml
in
$BASE_DIR
/tools/etc/
*
.xml
;
do
scram setup
$xml
done
# Get Core
cd
$CMSSW_BASE
/src
[
!
-d
Core
]
&&
git clone https://gitlab.cern.ch/DasAnalysisSystem/Core.git
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment