Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
common_bench
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
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
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
EIC
benchmarks
common_bench
Merge requests
!6
fixed logic in build_detector
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
fixed logic in build_detector
det_build_checks
into
master
Overview
0
Commits
1
Pipelines
0
Changes
1
Merged
Whitney Armstrong
requested to merge
det_build_checks
into
master
4 years ago
Overview
0
Commits
1
Pipelines
0
Changes
1
Expand
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
d2b57247
1 commit,
4 years ago
1 file
+
4
−
4
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
bin/build_detector.sh
+
4
−
4
Options
@@ -47,7 +47,7 @@ fi
echo
"Fetching
${
BEAMLINE_CONFIG
}
"
echo
"git clone -b
${
BEAMLINE_CONFIG_VERSION
}
--depth 1 https://eicweb.phy.anl.gov/EIC/detectors/
${
BEAMLINE_CONFIG
}
.git"
git clone
-b
${
BEAMLINE_CONFIG_VERSION
}
--depth
1 https://eicweb.phy.anl.gov/EIC/detectors/
${
BEAMLINE_CONFIG
}
.git
[[
!
"
$?
"
==
"0"
]]
||
exit
1
[[
"
$?
"
==
"0"
]]
||
exit
1
rm
-rf
"
${
BEAMLINE_CONFIG
}
/.git"
## We also need an up-to-date copy of the accelerator. For now this is done
@@ -58,15 +58,15 @@ if [ -d accelerator ]; then
fi
echo
"Fetching accelerator"
git clone
--depth
1 https://eicweb.phy.anl.gov/EIC/detectors/accelerator.git
[[
!
"
$?
"
==
"0"
]]
||
exit
1
[[
"
$?
"
==
"0"
]]
||
exit
1
rm
-rf
"accelerator/.git"
## Now symlink the accelerator definition into the detector definition
echo
"Linking accelerator definition into detector definition"
ln
-s
-f
${
DETECTOR_PREFIX
}
/accelerator/eic
${
DETECTOR_PATH
}
/eic
[[
!
"
$?
"
==
"0"
]]
||
exit
1
[[
"
$?
"
==
"0"
]]
||
exit
1
ln
-s
-f
${
DETECTOR_PREFIX
}
/
${
BEAMLINE_CONFIG
}
/
${
BEAMLINE_CONFIG
}
${
DETECTOR_PATH
}
/
${
BEAMLINE_CONFIG
}
[[
!
"
$?
"
==
"0"
]]
||
exit
1
[[
"
$?
"
==
"0"
]]
||
exit
1
popd
## =============================================================================
Loading